{"id":131016,"date":"2022-07-05T10:04:54","date_gmt":"2022-07-05T02:04:54","guid":{"rendered":"http:\/\/www.idc.net\/help\/131016\/"},"modified":"2022-07-05T10:04:54","modified_gmt":"2022-07-05T02:04:54","slug":"%e7%94%b5%e5%ad%90%e5%95%86%e5%8a%a1%e7%9a%84%e6%95%b0%e6%8d%ae%e5%a6%82%e4%bd%95%e5%ad%98%e5%82%a8%ef%bc%9f-%e7%94%b5%e5%95%86%e6%95%b0%e6%8d%ae%e5%ba%93%e7%bb%93%e6%9e%84-%e7%94%b5","status":"publish","type":"post","link":"https:\/\/idc.net\/help\/131016\/","title":{"rendered":"\u7535\u5b50\u5546\u52a1\u7684\u6570\u636e\u5982\u4f55\u5b58\u50a8\uff1f\u2014\u2014\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784 (\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784)"},"content":{"rendered":"<p>\u968f\u7740\u4e92\u8054\u7f51\u7684\u5feb\u901f\u53d1\u5c55\u548c\u73b0\u4ee3\u79d1\u6280\u7684\u4e0d\u65ad\u8fdb\u6b65\uff0c\u7535\u5546\u884c\u4e1a\u5df2\u7ecf\u6210\u4e3a\u4e86\u5546\u4e1a\u53d1\u5c55\u7684\u4e00\u4e2a\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u7535\u5b50\u5546\u52a1\u5e73\u53f0\u7684\u6570\u636e\u5206\u6790\u548c\u5904\u7406\u5bf9\u4f01\u4e1a\u7684\u6210\u529f\u548c\u53d1\u5c55\u81f3\u5173\u91cd\u8981\u3002\u8fd9\u4e5f\u4f7f\u5f97\u5982\u4f55\u5b58\u50a8\u8fd9\u4e9b\u6d77\u91cf\u6570\u636e\u6210\u4e3a\u4e86\u4e00\u4e2a\u6781\u5176\u5173\u952e\u7684\u95ee\u9898\u3002\u672c\u6587\u5c06\u63a2\u7a76\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784\u7684\u6784\u6210\u53ca\u5f71\u54cd\u56e0\u7d20\uff0c\u4ee5\u671f\u63d0\u9ad8\u4f01\u4e1a\u5bf9\u4e8e\u6570\u636e\u5b58\u50a8\u7ba1\u7406\u7684\u7406\u89e3\u548c\u5e94\u7528\u80fd\u529b\u3002<\/p>\n<p>\u4e00\u3001\u6570\u636e\u5b58\u50a8\u7684\u91cd\u8981\u6027<\/p>\n<p>\u5bf9\u4e8e\u7535\u5546\u4f01\u4e1a\u6765\u8bf4\uff0c\u6570\u636e\u5b58\u50a8\u4e0d\u4ec5\u4ec5\u662f\u4e3a\u4e86\u6ee1\u8db3\u65e5\u5e38\u7684\u7ba1\u7406\u9700\u6c42\uff0c\u66f4\u662f\u4e3a\u4e86\u652f\u6491\u4f01\u4e1a\u672a\u6765\u7684\u53d1\u5c55\u53ca\u5f00\u5c55\u4e1a\u52a1\u7684\u51b3\u7b56\u4f9d\u636e\u3002\u56e0\u6b64\uff0c\u6570\u636e\u5b58\u50a8\u7684\u4f18\u5316\u80fd\u529b\u4e3a\u4f01\u4e1a\u63d0\u4f9b\u4e86\u6781\u4e3a\u91cd\u8981\u7684\u6218\u7565\u610f\u4e49\u3002<\/p>\n<p>\u901a\u8fc7\u6570\u636e\u5b58\u50a8\u6280\u672f\u7684\u5e94\u7528\uff0c\u4f01\u4e1a\u53ef\u4ee5\u5b9e\u73b0\u5bf9\u4e8e\u6536\u5165\u53ca\u8ba2\u5355\u7684\u5b9e\u65f6\u76d1\u63a7\uff0c\u5f97\u51fa\u5173\u952e\u4e1a\u52a1\u7684\u8d8b\u52bf\u53ca\u53d8\u5316\uff1b\u4e5f\u53ef\u4ee5\u5feb\u901f\u5c55\u5f00\u4fc3\u9500\u8425\u9500\u6d3b\u52a8\uff0c\u4ee5\u6ee1\u8db3\u4e0d\u65ad\u53d8\u5316\u7684\u5e02\u573a\u9700\u6c42\uff0c\u5c06\u6536\u76ca\u66f4\u5927\u5316\u3002\u540c\u65f6\uff0c\u5728\u6570\u636e\u5b58\u50a8\u7684\u57fa\u7840\u4e0a\uff0c\u4f01\u4e1a\u8fd8\u80fd\u66f4\u5177\u51b3\u7b56\u4ef7\u503c\u7684\u65b9\u5f0f\u8fdb\u884c\u5546\u4e1a\u6570\u636e\u7684\u6316\u6398\u548c\u5f00\u53d1\uff0c\u5e76\u63a8\u52a8\u4f01\u4e1a\u7684\u7cbe\u7ec6\u5316\u7ba1\u7406\u3002<\/p>\n<p>\u4e8c\u3001\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784<\/p>\n<p>\u7535\u5546\u4f01\u4e1a\u7684\u6570\u636e\u5b58\u50a8\u662f\u57fa\u4e8e\u6570\u636e\u5e93\u8fd9\u4e2a\u6982\u5ff5\u5efa\u7acb\u8d77\u6765\u7684\uff0c\u4e14\u6570\u636e\u5e93\u7684\u8bbe\u8ba1\u5bf9\u5b58\u50a8\u7684\u6570\u636e\u91cf\u3001\u7c7b\u578b\u3001\u7ed3\u6784\u3001\u53cd\u5e94\u901f\u5ea6\u7b49\u65b9\u9762\u4ea7\u751f\u4e86\u91cd\u8981\u7684\u5f71\u54cd\u3002\u5176\u4e3b\u8981\u6784\u6210\u90e8\u5206\u5982\u4e0b\uff1a<\/p>\n<p>1. \u6570\u636e\u5e93\u5b58\u50a8\u5f15\u64ce<\/p>\n<p>\u6570\u636e\u5e93\u5b58\u50a8\u5f15\u64ce\u662f\u6307\u6df1\u5c42\u6b21\u7684\u3001\u9690\u85cf\u7684\u6280\u672f\uff0c\u662f\u6570\u636e\u5e93\u7684\u6838\u5fc3\u3002\u4e3b\u8981\u7528\u4e8e\u5728\u786c\u76d8\u4e2d\u5efa\u7acb\u8868\u3001\u7d22\u5f15\u548c\u6587\u4ef6\u7cfb\u7edf\u7b49\u3002\u76ee\u524d\u5e94\u7528\u8f83\u591a\u7684\u662fMySQL\u3001Oracle\u3001SQL Server \u7b49\u3002<\/p>\n<p>2. \u6570\u636e\u5e93\u7269\u7406\u7ed3\u6784<\/p>\n<p>\u7269\u7406\u7ed3\u6784\u662f\u6307\u6570\u636e\u5e93\u5728\u78c1\u76d8\u4e0a\u7684\u5b58\u50a8\u65b9\u5f0f\uff0c\u4f5c\u4e3a\u6570\u636e\u5b58\u50a8\u7684\u201c\u7269\u7406\u7ed3\u6784\u201d\uff0c\u5176\u5173\u952e\u56e0\u7d20\u5728\u4e8e\u5b58\u50a8\u7684\u7a7a\u95f4\u3001\u5927\u5c0f\u3001\u5b89\u5168\u548c\u4fbf\u6377\u7684\u5b58\u53d6\u548c\u4f7f\u7528\u3002<\/p>\n<p>3. \u6570\u636e\u5e93\u903b\u8f91\u7ed3\u6784<\/p>\n<p>\u903b\u8f91\u7ed3\u6784\u662f\u6570\u636e\u5e93\u5b58\u50a8\u7684\u201c\u903b\u8f91\u67b6\u6784\u201d\uff0c\u7528\u6765\u63cf\u8ff0\u4e16\u754c\u7684\u67d0\u4e2a\u65b9\u9762\u3002\u903b\u8f91\u7ed3\u6784\u4e00\u822c\u5305\u62ec\u8868\u3001\u7d22\u5f15\u3001\u89e6\u53d1\u5668\u3001\u51fd\u6570\u3001\u5b58\u50a8\u8fc7\u7a0b\u7b49\u3002\u5176\u4e2d\uff0c\u8868\u662f\u6570\u636e\u5e93\u4e2d\u5b58\u653e\u6570\u636e\u7684\u4e3b\u8981\u6570\u636e\u4f53\u7cfb\uff0c\u7d22\u5f15\u662f\u5bf9\u6570\u636e\u8fdb\u884c\u5feb\u901f\u68c0\u7d22\u7684\u5173\u952e\u6280\u672f\uff0c\u89e6\u53d1\u5668\u662f\u5bf9\u7279\u5b9a\u64cd\u4f5c\u7684\u54cd\u5e94\u3002\u51fd\u6570\u548c\u5b58\u50a8\u8fc7\u7a0b\u53ef\u4ee5\u5e2e\u52a9\u5b8c\u6210\u590d\u6742\u7684\u6570\u636e\u5904\u7406\u548c\u4e1a\u52a1\u903b\u8f91\u3002<\/p>\n<p>4. \u6570\u636e\u5e93\u5907\u4efd\u548c\u6062\u590d<\/p>\n<p>\u5907\u4efd\u548c\u6062\u590d\u662f\u4efb\u4f55\u6570\u636e\u5e93\u65b9\u6848\u4e2d\u5fc5\u4e0d\u53ef\u5c11\u7684\u6b65\u9aa4\uff0c\u4e5f\u662f\u4e00\u79cd\u6700\u57fa\u672c\u7684\u826f\u597d\u6570\u636e\u5b58\u50a8\u5b9e\u8df5\u3002\u53ef\u91c7\u7528\u5907\u4efd\u8fc7\u7a0b\u5b9e\u73b0\u7684\u624b\u52a8\u5907\u4efd\u548c\u81ea\u52a8\u5316\u5b9a\u65f6\u5907\u4efd\u3002<\/p>\n<p>5. \u6570\u636e\u5e93\u96c6\u7fa4<\/p>\n<p>\u6570\u636e\u5e93\u96c6\u7fa4\u662f\u6307\u591a\u4e2a\u670d\u52a1\u5668\u8282\u70b9\u540c\u65f6\u8fdb\u884c\u6570\u636e\u5e93\u8bbf\u95ee\u7684\u4e00\u79cd\u5206\u5e03\u5f0f\u6570\u636e\u5b58\u50a8\u65b9\u6848\u3002\u8fd9\u79cd\u5206\u5e03\u5f0f\u8282\u70b9\u4e4b\u95f4\u5171\u4eab\u6570\u636e\uff0c\u5206\u644a\u8d1f\u8f7d\uff0c\u4ece\u800c\u5b9e\u73b0\u66f4\u597d\u7684\u6570\u636e\u5904\u7406\u548c\u6027\u80fd\u63d0\u5347\u3002\u76ee\u524d\u5e38\u7528\u7684\u96c6\u7fa4\u65b9\u5f0f\u6709\u4e3b\u4e3b\u53cc\u6d4b \u548c\u4e3b\u4ece\u5f0f\u7ed3\u6784\u3002<\/p>\n<p>\u4e09\u3001\u5f71\u54cd\u7535\u5546\u6570\u636e\u5e93\u8bbe\u8ba1\u7684\u56e0\u7d20<\/p>\n<p>\u9664\u4e86\u521a\u521a\u4ecb\u7ecd\u7684\u6784\u6210\u90e8\u5206\uff0c\u5bf9\u4e8e\u6570\u636e\u5b58\u50a8\u4f53\u7cfb\u7ed3\u6784\u7684\u9009\u62e9\u51b3\u7b56\u8fd8\u4f1a\u53d7\u5230\u4ee5\u4e0b\u56e0\u7d20\u7684\u5f71\u54cd\u3002<\/p>\n<p>1. \u6570\u636e\u89c4\u6a21<\/p>\n<p>\u6570\u636e\u89c4\u6a21\u662f\u7535\u5546\u4f01\u4e1a\u7684\u5b58\u50a8\u8bbe\u8ba1\u7684\u5173\u952e\u56e0\u7d20\uff0c\u5176\u5b58\u50a8\u7684\u6570\u636e\u91cf\u3001\u6570\u636e\u79cd\u7c7b\u548c\u6570\u636e\u7c7b\u578b\u672a\u6765\u90fd\u4f1a\u968f\u7740\u4f01\u4e1a\u7684\u53d1\u5c55\u800c\u589e\u5927\u3002\u56e0\u6b64\uff0c\u5b58\u50a8\u67b6\u6784\u9700\u8981\u5177\u6709\u7075\u6d3b\u6027\u548c\u53ef\u4f38\u7f29\u6027\uff0c\u53ef\u4e0e\u4f01\u4e1a\u7684\u6269\u5f20\u76f8\u9002\u5e94\u3002<\/p>\n<p>2. \u6570\u636e\u7c7b\u578b<\/p>\n<p>\u5728\u8bbe\u8ba1\u6570\u636e\u5e93\u65f6\uff0c\u5e94\u8003\u8651\u5230\u9700\u8981\u5b58\u50a8\u7684\u4e0d\u540c\u6570\u636e\u7c7b\u578b\uff0c\u4f8b\u5982\u6570\u5b57\u3001\u6587\u672c\u3001\u56fe\u50cf\u548c\u97f3\u9891\u6587\u4ef6\u7b49\u7b49\u3002\u5b58\u50a8\u548c\u68c0\u7d22\u8fd9\u4e9b\u6570\u636e\u7684\u901f\u5ea6\u3001\u6548\u7387\u548c\u5b89\u5168\u6027\u9700\u8981\u8003\u8651\u3002<\/p>\n<p>3. \u6570\u636e\u8bbf\u95ee\u6a21\u5f0f<\/p>\n<p>\u4f01\u4e1a\u9700\u8981\u8003\u8651\u6570\u636e\u88ab\u8bbf\u95ee\u7684\u6a21\u5f0f\uff0c\u4f8b\u5982\u8bfb\u53d6\u6a21\u5f0f\u3001\u5199\u5165\u6a21\u5f0f\u548c\u66f4\u65b0\u6a21\u5f0f\u3002\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u9009\u62e9\u5b58\u50a8\u5f15\u64ce\uff0c\u786e\u5b9a\u7f13\u5b58\u7b56\u7565\u548c\u51b3\u7b56\u6570\u636e\u5e93\u96c6\u7fa4\u3002<\/p>\n<p>4. \u5b58\u50a8\u533a\u57df<\/p>\n<p>\u4f01\u4e1a\u5e94\u8be5\u9700\u8981\u51b3\u7b56\u5982\u4f55\u5c06\u6570\u636e\u653e\u7f6e\u4e8e\u57fa\u7840\u5b58\u50a8\u533a\u57df\u4ee5\u4fdd\u8bc1\u5bb9\u9519\u6027\u3001\u901f\u5ea6\u548c\u53ef\u9760\u6027\u3002\u4f01\u4e1a\u9700\u8981\u8003\u8651\u5230\u5982\u4f55\u8fdb\u884c\u5c55\u4e1a\u4ee5\u53ca\u7ba1\u7406\u5907\u4efd\u6570\u636e\uff0c\u4e5f\u53ef\u4ee5\u9009\u62e9\u6280\u672f\u534f\u8bae\uff0c\u4f8b\u5982 RD \u534f\u8bae\u3002<\/p>\n<p>\u5bf9\u4e8e\u7535\u5546\u4f01\u4e1a\u6765\u8bf4\uff0c\u9009\u62e9\u6b63\u786e\u7684\u5b58\u50a8\u8bbe\u8ba1\u65b9\u6848\u5bf9\u4e8e\u5546\u4e1a\u6210\u529f\u81f3\u5173\u91cd\u8981\uff0c\u5177\u6709\u6218\u7565\u6027\u7684\u610f\u4e49\u3002\u901a\u8fc7\u4e86\u89e3\u548c\u5e94\u7528\u4e0a\u8ff0\u7684\u56e0\u7d20\u548c\u6784\u6210\u90e8\u5206\uff0c\u4ece\u800c\u63d0\u9ad8\u4f01\u4e1a\u5bf9\u4e8e\u7535\u5546\u6570\u636e\u5e93\u5b58\u50a8\u548c\u7ba1\u7406\u7684\u6574\u4f53\u638c\u63a7\u80fd\u529b\uff0c\u9010\u6b65\u51cf\u5f31\u4f01\u4e1a\u5728\u5927\u6570\u636e\u65f6\u4ee3\u9762\u5bf9\u7684\u5404\u79cd\u6311\u6218\u3002<\/p>\n<p><strong>\u76f8\u5173\u95ee\u9898\u62d3\u5c55\u9605\u8bfb\uff1a<\/strong><\/p>\n<ul>\n<li>\u7535\u5546\u9879\u76ee\u2014\u6570\u636e\u5e93\u8868\u8bbe\u8ba1<\/li>\n<\/ul>\n<h3>\u7535\u5546\u9879\u76ee\u2014\u6570\u636e\u5e93\u8868\u8bbe\u8ba1<\/h3>\n<p>CREATE TABLE `mmall_user` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT COMMENT \u2018\u7528\u6237\u8868id\u2019,<\/p>\n<p> &nbsp; `username` varchar(50) NOT NULL COMMENT \u2018<\/p>\n<p>\u7528\u6237\u540d<\/p>\n<p>\u2018,<\/p>\n<p> &nbsp; `password` varchar(50) NOT NULL COMMENT \u2018\u7528\u6237\u5bc6\u7801\uff0cMD5\u52a0\u5bc6\u2019,<\/p>\n<p> &nbsp; `email` varchar(50) DEFAULT NULL,<\/p>\n<p> &nbsp; `phone` varchar(20) DEFAULT NULL,<\/p>\n<p> &nbsp; `question` varchar(100) DEFAULT NULL COMMENT \u2018\u627e\u56de\u5bc6\u7801\u95ee\u9898\u2019,<\/p>\n<p> &nbsp; `answer` varchar(100) DEFAULT NULL COMMENT \u2018\u627e\u56de\u5bc6\u7801\u7b54\u6848\u2019,<\/p>\n<p> &nbsp; `role` int(4) NOT NULL COMMENT \u2018\u89d2\u82720-\u7ba1\u7406\u5458,1-\u666e\u901a\u7528\u6237\u2019,<\/p>\n<p> &nbsp; `create_time` datetime NOT NULL COMMENT \u2018\u521b\u5efa\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `update_time` datetime NOT NULL COMMENT \u2018\u6700\u540e\u4e00\u6b21\u66f4\u65b0\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`),<\/p>\n<p> &nbsp; UNIQUE KEY `user_name_unique` (`username`) USING REE<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_product` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT COMMENT \u2018\u5546\u54c1id\u2019,<\/p>\n<p> &nbsp; `category_id` int(11) NOT NULL COMMENT \u2018\u5206\u7c7bid,\u5bf9\u5e94mmall_category\u8868\u7684<\/p>\n<p>\u4e3b\u952e<\/p>\n<p>\u2018,<\/p>\n<p> &nbsp; `name` varchar(100) NOT NULL COMMENT \u2018\u5546\u54c1\u540d\u79f0\u2019,<\/p>\n<p> &nbsp; `subtitle` varchar(200) DEFAULT NULL COMMENT \u2018\u5546\u54c1\u526f\u6807\u9898\u2019,<\/p>\n<p> &nbsp; `main_image` varchar(500) DEFAULT NULL COMMENT \u2018\u4ea7\u54c1\u4e3b\u56fe,url\u76f8\u5bf9\u5730\u5740\u2019,<\/p>\n<p> &nbsp; `sub_images` text COMMENT \u2018\u56fe\u7247\u5730\u5740,json\u683c\u5f0f,\u6269\u5c55\u7528\u2019,<\/p>\n<p> &nbsp; `detail` text COMMENT \u2018\u5546\u54c1\u8be6\u60c5\u2019,<\/p>\n<p> &nbsp; `price` decimal(20,2) NOT NULL COMMENT \u2018\u4ef7\u683c,\u5355\u4f4d-\u5143\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u2019,<\/p>\n<p> &nbsp; `stock` int(11) NOT NULL COMMENT \u2018\u5e93\u5b58\u6570\u91cf\u2019,<\/p>\n<p> &nbsp; `status` int(6) DEFAULT \u20181\u2019 COMMENT \u2018\u5546\u54c1\u72b6\u6001.1-\u5728\u552e 2-\u4e0b\u67b6 3-\u5220\u9664\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL COMMENT \u2018\u521b\u5efa\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL COMMENT \u2018\u66f4\u65b0\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`)<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_category` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT COMMENT \u2018\u7c7b\u522bId\u2019,<\/p>\n<p> &nbsp; `parent_id` int(11) DEFAULT NULL COMMENT \u2018\u7236\u7c7b\u522bid\u5f53id=0\u65f6\u8bf4\u660e\u662f\u6839\u8282\u70b9,\u4e00\u7ea7\u7c7b\u522b\u2019,<\/p>\n<p> &nbsp; `name` varchar(50) DEFAULT NULL COMMENT \u2018\u7c7b\u522b\u540d\u79f0\u2019,<\/p>\n<p> &nbsp; `status` tinyint(1) DEFAULT \u20181\u2019 COMMENT \u2018\u7c7b\u522b\u72b6\u60011-\u6b63\u5e38,2-\u5df2\u5e9f\u5f03\u2019,<\/p>\n<p> &nbsp; `sort_order` int(4) DEFAULT NULL COMMENT \u2018\u6392\u5e8f\u7f16\u53f7,\u540c\u7c7b\u5c55\u793a\u987a\u5e8f,\u6570\u503c\u76f8\u7b49\u5219\u81ea\u7136\u6392\u5e8f\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL COMMENT \u2018\u521b\u5efa\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL COMMENT \u2018\u66f4\u65b0\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`)<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_order` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT COMMENT \u2018\u8ba2\u5355id\u2019,<\/p>\n<p> &nbsp; `order_no` bigint(20) DEFAULT NULL COMMENT \u2018\u8ba2\u5355\u53f7\u2019,<\/p>\n<p> &nbsp; `user_id` int(11) DEFAULT NULL COMMENT \u2018\u7528\u6237id\u2019,<\/p>\n<p> &nbsp; `shipping_id` int(11) DEFAULT NULL,<\/p>\n<p> &nbsp; `payment` decimal(20,2) DEFAULT NULL COMMENT \u2018\u5b9e\u9645\u4ed8\u6b3e\u91d1\u989d,\u5355\u4f4d\u662f\u5143,\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u2019,<\/p>\n<p> &nbsp; `payment_type` int(4) DEFAULT NULL COMMENT \u2018\u652f\u4ed8\u7c7b\u578b,1-\u5728\u7ebf\u652f\u4ed8\u2019,<\/p>\n<p> &nbsp; `postage` int(10) DEFAULT NULL COMMENT \u2018\u8fd0\u8d39,\u5355\u4f4d\u662f\u5143\u2019,<\/p>\n<p> &nbsp; `status` int(10) DEFAULT NULL COMMENT \u2018\u8ba2\u5355\u72b6\u6001:0-\u5df2\u53d6\u6d88-10-\u672a\u4ed8\u6b3e\uff0c20-\u5df2\u4ed8\u6b3e\uff0c40-\u5df2\u53d1\u8d27\uff0c50-\u4ea4\u6613\u6210\u529f\uff0c60-\u4ea4\u6613\u5173\u95ed\u2019,<\/p>\n<p> &nbsp; `payment_time` datetime DEFAULT NULL COMMENT \u2018\u652f\u4ed8\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `send_time` datetime DEFAULT NULL COMMENT \u2018\u53d1\u8d27\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `end_time` datetime DEFAULT NULL COMMENT \u2018\u4ea4\u6613\u5b8c\u6210\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `close_time` datetime DEFAULT NULL COMMENT \u2018\u4ea4\u6613\u5173\u95ed\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL COMMENT \u2018\u521b\u5efa\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL COMMENT \u2018\u66f4\u65b0\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`),<\/p>\n<p> &nbsp; UNIQUE KEY `order_no_index` (`order_no`) USING REE<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=118 DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_order_item` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT COMMENT \u2018\u8ba2\u5355\u5b50\u8868id\u2019,<\/p>\n<p> &nbsp; `user_id` int(11) DEFAULT NULL,<\/p>\n<p> &nbsp; `order_no` bigint(20) DEFAULT NULL,<\/p>\n<p> &nbsp; `product_id` int(11) DEFAULT NULL COMMENT \u2018\u5546\u54c1id\u2019,<\/p>\n<p> &nbsp; `product_name` varchar(100) DEFAULT NULL COMMENT \u2018\u5546\u54c1\u540d\u79f0\u2019,<\/p>\n<p> &nbsp; `product_image` varchar(500) DEFAULT NULL COMMENT \u2018\u5546\u54c1\u56fe\u7247\u5730\u5740\u2019,<\/p>\n<p> &nbsp; `current_unit_price` decimal(20,2) DEFAULT NULL COMMENT \u2018\u751f\u6210\u8ba2\u5355\u65f6\u7684\u5546\u54c1\u5355\u4ef7\uff0c\u5355\u4f4d\u662f\u5143,\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u2019,<\/p>\n<p> &nbsp; `quantity` int(10) DEFAULT NULL COMMENT \u2018\u5546\u54c1\u6570\u91cf\u2019,<\/p>\n<p> &nbsp; `total_price` decimal(20,2) DEFAULT NULL COMMENT \u2018\u5546\u54c1\u603b\u4ef7,\u5355\u4f4d\u662f\u5143,\u4fdd\u7559\u4e24\u4f4d\u5c0f\u6570\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`),<\/p>\n<p> &nbsp; KEY `order_no_index` (`order_no`) USING REE,<\/p>\n<p> &nbsp; KEY `order_no_user_id_index` (`user_id`,`order_no`) USING REE<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=135 DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_cart` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT,<\/p>\n<p> &nbsp; `user_id` int(11) NOT NULL,<\/p>\n<p> &nbsp; `product_id` int(11) DEFAULT NULL COMMENT \u2018\u5546\u54c1id\u2019,<\/p>\n<p> &nbsp; `quantity` int(11) DEFAULT NULL COMMENT \u2018\u6570\u91cf\u2019,<\/p>\n<p> &nbsp; `checked` int(11) DEFAULT NULL COMMENT \u2018\u662f\u5426\u9009\u62e9,1=\u5df2\u52fe\u9009,0=\u672a\u52fe\u9009\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL COMMENT \u2018\u521b\u5efa\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL COMMENT \u2018\u66f4\u65b0\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`),<\/p>\n<p> &nbsp; KEY `user_id_index` (`user_id`) USING REE<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=127 DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_pay_info` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT,<\/p>\n<p> &nbsp; `user_id` int(11) DEFAULT NULL COMMENT \u2018\u7528\u6237id\u2019,<\/p>\n<p> &nbsp; `order_no` bigint(20) DEFAULT NULL COMMENT \u2018\u8ba2\u5355\u53f7\u2019,<\/p>\n<p> &nbsp; `pay_platform` int(10) DEFAULT NULL COMMENT \u2018\u652f\u4ed8\u5e73\u53f0:1-\u652f\u4ed8\u5b9d,2-\u5fae\u4fe1\u2019,<\/p>\n<p> &nbsp; `platform_number` varchar(200) DEFAULT NULL COMMENT \u2018\u652f\u4ed8\u5b9d\u652f\u4ed8\u6d41\u6c34\u53f7\u2019,<\/p>\n<p> &nbsp; `platform_status` varchar(20) DEFAULT NULL COMMENT \u2018\u652f\u4ed8\u5b9d\u652f\u4ed8\u72b6\u6001\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL COMMENT \u2018\u521b\u5efa\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL COMMENT \u2018\u66f4\u65b0\u65f6\u95f4\u2019,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`)<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8;<\/p>\n<p>CREATE TABLE `mmall_shipping` (<\/p>\n<p> &nbsp; `id` int(11) NOT NULL AUTO_INCREMENT,<\/p>\n<p> &nbsp; `user_id` int(11) DEFAULT NULL COMMENT \u2018\u7528\u6237id\u2019,<\/p>\n<p> &nbsp; `receiver_name` varchar(20) DEFAULT NULL COMMENT \u2018\u6536\u8d27\u59d3\u540d\u2019,<\/p>\n<p> &nbsp; `receiver_phone` varchar(20) DEFAULT NULL COMMENT \u2018\u6536\u8d27\u56fa\u5b9a\u2019,<\/p>\n<p> &nbsp; `receiver_mobile` varchar(20) DEFAULT NULL COMMENT \u2018\u6536\u8d27\u79fb\u52a8\u2019,<\/p>\n<p> &nbsp; `receiver_province` varchar(20) DEFAULT NULL COMMENT \u2018\u7701\u4efd\u2019,<\/p>\n<p> &nbsp; `receiver_city` varchar(20) DEFAULT NULL COMMENT \u2018\u57ce\u5e02\u2019,<\/p>\n<p> &nbsp; `receiver_district` varchar(20) DEFAULT NULL COMMENT \u2018\u533a\/\u53bf\u2019,<\/p>\n<p> &nbsp; `receiver_address` varchar(200) DEFAULT NULL COMMENT \u2018\u8be6\u7ec6\u5730\u5740\u2019,<\/p>\n<p> &nbsp; `receiver_zip` varchar(6) DEFAULT NULL COMMENT \u2018\u90ae\u7f16\u2019,<\/p>\n<p> &nbsp; `create_time` datetime DEFAULT NULL,<\/p>\n<p> &nbsp; `update_time` datetime DEFAULT NULL,<\/p>\n<p> &nbsp; PRIMARY KEY (`id`)<\/p>\n<p> ) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;<\/p>\n<p>GitHub \u5730\u5740\uff1a<\/p>\n<p>\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784\u7684\u4ecb\u7ecd\u5c31\u804a\u5230\u8fd9\u91cc\u5427\uff0c\u611f\u8c22\u4f60\u82b1\u65f6\u95f4\u9605\u8bfb\u672c\u7ad9\u5185\u5bb9\uff0c\u66f4\u591a\u5173\u4e8e\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784,\u7535\u5b50\u5546\u52a1\u7684\u6570\u636e\u5982\u4f55\u5b58\u50a8\uff1f\u2014\u2014\u7535\u5546\u6570\u636e\u5e93\u7ed3\u6784,\u7535\u5546\u9879\u76ee\u2014\u6570\u636e\u5e93\u8868\u8bbe\u8ba1\u7684\u4fe1\u606f\u522b\u5fd8\u4e86\u5728\u672c\u7ad9\u8fdb\u884c\u67e5\u627e\u5594\u3002<\/p>\n<p><a href=\"http:https:\/\/idc.net\/\">\u9999\u6e2f\u670d\u52a1\u5668<\/a>\u9996\u9009\u540e\u6d6a\u4e91\uff0c2H2G\u9996\u670810\u5143\u5f00\u901a\u3002<br \/>\u540e\u6d6a\u4e91\uff08www.IDC.Net\uff09\u63d0\u4f9b\u7b80\u5355\u597d\u7528\uff0c\u4ef7\u683c\u539a\u9053\u7684\u9999\u6e2f\/\u7f8e\u56fd\u4e91\u670d\u52a1\u5668\u548c\u72ec\u7acb\u670d\u52a1\u5668\u3002IDC+ISP+ICP\u8d44\u8d28\u3002ARIN\u548cAPNIC\u4f1a\u5458\u3002\u6210\u719f\u6280\u672f\u56e2\u961f15\u5e74\u884c\u4e1a\u7ecf\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u968f\u7740\u4e92\u8054\u7f51\u7684\u5feb\u901f\u53d1\u5c55\u548c\u73b0\u4ee3\u79d1\u6280\u7684\u4e0d\u65ad\u8fdb\u6b65\uff0c\u7535\u5546\u884c\u4e1a\u5df2\u7ecf\u6210\u4e3a\u4e86\u5546\u4e1a\u53d1\u5c55\u7684\u4e00\u4e2a\u91cd\u8981\u7ec4\u6210\u90e8\u5206\u3002\u7535\u5b50\u5546\u52a1\u5e73\u53f0\u7684\u6570\u636e\u5206\u6790 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7038],"tags":[],"class_list":["post-131016","post","type-post","status-publish","format-standard","hentry","category-database"],"_links":{"self":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/131016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/comments?post=131016"}],"version-history":[{"count":0,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/posts\/131016\/revisions"}],"wp:attachment":[{"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/media?parent=131016"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/categories?post=131016"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/idc.net\/help\/wp-json\/wp\/v2\/tags?post=131016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}