diff --git a/.gitignore b/.gitignore
index 9845fd9c..461f5cc5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,9 @@
.idea/*
*.iml
*/target/*
-*/*.iml
\ No newline at end of file
+*/*.iml
+fx.jpg
+poster.jpg
+simsunb.ttf
+spy.log
+Alibaba-PuHuiTi-Regular.otf
\ No newline at end of file
diff --git a/sql/yxshop.sql b/sql/yxshop.sql
index 02620489..363fe63b 100644
--- a/sql/yxshop.sql
+++ b/sql/yxshop.sql
@@ -11,7 +11,7 @@
Target Server Version : 50723
File Encoding : 65001
- Date: 12/12/2019 17:30:42
+ Date: 13/12/2019 19:13:01
*/
SET NAMES utf8mb4;
@@ -152,7 +152,7 @@ CREATE TABLE `gen_config` (
-- ----------------------------
-- Records of gen_config
-- ----------------------------
-INSERT INTO `gen_config` VALUES (1, 'hupeng', b'0', 'yshop-shop', 'co.yixiang.modules.shop', 'E:\\java\\yxshop-private\\yshop-qd\\src\\views\\shop\\express', 'E:\\java\\yxshop-private\\yshop-qd\\src\\api', NULL);
+INSERT INTO `gen_config` VALUES (1, 'hupeng', b'0', 'yshop-shop', 'co.yixiang.modules.wechat', 'E:\\java\\yxshop-private\\yshop-qd\\src\\views\\wechat\\user', 'E:\\java\\yxshop-private\\yshop-qd\\src\\api', NULL);
-- ----------------------------
-- Table structure for job
@@ -227,7 +227,7 @@ CREATE TABLE `log` (
`username` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 17533 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
+) ENGINE = InnoDB AUTO_INCREMENT = 17570 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of log
@@ -3496,6 +3496,43 @@ INSERT INTO `log` VALUES (17529, '2019-12-12 17:29:54', '查询菜单', NULL, 'I
INSERT INTO `log` VALUES (17530, '2019-12-12 17:30:05', '修改菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.update()', '{ resources: co.yixiang.modules.system.domain.Menu@70 }', '127.0.0.1', 55, 'admin', '内网IP');
INSERT INTO `log` VALUES (17531, '2019-12-12 17:30:05', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 18, 'admin', '内网IP');
INSERT INTO `log` VALUES (17532, '2019-12-12 17:30:08', '查询角色', NULL, 'INFO', 'co.yixiang.modules.system.rest.RoleController.getRoles()', '{ criteria: RoleQueryCriteria(blurry=null) pageable: Page request [number: 0, size 10, sort: level: ASC] }', '127.0.0.1', 4, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17533, '2019-12-12 17:39:03', '查询', NULL, 'INFO', 'co.yixiang.modules.activity.rest.YxStoreCouponController.getYxStoreCoupons()', '{ criteria: YxStoreCouponQueryCriteria(isDel=0) pageable: Page request [number: 0, size 10, sort: id: DESC] }', '127.0.0.1', 127, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17534, '2019-12-12 17:39:27', '修改', NULL, 'INFO', 'co.yixiang.modules.activity.rest.YxStoreCouponController.update()', '{ resources: YxStoreCoupon(id=3, title=999, integral=0, couponPrice=1, useMinPrice=1, couponTime=1, sort=1, status=0, addTime=1574131073, isDel=0) }', '127.0.0.1', 140, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17535, '2019-12-12 17:39:27', '查询', NULL, 'INFO', 'co.yixiang.modules.activity.rest.YxStoreCouponController.getYxStoreCoupons()', '{ criteria: YxStoreCouponQueryCriteria(isDel=0) pageable: Page request [number: 0, size 10, sort: id: DESC] }', '127.0.0.1', 8, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17536, '2019-12-12 17:57:16', '查询YxExpress', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxExpressController.getYxExpresss()', '{ criteria: YxExpressQueryCriteria() pageable: Page request [number: 0, size 10, sort: id: DESC] }', '127.0.0.1', 46, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17537, '2019-12-12 17:57:21', '修改YxExpress', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxExpressController.update()', '{ resources: YxExpress(id=429, code=YTO, name=圆通速递444, sort=0, isShow=0) }', '127.0.0.1', 110, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17538, '2019-12-12 17:57:22', '查询YxExpress', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxExpressController.getYxExpresss()', '{ criteria: YxExpressQueryCriteria() pageable: Page request [number: 0, size 10, sort: id: DESC] }', '127.0.0.1', 5, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17539, '2019-12-12 17:57:26', '修改YxExpress', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxExpressController.update()', '{ resources: YxExpress(id=429, code=YTO, name=圆通速递, sort=0, isShow=0) }', '127.0.0.1', 52, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17540, '2019-12-12 17:57:27', '查询YxExpress', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxExpressController.getYxExpresss()', '{ criteria: YxExpressQueryCriteria() pageable: Page request [number: 0, size 10, sort: id: DESC] }', '127.0.0.1', 5, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17541, '2019-12-12 17:57:34', '查询YxUserBill', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxUserBillController.getYxUserBills()', '{ criteria: YxUserBillQueryCriteria(nickname=, category=, type=) pageable: Page request [number: 0, size 10, sort: UNSORTED] }', '127.0.0.1', 166, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17542, '2019-12-13 14:36:03', '用户登录', NULL, 'INFO', 'co.yixiang.modules.security.rest.AuthenticationController.login()', '{ authorizationUser: {username=admin, password= ******} }', '127.0.0.1', 900, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17543, '2019-12-13 14:39:05', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 449, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17544, '2019-12-13 14:40:24', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 2, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17545, '2019-12-13 14:42:50', '新增菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.create()', '{ resources: co.yixiang.modules.system.domain.Menu@71 }', '127.0.0.1', 94, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17546, '2019-12-13 14:42:50', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 64, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17547, '2019-12-13 14:43:14', '查询角色', NULL, 'INFO', 'co.yixiang.modules.system.rest.RoleController.getRoles()', '{ criteria: RoleQueryCriteria(blurry=null) pageable: Page request [number: 0, size 10, sort: level: ASC] }', '127.0.0.1', 19, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17548, '2019-12-13 14:43:21', '修改角色菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.RoleController.updateMenu()', '{ resources: Role{id=1, name=\'null\', remark=\'null\', createDateTime=null} }', '127.0.0.1', 164, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17549, '2019-12-13 14:43:26', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 2, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17550, '2019-12-13 14:43:41', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 3, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17551, '2019-12-13 14:43:51', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 3, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17552, '2019-12-13 14:46:48', '查询YxSystemConfig', NULL, 'INFO', 'co.yixiang.modules.wechat.rest.YxSystemConfigController.getYxSystemConfigs()', '{ criteria: YxSystemConfigQueryCriteria() pageable: Page request [number: 0, size 50, sort: UNSORTED] }', '127.0.0.1', 76, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17553, '2019-12-13 14:53:34', '查询YxSystemConfig', NULL, 'INFO', 'co.yixiang.modules.wechat.rest.YxSystemConfigController.getYxSystemConfigs()', '{ criteria: YxSystemConfigQueryCriteria() pageable: Page request [number: 0, size 50, sort: UNSORTED] }', '127.0.0.1', 2, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17554, '2019-12-13 14:53:34', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 2, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17555, '2019-12-13 15:35:32', '查询YxSystemConfig', NULL, 'INFO', 'co.yixiang.modules.wechat.rest.YxSystemConfigController.getYxSystemConfigs()', '{ criteria: YxSystemConfigQueryCriteria() pageable: Page request [number: 0, size 50, sort: UNSORTED] }', '127.0.0.1', 37, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17556, '2019-12-13 15:35:47', '查询YxSystemConfig', NULL, 'INFO', 'co.yixiang.modules.wechat.rest.YxSystemConfigController.getYxSystemConfigs()', '{ criteria: YxSystemConfigQueryCriteria() pageable: Page request [number: 0, size 50, sort: UNSORTED] }', '127.0.0.1', 3, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17557, '2019-12-13 16:48:09', '用户登录', NULL, 'INFO', 'co.yixiang.modules.security.rest.AuthenticationController.login()', '{ authorizationUser: {username=15136175246, password= ******} }', '127.0.0.1', 209, '', '内网IP');
+INSERT INTO `log` VALUES (17558, '2019-12-13 17:09:10', '用户登录', NULL, 'INFO', 'co.yixiang.modules.security.rest.AuthenticationController.login()', '{ authorizationUser: {username=15136175246, password= ******} }', '127.0.0.1', 1057, '', '内网IP');
+INSERT INTO `log` VALUES (17559, '2019-12-13 17:29:15', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 91, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17560, '2019-12-13 17:30:26', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 5, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17561, '2019-12-13 17:30:43', '修改菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.update()', '{ resources: co.yixiang.modules.system.domain.Menu@71 }', '127.0.0.1', 143, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17562, '2019-12-13 17:30:43', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 88, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17563, '2019-12-13 17:30:47', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 2, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17564, '2019-12-13 17:31:29', '修改菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.update()', '{ resources: co.yixiang.modules.system.domain.Menu@71 }', '127.0.0.1', 64, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17565, '2019-12-13 17:31:30', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 13, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17566, '2019-12-13 17:31:34', '查询菜单', NULL, 'INFO', 'co.yixiang.modules.system.rest.MenuController.getMenus()', '{ criteria: MenuQueryCriteria(blurry=null) }', '127.0.0.1', 1, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17567, '2019-12-13 19:04:45', '用户登录', NULL, 'INFO', 'co.yixiang.modules.security.rest.AuthenticationController.login()', '{ authorizationUser: {username=admin, password= ******} }', '127.0.0.1', 759, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17568, '2019-12-13 19:04:53', '查询YxUserBill', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxUserBillController.getYxUserBills()', '{ criteria: YxUserBillQueryCriteria(nickname=, category=, type=) pageable: Page request [number: 0, size 10, sort: UNSORTED] }', '127.0.0.1', 36, 'admin', '内网IP');
+INSERT INTO `log` VALUES (17569, '2019-12-13 19:04:59', '查询YxUserBill', NULL, 'INFO', 'co.yixiang.modules.shop.rest.YxUserBillController.getYxUserBills()', '{ criteria: YxUserBillQueryCriteria(nickname=, category=, type=) pageable: Page request [number: 1, size 10, sort: UNSORTED] }', '127.0.0.1', 13, 'admin', '内网IP');
-- ----------------------------
-- Table structure for menu
@@ -3516,7 +3553,7 @@ CREATE TABLE `menu` (
`component_name` varchar(20) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-',
PRIMARY KEY (`id`) USING BTREE,
INDEX `FKqcf9gem97gqa5qjm4d3elcqt5`(`pid`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 82 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
+) ENGINE = InnoDB AUTO_INCREMENT = 83 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of menu
@@ -3579,6 +3616,7 @@ INSERT INTO `menu` VALUES (78, '2019-12-04 17:26:19', b'0', '等级任务', 'sho
INSERT INTO `menu` VALUES (79, '2019-12-05 14:12:16', b'0', '签到天数配置', 'shop/set/sign', 55, 57, 'sign2', 'signday', b'0', b'0', 'Signday');
INSERT INTO `menu` VALUES (80, '2019-12-11 17:28:38', b'0', '用户账单', 'shop/user/bill', 46, 24, 'list', 'bill', b'0', b'0', 'Bill');
INSERT INTO `menu` VALUES (81, '2019-12-12 16:36:00', b'0', '物流快递', 'shop/express/index', 53, 43, 'express', 'express', b'0', b'0', 'Express');
+INSERT INTO `menu` VALUES (82, '2019-12-13 14:42:50', b'0', '微信模板消息', 'wechat/template/index', 48, 35, 'anq', 'template', b'0', b'0', 'Template');
-- ----------------------------
-- Table structure for permission
@@ -3909,6 +3947,7 @@ INSERT INTO `roles_menus` VALUES (78, 1);
INSERT INTO `roles_menus` VALUES (79, 1);
INSERT INTO `roles_menus` VALUES (80, 1);
INSERT INTO `roles_menus` VALUES (81, 1);
+INSERT INTO `roles_menus` VALUES (82, 1);
INSERT INTO `roles_menus` VALUES (1, 2);
INSERT INTO `roles_menus` VALUES (2, 2);
INSERT INTO `roles_menus` VALUES (3, 2);
@@ -4060,7 +4099,7 @@ CREATE TABLE `visits` (
`week_day` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE,
UNIQUE INDEX `UK_11aksgq87euk9bcyeesfs4vtp`(`date`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 162 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
+) ENGINE = InnoDB AUTO_INCREMENT = 163 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Compact;
-- ----------------------------
-- Records of visits
@@ -4131,6 +4170,7 @@ INSERT INTO `visits` VALUES (158, '2019-12-09 09:37:28', '2019-12-09', 1, 3, 'Mo
INSERT INTO `visits` VALUES (159, '2019-12-10 19:39:46', '2019-12-10', 1, 1, 'Tue');
INSERT INTO `visits` VALUES (160, '2019-12-11 11:11:35', '2019-12-11', 1, 52, 'Wed');
INSERT INTO `visits` VALUES (161, '2019-12-12 13:33:10', '2019-12-12', 1, 2, 'Thu');
+INSERT INTO `visits` VALUES (162, '2019-12-13 14:17:04', '2019-12-13', 1, 6, 'Fri');
-- ----------------------------
-- Table structure for yx_article
@@ -4406,7 +4446,7 @@ CREATE TABLE `yx_store_cart` (
INDEX `uid_2`(`uid`, `is_del`) USING BTREE,
INDEX `uid_3`(`uid`, `is_new`) USING BTREE,
INDEX `type`(`type`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 96 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '购物车表' ROW_FORMAT = Dynamic;
+) ENGINE = InnoDB AUTO_INCREMENT = 97 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '购物车表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of yx_store_cart
@@ -4486,6 +4526,7 @@ INSERT INTO `yx_store_cart` VALUES (92, 12, 'product', 20, 'ba5d202555c44d378e66
INSERT INTO `yx_store_cart` VALUES (93, 12, 'product', 19, '', 1, 1575552290, 0, 0, 1, 2, 0, 0);
INSERT INTO `yx_store_cart` VALUES (94, 12, 'product', 19, '', 1, 1575552309, 0, 0, 1, 1, 0, 0);
INSERT INTO `yx_store_cart` VALUES (95, 12, 'product', 19, '00e86525a7af4dcf9e653ae0a2062369', 1, 1575771477, 1, 0, 1, 0, 0, 0);
+INSERT INTO `yx_store_cart` VALUES (96, 12, 'product', 19, '00e86525a7af4dcf9e653ae0a2062369', 1, 1576234305, 1, 0, 1, 0, 0, 0);
-- ----------------------------
-- Table structure for yx_store_category
@@ -4624,7 +4665,7 @@ CREATE TABLE `yx_store_coupon` (
-- ----------------------------
INSERT INTO `yx_store_coupon` VALUES (1, '双十一', 0, 1.00, 100.00, 10, 0, 1, 1573281957, 0);
INSERT INTO `yx_store_coupon` VALUES (2, '44444446', 0, 1.00, 1.00, 1, 0, 1, 1574130748, 0);
-INSERT INTO `yx_store_coupon` VALUES (3, '999', 0, 0.00, 0.00, 0, 1, 0, 1574131073, 0);
+INSERT INTO `yx_store_coupon` VALUES (3, '999', 0, 1.00, 1.00, 1, 1, 0, 1574131073, 0);
-- ----------------------------
-- Table structure for yx_store_coupon_issue
@@ -4781,7 +4822,7 @@ CREATE TABLE `yx_store_order` (
INDEX `status`(`status`) USING BTREE,
INDEX `is_del`(`is_del`) USING BTREE,
INDEX `coupon_id`(`coupon_id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 100 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单表' ROW_FORMAT = Dynamic;
+) ENGINE = InnoDB AUTO_INCREMENT = 101 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of yx_store_order
@@ -4802,7 +4843,7 @@ INSERT INTO `yx_store_order` VALUES (36, '20191110183227714', 12, 'hu', '1513617
INSERT INTO `yx_store_order` VALUES (37, '20191113104022550', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '37', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 1, 1573612822, 'yue', 1573612822, 2, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', '顺丰快递', 'express', '1111111', 1.00, 0.00, NULL, '', 0, 'db7d9878c8d2458587fb0441eba3bb55', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (38, '20191116145425159', 12, 'hu', '15136175246', '上海 闸北区 城区 99999', '35', 0.00, 1, 120.00, 0.00, 119.00, 0.00, 0.00, 1, 1.00, 0, NULL, 'weixin', 1573887265, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 1, '5cc35fef31864f4ebe158e43f8e02699', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (39, '20191116151201683', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '42', 0.00, 1, 120.00, 0.00, 119.00, 0.00, 1.00, 0, 0.00, 0, NULL, 'weixin', 1573888321, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 1.00, 1.00, '', 1, '84892a2626a341939dd05cd7f2adff9e', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
-INSERT INTO `yx_store_order` VALUES (42, '20191117163245197', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '43', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 1, 1573979565, 'yue', 1573979565, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 0, '89607a8b9e4d41a5ac2e380be796b24c', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
+INSERT INTO `yx_store_order` VALUES (42, '20191117163245197', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '43', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 1, 1573979565, 'yue', 1573979565, 1, 0, NULL, NULL, NULL, NULL, NULL, 0.00, 'SF', '顺丰速运', 'express', '999999', 1.00, 0.00, NULL, '', 0, '89607a8b9e4d41a5ac2e380be796b24c', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (43, '20191117163347781', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '44', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 0, NULL, 'weixin', 1573979627, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 1, '0b25abb12d5c415b91255017598718cc', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (44, '20191117164050025', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '45', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 0, NULL, 'weixin', 1573980050, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 1, '997f4b8c66814853a43feb054897d1a7', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (45, '20191117165632858', 14, 'zhang', '15136175247', '上海 静安区 城区 999', '46', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 0, NULL, 'weixin', 1573980992, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 1, 'cc2d97b4c6614c238f1b61c42e77190e', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
@@ -4849,6 +4890,7 @@ INSERT INTO `yx_store_order` VALUES (96, '20191122202407197', 12, 'hu', '1513617
INSERT INTO `yx_store_order` VALUES (97, '20191130142549154', 12, 'hu', '15136175246', '上海 闸北区 城区 99999', '89', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 0, NULL, 'weixin', 1575095149, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 1, 'e12352b189954c35bac63da6698ff8a3', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (98, '20191130142917149', 12, 'hu', '15136175246', '上海 闸北区 城区 99999', '90', 0.00, 1, 120.00, 0.00, 120.00, 0.00, 0.00, 0, 0.00, 0, NULL, 'weixin', 1575095357, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 1, '42fa607a1bf243e8b797767c81be8950', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
INSERT INTO `yx_store_order` VALUES (99, '20191208101834125', 12, 'hu', '15136175246', '上海 闸北区 城区 99999', '95', 0.00, 1, 118.80, 0.00, 118.80, 0.00, 0.00, 0, 0.00, 1, 1575771514, 'yue', 1575771514, 1, 0, NULL, NULL, NULL, NULL, NULL, 0.00, 'STO', '申通快递', 'express', '773002763618907', 1.00, 0.00, NULL, '', 0, 'ffe728984deb4fde9efc3ff9ce900bfb', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
+INSERT INTO `yx_store_order` VALUES (100, '20191213185147846', 12, 'hu', '15136175246', '上海 闸北区 城区 99999', '96', 0.00, 1, 118.80, 0.00, 118.80, 0.00, 0.00, 0, 0.00, 1, 1576234308, 'yue', 1576234307, 0, 0, NULL, NULL, NULL, NULL, NULL, 0.00, '', NULL, NULL, NULL, 1.00, 0.00, NULL, '', 0, '6f7c8d3152d9432b96b0144f56cfa97f', NULL, 0, 0, 0, 0, 100.00, 0, 0, '', 0, 1, 1, 0, 0);
-- ----------------------------
-- Table structure for yx_store_order_cart_info
@@ -4865,7 +4907,7 @@ CREATE TABLE `yx_store_order_cart_info` (
UNIQUE INDEX `oid`(`oid`, `unique`) USING BTREE,
INDEX `cart_id`(`cart_id`) USING BTREE,
INDEX `product_id`(`product_id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 96 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单购物详情表' ROW_FORMAT = Dynamic;
+) ENGINE = InnoDB AUTO_INCREMENT = 97 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单购物详情表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of yx_store_order_cart_info
@@ -4935,6 +4977,7 @@ INSERT INTO `yx_store_order_cart_info` VALUES (92, 96, 88, 19, '{\"addTime\":157
INSERT INTO `yx_store_order_cart_info` VALUES (93, 97, 89, 19, '{\"addTime\":1575095144,\"productId\":19,\"seckillId\":0,\"vipTruePrice\":120.0,\"combinationId\":0,\"costPrice\":100.0,\"trueStock\":993,\"truePrice\":120.0,\"type\":\"product\",\"cartNum\":1,\"productInfo\":{\"otPrice\":0.50,\"userCollect\":false,\"description\":\"
文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

\",\"merUse\":0,\"isPostage\":1,\"image_base\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"isBest\":1,\"sales\":18,\"price\":120.00,\"isBargain\":0,\"userLike\":false,\"vipPrice\":0.20,\"storeName\":\"70gA4黑白打印复印\",\"id\":19,\"keyword\":\"打印复印\",\"stock\":99,\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":0.20,\"isGood\":1,\"unitName\":\"张\",\"isBenefit\":1,\"giveIntegral\":1.00,\"isNew\":1,\"sort\":1,\"sliderImageArr\":[\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg\",\"https://image.dayouqiantu.cn/5ca01c7676042.jpg\"],\"sliderImage\":\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg,https://image.dayouqiantu.cn/5ca01c7676042.jpg\",\"barCode\":\"\",\"isShow\":1,\"postage\":0.00,\"codePath\":\"\",\"soureLink\":\"\",\"cateId\":\"24\",\"isSeckill\":0,\"storeInfo\":\"打印复印资料A4黑白彩色印刷画册书本装订图文数码快印服务\",\"isDel\":0,\"isHot\":1,\"attrInfo\":{\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":100.00,\"productId\":19,\"price\":120.00,\"unique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"suk\":\"A1,白色\",\"id\":22,\"stock\":993}},\"uid\":12,\"productAttrUnique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"bargainId\":0,\"id\":89}', '247853fbd42241269dc6812edc71fba1');
INSERT INTO `yx_store_order_cart_info` VALUES (94, 98, 90, 19, '{\"addTime\":1575095354,\"productId\":19,\"seckillId\":0,\"vipTruePrice\":120.0,\"combinationId\":0,\"costPrice\":100.0,\"trueStock\":993,\"truePrice\":120.0,\"type\":\"product\",\"cartNum\":1,\"productInfo\":{\"otPrice\":0.50,\"userCollect\":false,\"description\":\"文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

\",\"merUse\":0,\"isPostage\":1,\"image_base\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"isBest\":1,\"sales\":17,\"price\":120.00,\"isBargain\":0,\"userLike\":false,\"vipPrice\":0.20,\"storeName\":\"70gA4黑白打印复印\",\"id\":19,\"keyword\":\"打印复印\",\"stock\":99,\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":0.20,\"isGood\":1,\"unitName\":\"张\",\"isBenefit\":1,\"giveIntegral\":1.00,\"isNew\":1,\"sort\":1,\"sliderImageArr\":[\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg\",\"https://image.dayouqiantu.cn/5ca01c7676042.jpg\"],\"sliderImage\":\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg,https://image.dayouqiantu.cn/5ca01c7676042.jpg\",\"barCode\":\"\",\"isShow\":1,\"postage\":0.00,\"codePath\":\"\",\"soureLink\":\"\",\"cateId\":\"24\",\"isSeckill\":0,\"storeInfo\":\"打印复印资料A4黑白彩色印刷画册书本装订图文数码快印服务\",\"isDel\":0,\"isHot\":1,\"attrInfo\":{\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":100.00,\"productId\":19,\"price\":120.00,\"unique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"suk\":\"A1,白色\",\"id\":22,\"stock\":993}},\"uid\":12,\"productAttrUnique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"bargainId\":0,\"id\":90}', 'e76d7e013f46469492b62998752ad052');
INSERT INTO `yx_store_order_cart_info` VALUES (95, 99, 95, 19, '{\"addTime\":1575771477,\"productId\":19,\"seckillId\":0,\"vipTruePrice\":120.0,\"combinationId\":0,\"costPrice\":100.0,\"trueStock\":993,\"truePrice\":118.8,\"type\":\"product\",\"cartNum\":1,\"productInfo\":{\"otPrice\":0.50,\"userCollect\":false,\"description\":\"文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

\",\"merUse\":0,\"isPostage\":1,\"image_base\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"isBest\":1,\"sales\":17,\"price\":120.00,\"isBargain\":0,\"userLike\":false,\"vipPrice\":0.20,\"storeName\":\"70gA4黑白打印复印\",\"id\":19,\"keyword\":\"打印复印\",\"stock\":99,\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":0.20,\"isGood\":1,\"unitName\":\"张\",\"isBenefit\":1,\"giveIntegral\":1.00,\"isNew\":1,\"sort\":1,\"sliderImageArr\":[\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg\",\"https://image.dayouqiantu.cn/5ca01c7676042.jpg\"],\"sliderImage\":\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg,https://image.dayouqiantu.cn/5ca01c7676042.jpg\",\"barCode\":\"\",\"isShow\":1,\"postage\":0.00,\"codePath\":\"\",\"soureLink\":\"\",\"cateId\":\"24\",\"isSeckill\":0,\"storeInfo\":\"打印复印资料A4黑白彩色印刷画册书本装订图文数码快印服务\",\"isDel\":0,\"isHot\":1,\"attrInfo\":{\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":100.00,\"productId\":19,\"price\":120.00,\"unique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"suk\":\"A1,白色\",\"id\":22,\"stock\":993}},\"uid\":12,\"productAttrUnique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"bargainId\":0,\"id\":95}', '16e9212266b949cdac21e7e45881a84f');
+INSERT INTO `yx_store_order_cart_info` VALUES (96, 100, 96, 19, '{\"addTime\":1576234305,\"productId\":19,\"seckillId\":0,\"vipTruePrice\":120.0,\"combinationId\":0,\"costPrice\":100.0,\"trueStock\":992,\"truePrice\":118.8,\"type\":\"product\",\"cartNum\":1,\"productInfo\":{\"otPrice\":0.50,\"userCollect\":false,\"description\":\"文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

\",\"merUse\":0,\"isPostage\":1,\"image_base\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"isBest\":1,\"sales\":18,\"price\":120.00,\"isBargain\":0,\"userLike\":false,\"vipPrice\":0.20,\"storeName\":\"70gA4黑白打印复印\",\"id\":19,\"keyword\":\"打印复印\",\"stock\":99,\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":0.20,\"isGood\":1,\"unitName\":\"张\",\"isBenefit\":1,\"giveIntegral\":1.00,\"isNew\":1,\"sort\":1,\"sliderImageArr\":[\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg\",\"https://image.dayouqiantu.cn/5ca01c7676042.jpg\"],\"sliderImage\":\"https://image.dayouqiantu.cn/5ca01c7fc9238.jpg,https://image.dayouqiantu.cn/5ca01c7676042.jpg\",\"barCode\":\"\",\"isShow\":1,\"postage\":0.00,\"codePath\":\"\",\"soureLink\":\"\",\"cateId\":\"24\",\"isSeckill\":0,\"storeInfo\":\"打印复印资料A4黑白彩色印刷画册书本装订图文数码快印服务\",\"isDel\":0,\"isHot\":1,\"attrInfo\":{\"image\":\"https://image.dayouqiantu.cn/5ca011a1cd487.jpg\",\"cost\":100.00,\"productId\":19,\"price\":120.00,\"unique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"suk\":\"A1,白色\",\"id\":22,\"stock\":992}},\"uid\":12,\"productAttrUnique\":\"00e86525a7af4dcf9e653ae0a2062369\",\"bargainId\":0,\"id\":96}', 'd186a2b7f7f146389c33223f3ce180cf');
-- ----------------------------
-- Table structure for yx_store_order_status
@@ -4949,7 +4992,7 @@ CREATE TABLE `yx_store_order_status` (
PRIMARY KEY (`id`) USING BTREE,
INDEX `oid`(`oid`) USING BTREE,
INDEX `change_type`(`change_type`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 144 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单操作记录表' ROW_FORMAT = Dynamic;
+) ENGINE = InnoDB AUTO_INCREMENT = 147 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '订单操作记录表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of yx_store_order_status
@@ -5058,6 +5101,9 @@ INSERT INTO `yx_store_order_status` VALUES (140, 92, 'delivery_goods', '已发
INSERT INTO `yx_store_order_status` VALUES (141, 36, 'delivery_goods', '已发货 快递公司:申通快递 快递单号:null', 1576142259);
INSERT INTO `yx_store_order_status` VALUES (142, 67, 'delivery_goods', '已发货 快递公司:顺丰速运 快递单号:444444', 1576142488);
INSERT INTO `yx_store_order_status` VALUES (143, 61, 'delivery_goods', '已发货 快递公司:顺丰速运 快递单号:99999', 1576142551);
+INSERT INTO `yx_store_order_status` VALUES (144, 42, 'delivery_goods', '已发货 快递公司:顺丰速运快递单号:999999', 1576229079);
+INSERT INTO `yx_store_order_status` VALUES (145, 100, 'cache_key_create_order', '订单生成', 1576234308);
+INSERT INTO `yx_store_order_status` VALUES (146, 100, 'pay_success', '用户付款成功', 1576234308);
-- ----------------------------
-- Table structure for yx_store_pink
@@ -5149,7 +5195,7 @@ CREATE TABLE `yx_store_product` (
-- ----------------------------
-- Records of yx_store_product
-- ----------------------------
-INSERT INTO `yx_store_product` VALUES (19, NULL, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', 'https://image.dayouqiantu.cn/5ca01c7fc9238.jpg,https://image.dayouqiantu.cn/5ca01c7676042.jpg', '70gA4黑白打印复印', '打印复印资料A4黑白彩色印刷画册书本装订图文数码快印服务', '打印复印', '', '24', 120.00, 0.20, 0.50, 0.00, '张', 1, 18, 99, 1, 1, 1, 1, 1, '文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

', NULL, 1, 0, 0, 1.00, 0.20, 0, 0, 1, NULL, NULL, '', '');
+INSERT INTO `yx_store_product` VALUES (19, NULL, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', 'https://image.dayouqiantu.cn/5ca01c7fc9238.jpg,https://image.dayouqiantu.cn/5ca01c7676042.jpg', '70gA4黑白打印复印', '打印复印资料A4黑白彩色印刷画册书本装订图文数码快印服务', '打印复印', '', '24', 120.00, 0.20, 0.50, 0.00, '张', 1, 19, 99, 1, 1, 1, 1, 1, '文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

', NULL, 1, 0, 0, 1.00, 0.20, 0, 0, 1, NULL, NULL, '', '');
INSERT INTO `yx_store_product` VALUES (20, 0, 'https://image.dayouqiantu.cn/5ca04fa9c08ef.jpg', 'https://image.dayouqiantu.cn/5ca05103ad634.jpg,https://image.dayouqiantu.cn/5ca04fa9c08ef.jpg', '70gA4彩色打印复印', '70gA4彩色打印复印', '彩色打印复印', '', '24', 0.50, 0.50, 1.00, 0.00, '张', 0, 1, 100, 1, 1, 1, 1, 1, '7文件请传QQ2412733099,
718504558或2412733099@qq.com邮箱,
手机/微信:13733990583
量大请联系店主,一定让您满意而归
实体店面经营 保质保量
A4黑白2毛/张,量大1毛/张,
A3黑白双面5毛/张,量大3毛/张,
更大量请联系店主报价,
每消费1元可积1分,1分抵现金1毛,
付款时直接抵扣
(如此优惠的基础上还可积分,积分抵现金)

', 1573108370, 1, 0, 0, 0.00, 0.50, 0, 0, 1, 0, 0, '', '');
-- ----------------------------
@@ -5218,7 +5264,7 @@ INSERT INTO `yx_store_product_attr_value` VALUES (10, 20, 'A3,白色', 999, NULL
INSERT INTO `yx_store_product_attr_value` VALUES (11, 20, 'A3,红色', 998, NULL, 0.50, 'https://image.dayouqiantu.cn/5ca04fa9c08ef.jpg', '75d1d355cdb44970beb3524911c7bae7', 0.50);
INSERT INTO `yx_store_product_attr_value` VALUES (12, 20, 'A4,白色', 999, NULL, 0.20, 'https://image.dayouqiantu.cn/5ca04fa9c08ef.jpg', '8e9aed0696654a6bafc2f68a7b4d9960', 0.50);
INSERT INTO `yx_store_product_attr_value` VALUES (13, 20, 'A4,红色', 999, NULL, 0.20, 'https://image.dayouqiantu.cn/5ca04fa9c08ef.jpg', 'de81216b2dc743d0b2b626a514e2f78c', 0.50);
-INSERT INTO `yx_store_product_attr_value` VALUES (22, 19, 'A1,白色', 992, NULL, 120.00, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', '00e86525a7af4dcf9e653ae0a2062369', 100.00);
+INSERT INTO `yx_store_product_attr_value` VALUES (22, 19, 'A1,白色', 991, NULL, 120.00, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', '00e86525a7af4dcf9e653ae0a2062369', 100.00);
INSERT INTO `yx_store_product_attr_value` VALUES (23, 19, 'A1,蓝色', 9999, NULL, 119.00, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', '26b0cd2c869e445f850212f62ee2de26', 100.00);
INSERT INTO `yx_store_product_attr_value` VALUES (24, 19, 'A4,白色', 999, NULL, 150.00, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', '6c2deabbdebd4f57a7c7b4c9e1c08bce', 100.00);
INSERT INTO `yx_store_product_attr_value` VALUES (25, 19, 'A4,蓝色', 9998, NULL, 170.00, 'https://image.dayouqiantu.cn/5ca011a1cd487.jpg', 'd8c72945fdbe4035a95a393aff1eea46', 100.00);
@@ -5738,7 +5784,7 @@ CREATE TABLE `yx_user` (
-- Records of yx_user
-- ----------------------------
INSERT INTO `yx_user` VALUES (11, 'hupeng', 'hupeng', 'e10adc3949ba59abbe56e057f20f883e', 'e10adc3949ba59abbe56e057f20f883e', '', 0, '', '', 0, 0, '会敲代码的喵', 'http://thirdwx.qlogo.cn/mmopen/vi_32/DYAIOgq83er0oNIia5bws9DCW1VM9qNbObKU9icwtvMpp7zE534e4Y9gwqR5Izvllladvop0ibpJJg2n6ticNSB9gA/132', '', 1573120584, '', 1573120584, '', 9999.00, 12.70, 0.00, 0, 1, 0, 0, 1573613651, 'wechat', 0, 2, 1, 0, '', 0, '');
-INSERT INTO `yx_user` VALUES (12, '15136175246', '151361752469', 'e10adc3949ba59abbe56e057f20f883e', 'e10adc3949ba59abbe56e057f20f883e', '', 0, '', '', 0, 0, '会敲代码的喵2', 'https://image.dayouqiantu.cn/5dc2c7f3a104c.png', '15136175246', 1573120881, '', 1573120881, '', 9479.80, 28.00, 40.00, 2, 1, 1, 11, 1573527758, 'h5', 0, 10, 1, 0, '', 0, '');
+INSERT INTO `yx_user` VALUES (12, '15136175246', '151361752469', 'e10adc3949ba59abbe56e057f20f883e', 'e10adc3949ba59abbe56e057f20f883e', '', 0, '', '', 0, 0, '会敲代码的喵2', 'https://image.dayouqiantu.cn/5dc2c7f3a104c.png', '15136175246', 1573120881, '', 1573120881, '', 9361.00, 28.00, 40.00, 2, 1, 1, 11, 1573527758, 'h5', 0, 11, 1, 0, '', 0, '');
INSERT INTO `yx_user` VALUES (14, '15136175247', '15136175247', 'e10adc3949ba59abbe56e057f20f883e', 'e10adc3949ba59abbe56e057f20f883e', '', 0, '', '', 0, 0, '15136175247', 'https://image.dayouqiantu.cn/5dc2c7f3a104c.png', '15136175247', 1573612696, '', 1573612696, '', 9400.00, 0.00, 2.00, 0, 1, 0, 12, 1573612702, 'h5', 0, 5, 0, 0, '', 0, '');
-- ----------------------------
@@ -5797,7 +5843,7 @@ CREATE TABLE `yx_user_bill` (
INDEX `add_time`(`add_time`) USING BTREE,
INDEX `pm`(`pm`) USING BTREE,
INDEX `type`(`category`, `type`, `link_id`) USING BTREE
-) ENGINE = InnoDB AUTO_INCREMENT = 50 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户账单表' ROW_FORMAT = Dynamic;
+) ENGINE = InnoDB AUTO_INCREMENT = 51 CHARACTER SET = utf8 COLLATE = utf8_general_ci COMMENT = '用户账单表' ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of yx_user_bill
@@ -5846,6 +5892,7 @@ INSERT INTO `yx_user_bill` VALUES (46, 12, '0', 1, '签到奖励', 'integral', '
INSERT INTO `yx_user_bill` VALUES (47, 12, '99', 0, '购买商品', 'now_money', 'pay_product', 118.80, 9598.60, '余额支付', 1575771514, 1);
INSERT INTO `yx_user_bill` VALUES (48, 12, '0', 1, '签到奖励', 'integral', 'sign', 20.00, 20.00, '', 1575771932, 1);
INSERT INTO `yx_user_bill` VALUES (49, 11, '96', 1, '获得推广佣金', 'now_money', 'brokerage', 0.70, 12.70, '会敲代码的喵2成功消费1.00元,奖励推广佣金0.7', 1575868078, 1);
+INSERT INTO `yx_user_bill` VALUES (50, 12, '100', 0, '购买商品', 'now_money', 'pay_product', 118.80, 9479.80, '余额支付', 1576234308, 1);
-- ----------------------------
-- Table structure for yx_user_enter
@@ -6157,18 +6204,7 @@ CREATE TABLE `yx_wechat_template` (
-- Records of yx_wechat_template
-- ----------------------------
INSERT INTO `yx_wechat_template` VALUES (3, 'OPENTM200565259', '订单发货提醒', '{{first.DATA}}\n订单编号:{{keyword1.DATA}}\n物流公司:{{keyword2.DATA}}\n物流单号:{{keyword3.DATA}}\n{{remark.DATA}}', 'KusKZOFc_4CrRU_gzuXMdMMTfFeR-OLVVuDiMyR5PiM', '1515052638', 1);
-INSERT INTO `yx_wechat_template` VALUES (4, 'OPENTM413386489', '订单收货通知', '{{first.DATA}}\n订单编号:{{keyword1.DATA}}\n订单状态:{{keyword2.DATA}}\n收货时间:{{keyword3.DATA}}\n商品详情:{{keyword4.DATA}}\n{{remark.DATA}}', 'UNyz81kgsn1WZHSqmwPiF9fUkcdZghfTZvN6qtDuu54', '1515052765', 1);
-INSERT INTO `yx_wechat_template` VALUES (5, 'OPENTM410119152', '退款进度通知', '{{first.DATA}}\n订单编号:{{keyword1.DATA}}\n订单金额:{{keyword2.DATA}}\n下单时间:{{keyword3.DATA}}\n{{remark.DATA}}', 'xrXtApBFv0L3-YXKkl9WYB89hJxFGfQo3jSsk2WpAwI', '1515053049', 1);
-INSERT INTO `yx_wechat_template` VALUES (6, 'OPENTM405847076', '帐户资金变动提醒', '{{first.DATA}}\n变动类型:{{keyword1.DATA}}\n变动时间:{{keyword2.DATA}}\n变动金额:{{keyword3.DATA}}\n{{remark.DATA}}', 'Bk3XLd1Nwk9aNF1NIPBlyTDhrgNbzJW4H23OwVQdE-s', '1515053127', 1);
-INSERT INTO `yx_wechat_template` VALUES (7, 'OPENTM207707249', '订单发货提醒', '\n{{first.DATA}}\n商品明细:{{keyword1.DATA}}\n下单时间:{{keyword2.DATA}}\n配送地址:{{keyword3.DATA}}\n配送人:{{keyword4.DATA}}\n联系电话:{{keyword5.DATA}}\n{{remark.DATA}}', 'KusKZOFc_4CrRU_gzuXMdMMTfFeR-OLVVuDiMyR5PiM', '1515053313', 1);
-INSERT INTO `yx_wechat_template` VALUES (8, 'OPENTM408237350', '服务进度提醒', '{{first.DATA}}\n服务类型:{{keyword1.DATA}}\n服务状态:{{keyword2.DATA}}\n服务时间:{{keyword3.DATA}}\n{{remark.DATA}}', 'ul2g_y0oxqEhtWoSJBbLzmnPrUwtLnIAe30MTBRL7rw', '1515483915', 1);
-INSERT INTO `yx_wechat_template` VALUES (9, 'OPENTM204431262', '客服通知提醒', '{{first.DATA}}\n客户名称:{{keyword1.DATA}}\n客服类型:{{keyword2.DATA}}\n提醒内容:{{keyword3.DATA}}\n通知时间:{{keyword4.DATA}}\n{{remark.DATA}}', 'j51mawxEmTuCCtMrXwSTnRfXH93qutoOebs5RG4MyHY', '1515484354', 1);
-INSERT INTO `yx_wechat_template` VALUES (10, 'OPENTM407456411', '拼团成功通知', '{{first.DATA}}\n订单编号:{{keyword1.DATA}}\n团购商品:{{keyword2.DATA}}\n{{remark.DATA}}', 'CNvCAz9GIoQri-ogSCODVRANCBUQjZIxWzWvizbHVoQ', '1520063823', 1);
-INSERT INTO `yx_wechat_template` VALUES (11, 'OPENTM401113750', '拼团失败通知', '{{first.DATA}}\n拼团商品:{{keyword1.DATA}}\n商品金额:{{keyword2.DATA}}\n退款金额:{{keyword3.DATA}}\n{{remark.DATA}}', 'mSg4ZexW1qaQH3FCrFLe746EYMlTFsZhfTB6VI_ElYg', '1520064059', 1);
-INSERT INTO `yx_wechat_template` VALUES (12, 'OPENTM205213550', '订单生成通知', '{{first.DATA}}\n时间:{{keyword1.DATA}}\n商品名称:{{keyword2.DATA}}\n订单号:{{keyword3.DATA}}\n{{remark.DATA}}', 'HYD99ERso6_PcA3hAT6pzH1RmO88H6IIe8crAVaXPRE', '1528966701', 1);
INSERT INTO `yx_wechat_template` VALUES (13, 'OPENTM207791277', '订单支付成功通知', '{{first.DATA}}\n订单编号:{{keyword1.DATA}}\n支付金额:{{keyword2.DATA}}\n{{remark.DATA}}', 'hJV1d1OwWB_lbPrSaRHi9RGr5CFAF4PJcZdYeg73Mtg', '1528966759', 1);
-INSERT INTO `yx_wechat_template` VALUES (14, 'OPENTM410292733', '砍价成功提醒', '{{first.DATA}}\n商品名称:{{keyword1.DATA}}\n底价:{{keyword2.DATA}}\n{{remark.DATA}}', 'SxBvid65JxK6PWOhlC2sgCG_mlopY1uKekEnEvAALp4', '1564566678', 1);
-INSERT INTO `yx_wechat_template` VALUES (15, 'OPENTM414349441', '开团成功通知', '{{first.DATA}}\n拼团名称:{{keyword1.DATA}}\n团购价格:{{keyword2.DATA}}\n拼团人数:{{keyword3.DATA}}\n{{remark.DATA}}', 'VDTU6X1UiK438tu-qcHKc_I76CtsEWVx-_Pbf1voiws', '1564567037', 1);
-- ----------------------------
-- Table structure for yx_wechat_user
diff --git a/yshop-api/src/main/java/co/yixiang/modules/manage/entity/YxExpress.java b/yshop-api/src/main/java/co/yixiang/modules/manage/entity/YxExpress.java
new file mode 100644
index 00000000..1a0b1e0e
--- /dev/null
+++ b/yshop-api/src/main/java/co/yixiang/modules/manage/entity/YxExpress.java
@@ -0,0 +1,44 @@
+package co.yixiang.modules.manage.entity;
+
+import com.baomidou.mybatisplus.annotation.IdType;
+import co.yixiang.common.entity.BaseEntity;
+import com.baomidou.mybatisplus.annotation.TableId;
+import io.swagger.annotations.ApiModel;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import lombok.EqualsAndHashCode;
+
+import java.util.Date;
+
+/**
+ *
+ * 快递公司表
+ *
+ *
+ * @author hupeng
+ * @since 2019-12-13
+ */
+@Data
+@EqualsAndHashCode(callSuper = true)
+@ApiModel(value="YxExpress对象", description="快递公司表")
+public class YxExpress extends BaseEntity {
+
+ private static final long serialVersionUID = 1L;
+
+@ApiModelProperty(value = "快递公司id")
+@TableId(value = "id", type = IdType.AUTO)
+private Integer id;
+
+@ApiModelProperty(value = "快递公司简称")
+private String code;
+
+@ApiModelProperty(value = "快递公司全称")
+private String name;
+
+@ApiModelProperty(value = "排序")
+private Integer sort;
+
+@ApiModelProperty(value = "是否显示")
+private Boolean isShow;
+
+}
diff --git a/yshop-api/src/main/java/co/yixiang/modules/manage/mapper/YxExpressMapper.java b/yshop-api/src/main/java/co/yixiang/modules/manage/mapper/YxExpressMapper.java
new file mode 100644
index 00000000..bd8b33d9
--- /dev/null
+++ b/yshop-api/src/main/java/co/yixiang/modules/manage/mapper/YxExpressMapper.java
@@ -0,0 +1,40 @@
+package co.yixiang.modules.manage.mapper;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import com.baomidou.mybatisplus.core.mapper.BaseMapper;
+import co.yixiang.modules.manage.entity.YxExpress;
+import co.yixiang.modules.manage.web.param.YxExpressQueryParam;
+import co.yixiang.modules.manage.web.vo.YxExpressQueryVo;
+import org.apache.ibatis.annotations.Param;
+import org.springframework.stereotype.Repository;
+
+import java.io.Serializable;
+
+/**
+ *
+ * 快递公司表 Mapper 接口
+ *
+ *
+ * @author hupeng
+ * @since 2019-12-13
+ */
+@Repository
+public interface YxExpressMapper extends BaseMapper {
+
+ /**
+ * 根据ID获取查询对象
+ * @param id
+ * @return
+ */
+ YxExpressQueryVo getYxExpressById(Serializable id);
+
+ /**
+ * 获取分页对象
+ * @param page
+ * @param yxExpressQueryParam
+ * @return
+ */
+ IPage getYxExpressPageList(@Param("page") Page page, @Param("param") YxExpressQueryParam yxExpressQueryParam);
+
+}
diff --git a/yshop-api/src/main/java/co/yixiang/modules/manage/service/YxExpressService.java b/yshop-api/src/main/java/co/yixiang/modules/manage/service/YxExpressService.java
new file mode 100644
index 00000000..902ba9e6
--- /dev/null
+++ b/yshop-api/src/main/java/co/yixiang/modules/manage/service/YxExpressService.java
@@ -0,0 +1,35 @@
+package co.yixiang.modules.manage.service;
+
+import co.yixiang.modules.manage.entity.YxExpress;
+import co.yixiang.common.service.BaseService;
+import co.yixiang.modules.manage.web.param.YxExpressQueryParam;
+import co.yixiang.modules.manage.web.vo.YxExpressQueryVo;
+import co.yixiang.common.web.vo.Paging;
+
+import java.io.Serializable;
+
+/**
+ *
+ * 快递公司表 服务类
+ *
+ *
+ * @author hupeng
+ * @since 2019-12-13
+ */
+public interface YxExpressService extends BaseService {
+
+ /**
+ * 根据ID获取查询对象
+ * @param id
+ * @return
+ */
+ YxExpressQueryVo getYxExpressById(Serializable id);
+
+ /**
+ * 获取分页对象
+ * @param yxExpressQueryParam
+ * @return
+ */
+ Paging getYxExpressPageList(YxExpressQueryParam yxExpressQueryParam) throws Exception;
+
+}
diff --git a/yshop-api/src/main/java/co/yixiang/modules/manage/service/impl/YxExpressServiceImpl.java b/yshop-api/src/main/java/co/yixiang/modules/manage/service/impl/YxExpressServiceImpl.java
new file mode 100644
index 00000000..b0f5f5e8
--- /dev/null
+++ b/yshop-api/src/main/java/co/yixiang/modules/manage/service/impl/YxExpressServiceImpl.java
@@ -0,0 +1,49 @@
+package co.yixiang.modules.manage.service.impl;
+
+import co.yixiang.modules.manage.entity.YxExpress;
+import co.yixiang.modules.manage.mapper.YxExpressMapper;
+import co.yixiang.modules.manage.service.YxExpressService;
+import co.yixiang.modules.manage.web.param.YxExpressQueryParam;
+import co.yixiang.modules.manage.web.vo.YxExpressQueryVo;
+import co.yixiang.common.service.impl.BaseServiceImpl;
+import co.yixiang.common.web.vo.Paging;
+import lombok.extern.slf4j.Slf4j;
+import org.springframework.stereotype.Service;
+import org.springframework.transaction.annotation.Transactional;
+import org.springframework.beans.factory.annotation.Autowired;
+
+import com.baomidou.mybatisplus.core.metadata.IPage;
+import com.baomidou.mybatisplus.core.metadata.OrderItem;
+import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
+import java.io.Serializable;
+
+
+/**
+ *
+ * 快递公司表 服务实现类
+ *
+ *
+ * @author hupeng
+ * @since 2019-12-13
+ */
+@Slf4j
+@Service
+@Transactional(rollbackFor = Exception.class)
+public class YxExpressServiceImpl extends BaseServiceImpl implements YxExpressService {
+
+ @Autowired
+ private YxExpressMapper yxExpressMapper;
+
+ @Override
+ public YxExpressQueryVo getYxExpressById(Serializable id){
+ return yxExpressMapper.getYxExpressById(id);
+ }
+
+ @Override
+ public Paging getYxExpressPageList(YxExpressQueryParam yxExpressQueryParam) throws Exception{
+ Page page = setPageParam(yxExpressQueryParam,OrderItem.desc("create_time"));
+ IPage iPage = yxExpressMapper.getYxExpressPageList(page,yxExpressQueryParam);
+ return new Paging(iPage);
+ }
+
+}
diff --git a/yshop-api/src/main/java/co/yixiang/modules/manage/web/controller/ShoperController.java b/yshop-api/src/main/java/co/yixiang/modules/manage/web/controller/ShoperController.java
index 2e176137..b54a7fac 100644
--- a/yshop-api/src/main/java/co/yixiang/modules/manage/web/controller/ShoperController.java
+++ b/yshop-api/src/main/java/co/yixiang/modules/manage/web/controller/ShoperController.java
@@ -4,6 +4,7 @@ import cn.hutool.core.util.ObjectUtil;
import cn.hutool.core.util.StrUtil;
import co.yixiang.common.api.ApiResult;
import co.yixiang.common.web.controller.BaseController;
+import co.yixiang.modules.manage.service.YxExpressService;
import co.yixiang.modules.manage.web.dto.OrderTimeDataDTO;
import co.yixiang.modules.manage.web.param.OrderDeliveryParam;
import co.yixiang.modules.manage.web.param.OrderPriceParam;
@@ -39,6 +40,7 @@ public class ShoperController extends BaseController {
private final YxStoreOrderService storeOrderService;
//private final YxUserService yxUserService;
+ private final YxExpressService expressService;
/**
* 订单数据统计
@@ -46,7 +48,6 @@ public class ShoperController extends BaseController {
@GetMapping("/admin/order/statistics")
@ApiOperation(value = "订单数据统计",notes = "订单数据统计")
public ApiResult