SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Records of __PREFIX__notice
-- ----------------------------
BEGIN;
INSERT INTO `__PREFIX__notice` VALUES (1, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额599、订单号2382342。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699198255, 1699198255, NULL);
INSERT INTO `__PREFIX__notice` VALUES (2, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额599、订单号2382342。', '{\"url\":\"user\\/user\\/edit\\/ids\\/{user_id}\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699198255, 1699198255, NULL);
INSERT INTO `__PREFIX__notice` VALUES (3, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额599、订单号2382342。', '{\"url\":\"user\\/user\\/edit\\/ids\\/{user_id}\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699198255, 1699198255, NULL);
INSERT INTO `__PREFIX__notice` VALUES (4, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 3斤苹果，消费金额 599.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, NULL, 1699198255, 1699198255, NULL);
INSERT INTO `__PREFIX__notice` VALUES (5, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额299、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699198272, 1699198272, NULL);
INSERT INTO `__PREFIX__notice` VALUES (6, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额299、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/{user_id}\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699198272, 1699198272, NULL);
INSERT INTO `__PREFIX__notice` VALUES (7, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额299、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/{user_id}\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699198272, 1699198272, NULL);
INSERT INTO `__PREFIX__notice` VALUES (8, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 10斤猪肉，消费金额 299.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, NULL, 1699198272, 1699198272, NULL);
INSERT INTO `__PREFIX__notice` VALUES (9, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额299、订单号8848。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699200443, 1699200443, NULL);
INSERT INTO `__PREFIX__notice` VALUES (10, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额299、订单号8848。', '{\"url\":\"user\\/user\\/edit\\/ids\\/{user_id}\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699200443, 1699200443, NULL);
INSERT INTO `__PREFIX__notice` VALUES (11, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额299、订单号8848。', '{\"url\":\"user\\/user\\/edit\\/ids\\/{user_id}\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699200443, 1699200443, NULL);
INSERT INTO `__PREFIX__notice` VALUES (12, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 3斤苹果，消费金额 299.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, 1699236012, 1699200443, 1699200443, NULL);
INSERT INTO `__PREFIX__notice` VALUES (13, '新订单提醒(测试)', 'test', 'user', 'miniapp', 1, '', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 11, NULL, 1699200443, 1699200443, NULL);
INSERT INTO `__PREFIX__notice` VALUES (14, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额333、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, 1699236021, 1699234967, 1699234967, NULL);
INSERT INTO `__PREFIX__notice` VALUES (15, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额333、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699234967, 1699234967, NULL);
INSERT INTO `__PREFIX__notice` VALUES (16, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额333、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699234967, 1699234967, NULL);
INSERT INTO `__PREFIX__notice` VALUES (17, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 10斤猪肉，消费金额 333.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, NULL, 1699234967, 1699234967, NULL);
INSERT INTO `__PREFIX__notice` VALUES (18, '新订单提醒(测试)', 'test', 'user', 'miniapp', 1, '', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 11, NULL, 1699234967, 1699234967, NULL);
INSERT INTO `__PREFIX__notice` VALUES (19, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额9999、订单号8848。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699275954, 1699275954, NULL);
INSERT INTO `__PREFIX__notice` VALUES (20, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额9999、订单号8848。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699275954, 1699275954, NULL);
INSERT INTO `__PREFIX__notice` VALUES (21, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额9999、订单号8848。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699275954, 1699275954, NULL);
INSERT INTO `__PREFIX__notice` VALUES (22, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 10斤猪肉，消费金额 9999.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, 1699630508, 1699275954, 1699275954, NULL);
INSERT INTO `__PREFIX__notice` VALUES (23, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额9999、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699276002, 1699276002, NULL);
INSERT INTO `__PREFIX__notice` VALUES (24, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额9999、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699276002, 1699276002, NULL);
INSERT INTO `__PREFIX__notice` VALUES (25, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额9999、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699276002, 1699276002, NULL);
INSERT INTO `__PREFIX__notice` VALUES (26, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 10斤猪肉，消费金额 9999.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, 1699630506, 1699276002, 1699276002, NULL);
INSERT INTO `__PREFIX__notice` VALUES (27, '新订单提醒(测试)', 'test', 'admin', 'msg', 1, '您有新的订单待处理请及时查看、金额9999、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699276174, 1699276174, NULL);
INSERT INTO `__PREFIX__notice` VALUES (28, '新订单提醒(测试)', 'test', 'admin', 'msg', 2, '您有新的订单待处理请及时查看、金额9999、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699276174, 1699276174, NULL);
INSERT INTO `__PREFIX__notice` VALUES (29, '新订单提醒(测试)', 'test', 'admin', 'msg', 3, '您有新的订单待处理请及时查看、金额9999、订单号8884。', '{\"url\":\"user\\/user\\/edit\\/ids\\/1\",\"url_type\":2,\"url_title\":\"\\u6d4b\\u8bd5\\u9875\\u9762(\\u53ef\\u914d\\u7f6e)\"}', 7, NULL, 1699276174, 1699276174, NULL);
INSERT INTO `__PREFIX__notice` VALUES (30, '新订单提醒(测试)', 'test', 'user', 'msg', 1, '你成功下单 10斤猪肉，消费金额 9999.', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 8, NULL, 1699276174, 1699276174, NULL);
INSERT INTO `__PREFIX__notice` VALUES (31, '新订单提醒(测试)', 'test', 'user', 'miniapp', 1, '', '{\"url\":\"\",\"url_type\":1,\"url_title\":\"\"}', 11, NULL, 1699276174, 1699276174, NULL);
COMMIT;

-- ----------------------------
-- Records of __PREFIX__notice_event
-- ----------------------------
BEGIN;
INSERT INTO `__PREFIX__notice_event` VALUES (1, 'user', 'msg,miniapp', '消费积分', 'reduce_score', 0, 0, '{\"user_id\":\"用户id\",\"score\":\"积分值\",\"before\":\"变更前积分\",\"after\":\"变更后积分\",\"memo\":\"原因\",\"createtime_text\":\"发生时间(年-月-日 时:分:秒)\"}', 1, 1611811483, 1699197432, NULL);
INSERT INTO `__PREFIX__notice_event` VALUES (2, 'user', 'msg,miniapp', '获得积分', 'gain_score', 0, 0, '{\"user_id\":\"用户id\",\"score\":\"积分值\",\"before\":\"变更前积分\",\"after\":\"变更后积分\",\"memo\":\"原因\",\"createtime_text\":\"发生时间(年-月-日 时:分:秒)\"}', 1, 1611811519, 1699197439, NULL);
INSERT INTO `__PREFIX__notice_event` VALUES (3, 'user', 'msg,email', '消费余额', 'reduce_money', 0, 0, '{\"user_id\":\"用户id\",\"money\":\"余额\",\"before\":\"变更前积分\",\"after\":\"变更后积分\",\"memo\":\"原因\",\"createtime_text\":\"发生时间(年-月-日 时:分:秒)\"}', 1, 1611811483, 1647929422, NULL);
INSERT INTO `__PREFIX__notice_event` VALUES (4, 'admin', 'msg,email', '获得余额', 'gain_money', 0, 0, '{\"user_id\":\"用户id\",\"money\":\"余额\",\"before\":\"变更前积分\",\"after\":\"变更后积分\",\"memo\":\"原因\",\"createtime_text\":\"发生时间(年-月-日 时:分:秒)\"}', 1, 1611811519, 1699629807, NULL);
INSERT INTO `__PREFIX__notice_event` VALUES (5, 'user,admin', 'msg,email,mptemplate,miniapp,sms', '新订单提醒(测试)', 'test', 53, 0, '{\"user_id\":\"用户id\",\"no\":\"订单号\",\"title\":\"订单标题\",\"money\":\"订单金额\"}', 1, 1647929183, 1699630011, NULL);
COMMIT;

-- ----------------------------
-- Records of __PREFIX__notice_template
-- ----------------------------
BEGIN;
INSERT INTO `__PREFIX__notice_template` VALUES (1, 1, 'user', 'msg', NULL, NULL, '您于{{createtime_text}}消费了{{score}}积分。', 0, 0, 0, NULL, NULL, NULL, NULL, 1, 1647929707);
INSERT INTO `__PREFIX__notice_template` VALUES (2, 2, 'user', 'msg', NULL, NULL, '您于{{createtime_text}}获得了{{score}}积分。', 0, 0, 0, NULL, 1611997563, NULL, NULL, 1, 1647929700);
INSERT INTO `__PREFIX__notice_template` VALUES (3, 1, 'user', 'email', NULL, NULL, '您于{{createtime_text}}消费了{{score}}积分。', 0, 0, 0, NULL, 1611998552, NULL, NULL, 1, 1613964268);
INSERT INTO `__PREFIX__notice_template` VALUES (4, 2, 'user', 'email', NULL, NULL, '您于{{createtime_text}}获得了{{score}}积分。', 0, 0, 0, NULL, 1611998562, NULL, NULL, 1, 1613962053);
INSERT INTO `__PREFIX__notice_template` VALUES (5, 1, 'admin', 'email', NULL, NULL, '用户{{user_nickname}}通过{{memo}}消费了{{score}}积分。', 0, 0, 0, NULL, 1613662852, NULL, NULL, 1, 1613888236);
INSERT INTO `__PREFIX__notice_template` VALUES (6, 1, 'admin', 'msg', NULL, NULL, '用户{{user_nickname}}通过{{memo}}消费{{score}}积分。', 1, 0, 0, NULL, 1613662880, NULL, NULL, 1, 1613888225);
INSERT INTO `__PREFIX__notice_template` VALUES (7, 5, 'admin', 'msg', NULL, NULL, '您有新的订单待处理请及时查看、金额{{money}}、订单号{{no}}。', 1, 16, 0, NULL, 1647929671, 'user/user/edit/ids/{{user_id}}', '测试页面(可配置)', 2, 1699234723);
INSERT INTO `__PREFIX__notice_template` VALUES (8, 5, 'user', 'msg', NULL, NULL, '你成功下单 {{title}}，消费金额 {{money}}.', 1, 16, 0, NULL, 1647929769, '', '', 1, 1699198238);
INSERT INTO `__PREFIX__notice_template` VALUES (9, 5, 'admin', 'mptemplate', 'fJ3Z3QDxo4hiOrltu2PtMBwmzeU3RQ1I86UG2iYoGY4', '{\"title\":\"{{title}}\",\"money\":\"{{money}}\"}', '', 0, 8, 8, NULL, 1647939557, NULL, NULL, 1, 1699197613);
INSERT INTO `__PREFIX__notice_template` VALUES (10, 5, 'user', 'mptemplate', 'fJ3Z3QDxo4hiOrltu2PtMBwmzeU3RQ1I86UG2iYoGY4', '{\"title\":\"标题{{title}}\",\"money\":\"{{money}}\"}', NULL, 0, 8, 8, NULL, 1647939557, NULL, NULL, 1, 1699197635);
INSERT INTO `__PREFIX__notice_template` VALUES (11, 5, 'user', 'miniapp', 'ODV7Nj5yvmcm_2f0MCMtHcM1cH7Gz9J6DupafP2scvk', '{\"thing2\":\"{{title}}\",\"amount3\":\"{{money}}\",\"character_string4\":\"{{no}}\"}', '', 1, 5, 2, NULL, 1699198961, '', '', 1, 1699234832);
INSERT INTO `__PREFIX__notice_template` VALUES (12, 5, 'admin', 'sms', 'SMS_269440746', '{\"title\":\"{{title}}\",\"title2\":\"{{user_nickname}}\"}', '', 1, 0, 0, NULL, 1699630089, '', '', 1, 1699630089);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
