diff --git a/application/admin/controller/Answer.php b/application/admin/controller/Answer.php index c1946c450..20b8fb931 100755 --- a/application/admin/controller/Answer.php +++ b/application/admin/controller/Answer.php @@ -92,6 +92,67 @@ class Answer extends Common return $this->fetch(); } + /** + * [SaveInfo 添加/编辑页面] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-14T21:37:02+0800 + */ + public function SaveInfo() + { + // 参数 + $params = input(); + + // 数据 + $data = []; + if(!empty($params['id'])) + { + // 获取列表 + $data_params = array( + 'm' => 0, + 'n' => 1, + 'where' => ['id'=>intval($params['id'])], + 'field' => '*', + ); + $ret = AnswerService::AnswerList($data_params); + $data = empty($ret['data'][0]) ? [] : $ret['data'][0]; + } + $this->assign('data', $data); + + // 状态 + $this->assign('common_is_show_list', lang('common_is_show_list')); + + // 是否 + $this->assign('common_is_text_list', lang('common_is_text_list')); + + // 参数 + unset($params['id']); + $this->assign('params', $params); + + return $this->fetch(); + } + + /** + * [Save 保存] + * @author Devil + * @blog http://gong.gg/ + * @version 0.0.1 + * @datetime 2016-12-25T22:36:12+0800 + */ + public function Save() + { + // 是否ajax请求 + if(!IS_AJAX) + { + return $this->error('非法访问'); + } + + // 开始处理 + $params = input(); + return AnswerService::AnswerSave($params); + } + /** * 问答删除 * @author Devil diff --git a/application/admin/view/default/answer/index.html b/application/admin/view/default/answer/index.html index 061e06020..62ba7ee89 100755 --- a/application/admin/view/default/answer/index.html +++ b/application/admin/view/default/answer/index.html @@ -39,6 +39,12 @@ + +
+ 新增 +
+ + @@ -93,7 +99,7 @@ diff --git a/application/admin/view/default/answer/save_info.html b/application/admin/view/default/answer/save_info.html new file mode 100644 index 000000000..e5766ae59 --- /dev/null +++ b/application/admin/view/default/answer/save_info.html @@ -0,0 +1,66 @@ +{{include file="public/header" /}} + + +
+
+ +
+ + + {{if empty($data['id'])}} + 问答添加 + {{else /}} + 问答编辑 + {{/if}} + + 返回 + +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + + +
+ + +
+
+ + + +{{include file="public/footer" /}} + \ No newline at end of file diff --git a/application/api/controller/Answer.php b/application/api/controller/Answer.php index 805da0666..7180d8ad4 100755 --- a/application/api/controller/Answer.php +++ b/application/api/controller/Answer.php @@ -94,7 +94,7 @@ class Answer extends Common $params = $this->data_post; $params['user'] = $this->user; - return AnswerService::Add($params); + return AnswerService::AnswerSave($params); } } ?> \ No newline at end of file diff --git a/application/plugins/answers/Index.php b/application/plugins/answers/Index.php index 53e649466..ab017b555 100644 --- a/application/plugins/answers/Index.php +++ b/application/plugins/answers/Index.php @@ -218,7 +218,7 @@ class Index extends Controller { $params = input('post.'); $params['user'] = UserService::LoginUserInfo(); - return AnswerService::Add($params); + return AnswerService::AnswerSave($params); } } ?> \ No newline at end of file diff --git a/application/plugins/commonrightnavigation/Index.php b/application/plugins/commonrightnavigation/Index.php index 3162f0a98..2afcb4416 100755 --- a/application/plugins/commonrightnavigation/Index.php +++ b/application/plugins/commonrightnavigation/Index.php @@ -36,7 +36,7 @@ class Index extends Controller { $params = input('post.'); $params['user'] = UserService::LoginUserInfo(); - return AnswerService::Add($params); + return AnswerService::AnswerSave($params); } /** diff --git a/application/service/AnswerService.php b/application/service/AnswerService.php index 222d09ea0..989f0594b 100755 --- a/application/service/AnswerService.php +++ b/application/service/AnswerService.php @@ -162,7 +162,7 @@ class AnswerService } /** - * 用户留言添加 + * 用户留言保存 * @author Devil * @blog http://gong.gg/ * @version 1.0.0 @@ -170,7 +170,7 @@ class AnswerService * @desc description * @param [array] $params [输入参数] */ - public static function Add($params = []) + public static function AnswerSave($params = []) { // 参数校验 $p = [ @@ -207,18 +207,38 @@ class AnswerService // 开始操作 $data = [ - 'user_id' => isset($params['user']['id']) ? intval($params['user']['id']) : 0, + 'user_id' => isset($params['user']['id']) ? intval($params['user']['id']) : (isset($params['user_id']) ? intval($params['user_id']) : 0), 'name' => isset($params['name']) ? $params['name'] : '', 'tel' => isset($params['tel']) ? $params['tel'] : '', 'title' => isset($params['title']) ? $params['title'] : '', 'content' => $params['content'], + 'reply' => isset($params['reply']) ? $params['reply'] : '', + 'access_count' => isset($params['access_count']) ? intval($params['access_count']) : 0, + 'is_reply' => isset($params['is_reply']) ? intval($params['is_reply']) : 0, + 'is_show' => isset($params['is_show']) ? intval($params['is_show']) : 0, 'add_time' => time(), ]; - if(Db::name('Answer')->insertGetId($data) > 0) + + // 回复时间 + $data['reply_time'] = (isset($data['is_reply']) && $data['is_reply'] == 1) ? time() : 0; + + // 不存在添加,则更新 + if(empty($params['id'])) { - return DataReturn('提交成功', 0); + $data['add_time'] = time(); + if(Db::name('Answer')->insertGetId($data) > 0) + { + return DataReturn('提交成功', 0); + } + return DataReturn('提交失败', -100); + } else { + $data['upd_time'] = time(); + if(Db::name('Answer')->where(['id'=>intval($params['id'])])->update($data)) + { + return DataReturn('编辑成功', 0); + } + return DataReturn('编辑失败', -100); } - return DataReturn('提交失败', -100); } /** diff --git a/config/shopxo.sql b/config/shopxo.sql index 793651401..37814f0b4 100644 --- a/config/shopxo.sql +++ b/config/shopxo.sql @@ -9,7 +9,7 @@ Target Server Version : 50716 File Encoding : utf-8 - Date: 03/31/2019 00:28:47 AM + Date: 03/31/2019 01:22:07 AM */ SET NAMES utf8; @@ -64,13 +64,13 @@ CREATE TABLE `s_answer` ( KEY `user_id` (`name`), KEY `is_delete_time` (`is_delete_time`), KEY `is_show` (`is_show`) -) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户留言/问答'; +) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='用户留言/问答'; -- ---------------------------- -- Records of `s_answer` -- ---------------------------- BEGIN; -INSERT INTO `s_answer` VALUES ('1', '0', '测试名字', '1322222222', '什么时候发布新版', '请问新版本什么时候发布呀?非常期待哦~', '', '0', '0', '1', '48', '0', '1551941748', '0'), ('2', '77', 'test', '13555555555', '男女薪酬差距过大问题', '男女薪酬差距过大,你怎么看?', '很正常的现象,毕竟大多数人是拖后腿的。\n\n女性工资高于男性的有,但是就平均来讲,却是另一种情况。原因就在于岗位不同,自然薪酬就不一样。女性由于身体各方面条件的限制,可以说是选择工作岗位比男性少了不少,女性可以做销售,可以做文职,当然也可以做互联网,但是有的女生身体素质不太适用于熬夜加班,毕竟女生担当了生儿育女这一项风险极大的活动,自然受到很多的限制,所以在岗位的选择,工作时间的适应上,女性并不占优势,薪酬的比例自然就降低了。', '1', '1558948854', '1', '60', '0', '1551948802', '1551948854'), ('3', '0', '测试2', '13444556666', '《绿皮书》破亿', '为什么电影《绿皮书》三天票房能破亿?', '', '0', '0', '1', '1', '0', '1551948896', '0'), ('4', '0', '测试3', '13222666666', '詹姆斯总得分超乔丹', '詹姆斯总得分超乔丹,怎么评价这一纪录?', '', '0', '0', '1', '0', '0', '1551948947', '0'), ('5', '0', '测试5', '13222335555', '植物奶油和动物奶油的区别', '植物奶油和动物奶油的区别是?', '', '0', '0', '1', '0', '0', '1551948985', '0'), ('6', '0', '测试6', '13222333333', '', '既然彩虹是圆形的,那为什么我们看到的都是拱形的?', '', '0', '0', '1', '3', '0', '1551949040', '0'), ('7', '0', '测试7', '13277888888', '', '给我家孩子投一票”,绑架了近一半人的朋友圈', '', '0', '0', '1', '1', '0', '1551949065', '0'), ('8', '0', '测试8', '13233222222', '', '秃如其来的年轻人,这是怎么了?', '', '0', '0', '1', '0', '0', '1551949100', '0'), ('9', '0', '测试的', '13445555555', '', '小学生异地转学籍需要什么手续?', '', '0', '0', '1', '1', '0', '1551949178', '0'), ('10', '0', '测试a', '13222112222', '', '巴厘岛旅游出入境及免签流程?', '', '0', '0', '1', '0', '0', '1551949200', '0'), ('11', '0', 'cessss', '13444555555', '', '日常生活中哪些物品需要缴纳消费税?', '', '0', '0', '1', '0', '0', '1551949219', '0'), ('12', '0', 'tttstt', '13566666666', '', '申请更换机动车车身颜色需要办理哪些手续?', '', '0', '0', '1', '17', '0', '1551949243', '0'), ('13', '0', 'ttvvvkkkk', '13555666666', '', '房产税与契税有什么区别?', '', '0', '0', '1', '0', '0', '1551949326', '0'), ('14', '0', 'Cesd', '13566666666', '', '家庭聚会时,可以做哪些自制饮料?', '', '0', '0', '1', '0', '0', '1551949382', '0'), ('15', '0', '测试的订', '13455667777', '', '一个狗喝了我家的洗手盆里的水,水扔了,洗手盆还能用吗?会不会感染病?', '', '0', '0', '1', '2', '0', '1551949425', '0'), ('16', '0', 'rrttt', '13455667777', '', '古代中国朴素唯物主义自然观有哪些作用?', '', '0', '0', '1', '0', '0', '1551949762', '0'), ('17', '0', '你好', '13455666666', '', '一部耽美漫画男主家穷从小就去了攻的家里作为玩具陪伴攻受长大回到家里攻搅黄受家里的生意让受再回到身边', '', '0', '0', '1', '1', '0', '1551949840', '0'), ('18', '7', '122天天', '13455555555', '', '6吨粮食酒里加20公斤冰糖可以吗?', '', '0', '0', '1', '0', '0', '1551949870', '0'), ('19', '77', 'v看见', '13455222222', '', '単位与个人无解除劳动关系手续转入社保个人窗口合法吗', '', '0', '0', '1', '0', '0', '1551949947', '0'), ('20', '77', '', '', '', '如果你是汉献帝被挟曹操天子以令诸侯你会怎么做?', '', '0', '0', '1', '1', '0', '1551954351', '0'); +INSERT INTO `s_answer` VALUES ('1', '0', '测试名字', '1322222222', '什么时候发布新版', '请问新版本什么时候发布呀?非常期待哦~', '', '0', '0', '1', '48', '0', '1553965588', '1553965588'), ('2', '77', 'test', '13555555555', '男女薪酬差距过大问题', '男女薪酬差距过大,你怎么看?', '很正常的现象,毕竟大多数人是拖后腿的。\n\n女性工资高于男性的有,但是就平均来讲,却是另一种情况。原因就在于岗位不同,自然薪酬就不一样。女性由于身体各方面条件的限制,可以说是选择工作岗位比男性少了不少,女性可以做销售,可以做文职,当然也可以做互联网,但是有的女生身体素质不太适用于熬夜加班,毕竟女生担当了生儿育女这一项风险极大的活动,自然受到很多的限制,所以在岗位的选择,工作时间的适应上,女性并不占优势,薪酬的比例自然就降低了。', '1', '1558948854', '1', '60', '0', '1551948802', '1551948854'), ('3', '0', '测试2', '13444556666', '《绿皮书》破亿', '为什么电影《绿皮书》三天票房能破亿?', '', '0', '0', '1', '1', '0', '1551948896', '0'), ('4', '0', '测试3', '13222666666', '詹姆斯总得分超乔丹', '詹姆斯总得分超乔丹,怎么评价这一纪录?', '', '0', '0', '1', '0', '0', '1551948947', '0'), ('5', '0', '测试5', '13222335555', '植物奶油和动物奶油的区别', '植物奶油和动物奶油的区别是?', '', '0', '0', '1', '0', '0', '1551948985', '0'), ('6', '0', '测试6', '13222333333', '', '既然彩虹是圆形的,那为什么我们看到的都是拱形的?', '', '0', '0', '1', '3', '0', '1551949040', '0'), ('7', '0', '测试7', '13277888888', '', '给我家孩子投一票”,绑架了近一半人的朋友圈', '', '0', '0', '1', '1', '0', '1551949065', '0'), ('8', '0', '测试8', '13233222222', '', '秃如其来的年轻人,这是怎么了?', '', '0', '0', '1', '0', '0', '1551949100', '0'), ('9', '0', '测试的', '13445555555', '', '小学生异地转学籍需要什么手续?', '', '0', '0', '1', '1', '0', '1551949178', '0'), ('10', '0', '测试a', '13222112222', '', '巴厘岛旅游出入境及免签流程?', '', '0', '0', '1', '0', '0', '1553965689', '1553965689'), ('11', '0', 'cessss', '13444555555', '', '日常生活中哪些物品需要缴纳消费税?', '', '0', '0', '1', '0', '0', '1551949219', '0'), ('12', '0', 'tttstt', '13566666666', '', '申请更换机动车车身颜色需要办理哪些手续?', '', '0', '0', '1', '17', '0', '1551949243', '0'), ('13', '0', 'ttvvvkkkk', '13555666666', '', '房产税与契税有什么区别?', '', '0', '0', '1', '0', '0', '1551949326', '0'), ('14', '0', 'Cesd', '13566666666', '', '家庭聚会时,可以做哪些自制饮料?', '', '0', '0', '1', '0', '0', '1551949382', '0'), ('15', '0', '测试的订', '13455667777', '', '一个狗喝了我家的洗手盆里的水,水扔了,洗手盆还能用吗?会不会感染病?', '', '0', '0', '1', '2', '0', '1551949425', '0'), ('16', '0', 'rrttt', '13455667777', '', '古代中国朴素唯物主义自然观有哪些作用?', '', '0', '0', '1', '0', '0', '1551949762', '0'), ('17', '0', '你好', '13455666666', '', '一部耽美漫画男主家穷从小就去了攻的家里作为玩具陪伴攻受长大回到家里攻搅黄受家里的生意让受再回到身边', '', '0', '0', '1', '1', '0', '1551949840', '0'), ('18', '7', '122天天', '13455555555', '', '6吨粮食酒里加20公斤冰糖可以吗?', '', '0', '0', '1', '0', '0', '1551949870', '0'), ('19', '77', 'v看见', '13455222222', '', '単位与个人无解除劳动关系手续转入社保个人窗口合法吗', '', '0', '0', '1', '0', '0', '1551949947', '0'), ('20', '77', '111', '17602128368', '', '如果你是汉献帝被挟曹操天子以令诸侯你会怎么做?', '公共', '0', '0', '1', '16', '0', '1553966246', '1553966246'), ('21', '0', 'Devil', '17602128368', '宽屏幻灯片插件', '分隔符哥哥', 'SD第三个分隔符', '1', '1553966228', '1', '5', '1553966238', '1553966228', '1553966228'), ('22', '97', '刚刚给', '', '宽屏幻灯片插件222', '分隔符哥发发给丹甫股份的哥\n梵蒂冈电饭锅', '分隔符冬瓜豆腐哥苟富贵分隔符', '1', '1553966373', '1', '1', '1553966425', '1553966373', '1553966373'), ('23', '97', '343434', '18386015536', '测试商品', '丹甫股份的哥', '分隔符哥', '1', '1553966410', '1', '1', '1553966421', '1553966410', '1553966410'); COMMIT; -- ---------------------------- @@ -942,13 +942,13 @@ CREATE TABLE `s_power` ( `icon` char(60) NOT NULL DEFAULT '' COMMENT '图标class', `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间', PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=352 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; +) ENGINE=InnoDB AUTO_INCREMENT=354 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='权限'; -- ---------------------------- -- Records of `s_power` -- ---------------------------- BEGIN; -INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Power', 'Role', '11', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '21', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'PowerSave', '22', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'PowerDelete', '23', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Power', 'RoleSaveInfo', '12', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Power', 'RoleSave', '13', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Power', 'RoleDelete', '14', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '3', '1', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '1', '1', 'icon-peizhi', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '1', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '1', '1', 'icon-zhandianpeizhi', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '30', '1', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'icon-yonghuguanli', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '6', '0', '', '1522223773'), ('153', '222', '地区管理', 'Region', 'Index', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'icon-dingdan', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '3', '0', '', '1527497803'), ('181', '38', '商品上下架', 'Goods', 'StatusShelves', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '13', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '20', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '51', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '12', '1', 'icon-wenzhang', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '12', '0', '', '1530361126'), ('213', '0', '问答留言', 'Answer', 'Index', '6', '1', 'icon-wenda', '1533112421'), ('214', '213', '问答留言', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言回复', 'Answer', 'Reply', '1', '0', '', '1533119660'), ('216', '213', '问答留言删除', 'Answer', 'Delete', '2', '0', '', '1533119680'), ('217', '213', '问答留言状态更新', 'Answer', 'StatusUpdate', '3', '0', '', '1533119704'), ('218', '38', '商品首页推荐', 'Goods', 'StatusHomeRecommended', '6', '0', '', '1533564476'), ('219', '81', '邮箱设置', 'Email', 'Index', '20', '1', '', '1533636067'), ('220', '81', '邮箱添加/编辑', 'Email', 'Save', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '7', '1', 'icon-wangzhanguanli', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '33', '0', '', '1494410655'), ('248', '204', '商品首页推荐', 'Article', 'StatusHomeRecommended', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '8', '1', 'icon-ico-pinpaiguanli', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StatusUpdate', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '10', '1', 'icon-xiaochengxu-alipay', '1542558274'), ('313', '312', '基础配置', 'AppMiniAlipayConfig', 'Index', '0', '1', '', '1542558297'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '14', '0', '', '1542558767'), ('319', '0', '手机端管理', 'App', 'Index', '9', '1', 'icon-shouji', '0'), ('325', '312', '基础配置保存', 'AppMiniAlipayConfig', 'Save', '1', '0', '', '1542596647'), ('326', '319', '基础配置', 'AppConfig', 'Index', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '1', '0', '', '1543206402'), ('328', '312', '小程序', 'AppMiniAlipayList', 'Index', '10', '1', '', '1543304094'), ('329', '312', '小程序生成', 'AppMiniAlipayList', 'Created', '11', '0', '', '1543305528'), ('330', '312', '小程序删除', 'AppMiniAlipayList', 'Delete', '12', '0', '', '1543305609'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '4', '0', '', '1545642163'), ('332', '0', '微信小程序', 'AppMiniWeixin', 'Index', '11', '1', 'icon-xiaochengxu-wechat', '1546935020'), ('333', '332', '基础配置', 'AppMiniWeixinConfig', 'Index', '0', '1', '', '1546935090'), ('334', '332', '基础配置保存', 'AppMiniWeixinConfig', 'Save', '1', '0', '', '1546935118'), ('335', '332', '小程序', 'AppMiniWeixinList', 'Index', '10', '1', '', '1546935153'), ('336', '332', '小程序生成', 'AppMiniWeixinList', 'Created', '11', '0', '', '1546935187'), ('337', '332', '小程序删除', 'AppMiniWeixinList', 'Delete', '12', '0', '', '1546935212'), ('338', '177', 'Excel导出', 'Order', 'ExcelExport', '8', '0', '', '1548054782'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '29', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '4', '0', '', '1549977993'), ('348', '340', '应用上传/安装', 'Pluginsadmin', 'Upload', '5', '0', '', '1550110821'), ('349', '118', 'SQL控制台', 'Sqlconsole', 'Index', '10', '1', '', '1550476002'), ('350', '118', 'SQL执行', 'Sqlconsole', 'Implement', '11', '0', '', '1550476023'), ('351', '340', '应用打包', 'Pluginsadmin', 'Download', '6', '0', '', '1553248727'); +INSERT INTO `s_power` VALUES ('1', '0', '权限控制', 'Power', 'Index', '2', '1', 'icon-quanxian', '1481612301'), ('4', '1', '角色管理', 'Power', 'Role', '11', '1', '', '1481639037'), ('13', '1', '权限分配', 'Power', 'Index', '21', '1', '', '1482156143'), ('15', '1', '权限添加/编辑', 'Power', 'PowerSave', '22', '0', '', '1482243750'), ('16', '1', '权限删除', 'Power', 'PowerDelete', '23', '0', '', '1482243797'), ('17', '1', '角色组添加/编辑页面', 'Power', 'RoleSaveInfo', '12', '0', '', '1482243855'), ('18', '1', '角色组添加/编辑', 'Power', 'RoleSave', '13', '0', '', '1482243888'), ('19', '1', '管理员添加/编辑页面', 'Admin', 'SaveInfo', '2', '0', '', '1482244637'), ('20', '1', '管理员添加/编辑', 'Admin', 'Save', '3', '0', '', '1482244666'), ('21', '1', '管理员删除', 'Admin', 'Delete', '4', '0', '', '1482244688'), ('22', '1', '管理员列表', 'Admin', 'Index', '1', '1', '', '1482568868'), ('23', '1', '角色删除', 'Power', 'RoleDelete', '14', '0', '', '1482569155'), ('38', '0', '商品管理', 'Goods', 'Index', '3', '1', 'icon-shangpin', '1483283430'), ('39', '38', '商品管理', 'Goods', 'Index', '1', '1', '', '1483283546'), ('41', '0', '系统设置', 'Config', 'Index', '1', '1', 'icon-peizhi', '1483362358'), ('42', '41', '配置保存', 'Config', 'Save', '1', '0', '', '1483432335'), ('57', '38', '商品添加/编辑页面', 'Goods', 'SaveInfo', '2', '0', '', '1483616439'), ('58', '38', '商品添加/编辑', 'Goods', 'Save', '3', '0', '', '1483616492'), ('59', '38', '商品删除', 'Goods', 'Delete', '4', '0', '', '1483616569'), ('81', '0', '站点配置', 'Site', 'Index', '1', '1', 'icon-zhandianpeizhi', '1486182943'), ('103', '81', '站点设置', 'Site', 'Index', '0', '1', '', '1486561470'), ('104', '81', '短信设置', 'Sms', 'Index', '10', '1', '', '1486561615'), ('105', '81', '站点设置编辑', 'Site', 'Save', '1', '0', '', '1486561780'), ('107', '81', '短信设置编辑', 'Sms', 'Save', '11', '0', '', '1486562011'), ('118', '0', '工具', 'Tool', 'Index', '30', '1', 'icon-tools', '1488108044'), ('119', '118', '缓存管理', 'Cache', 'Index', '1', '1', '', '1488108107'), ('120', '118', '站点缓存更新', 'Cache', 'StatusUpdate', '2', '0', '', '1488108235'), ('121', '118', '模板缓存更新', 'Cache', 'TemplateUpdate', '2', '0', '', '1488108390'), ('122', '118', '模块缓存更新', 'Cache', 'ModuleUpdate', '3', '0', '', '1488108436'), ('126', '0', '用户管理', 'User', 'Index', '2', '1', 'icon-yonghuguanli', '1490794162'), ('127', '126', '用户列表', 'User', 'Index', '0', '1', '', '1490794316'), ('128', '126', '用户编辑/添加页面', 'User', 'SaveInfo', '1', '0', '', '1490794458'), ('129', '126', '用户添加/编辑', 'User', 'Save', '2', '0', '', '1490794510'), ('130', '126', '用户删除', 'User', 'Delete', '3', '0', '', '1490794585'), ('146', '126', 'Excel导出', 'User', 'ExcelExport', '6', '0', '', '1522223773'), ('153', '222', '地区管理', 'Region', 'Index', '60', '1', '', '1526304473'), ('154', '222', '地区添加/编辑', 'Region', 'Save', '61', '0', '', '1526304503'), ('155', '222', '地区删除', 'Region', 'Delete', '62', '0', '', '1526304531'), ('156', '222', '快递管理', 'Express', 'Index', '70', '1', '', '1526304473'), ('157', '222', '快递添加/编辑', 'Express', 'Save', '71', '0', '', '1526304473'), ('158', '222', '快递删除', 'Express', 'Delete', '72', '0', '', '1526304473'), ('172', '222', '首页轮播', 'Slide', 'Index', '40', '1', '', '1527149117'), ('173', '222', '轮播添加/编辑页面', 'Slide', 'SaveInfo', '41', '0', '', '1527149152'), ('174', '222', '轮播添加/编辑', 'Slide', 'Save', '42', '0', '', '1527149186'), ('175', '222', '轮播状态更新', 'Slide', 'StatusUpdate', '43', '0', '', '1527156980'), ('176', '222', '轮播删除', 'Slide', 'Delete', '44', '0', '', '1527157260'), ('177', '0', '订单管理', 'Order', 'Index', '5', '1', 'icon-dingdan', '1522229870'), ('178', '177', '订单管理', 'Order', 'Index', '1', '1', '', '1522317898'), ('179', '177', '订单删除', 'Order', 'Delete', '2', '0', '', '1522317917'), ('180', '177', '订单取消', 'Order', 'Cancel', '3', '0', '', '1527497803'), ('181', '38', '商品上下架', 'Goods', 'StatusShelves', '5', '0', '', '1528080200'), ('182', '0', '数据管理', 'Data', 'Index', '13', '1', 'icon-shuju', '1528096661'), ('183', '182', '消息管理', 'Message', 'Index', '0', '1', '', '1528080200'), ('184', '182', '消息删除', 'Message', 'Delete', '1', '0', '', '1528080200'), ('185', '182', '支付日志', 'PayLog', 'Index', '10', '1', '', '1528080200'), ('186', '182', '积分日志', 'IntegralLog', 'Index', '20', '1', '', '1528103067'), ('193', '222', '筛选价格', 'ScreeningPrice', 'Index', '50', '1', '', '1528708578'), ('194', '222', '筛选价格添加/编辑', 'ScreeningPrice', 'Save', '51', '0', '', '1528708609'), ('199', '81', 'SEO设置', 'Seo', 'Index', '30', '1', '', '1528771081'), ('200', '81', 'SEO设置编辑', 'Seo', 'Save', '31', '0', '', '1528771105'), ('201', '38', '商品分类', 'GoodsCategory', 'Index', '10', '1', '', '1529041901'), ('202', '38', '商品分类添加/编辑', 'GoodsCategory', 'Save', '11', '0', '', '1529041928'), ('203', '38', '商品分类删除', 'GoodsCategory', 'Delete', '12', '0', '', '1529041949'), ('204', '0', '文章管理', 'Article', 'Index', '12', '1', 'icon-wenzhang', '1530360560'), ('205', '204', '文章管理', 'Article', 'Index', '0', '1', '', '1530360593'), ('206', '204', '文章添加/编辑页面', 'Article', 'SaveInfo', '1', '0', '', '1530360625'), ('207', '204', '文章添加/编辑', 'Article', 'Save', '2', '0', '', '1530360663'), ('208', '204', '文章删除', 'Article', 'Delete', '3', '0', '', '1530360692'), ('209', '204', '文章状态更新', 'Article', 'StatusUpdate', '4', '0', '', '1530360730'), ('210', '204', '文章分类', 'ArticleCategory', 'Index', '10', '1', '', '1530361071'), ('211', '204', '文章分类编辑/添加', 'ArticleCategory', 'Save', '11', '0', '', '1530361101'), ('212', '204', '文章分类删除', 'ArticleCategory', 'Delete', '12', '0', '', '1530361126'), ('213', '0', '问答留言', 'Answer', 'Index', '6', '1', 'icon-wenda', '1533112421'), ('214', '213', '问答留言', 'Answer', 'Index', '0', '1', '', '1533112443'), ('215', '213', '问答留言回复', 'Answer', 'Reply', '1', '0', '', '1533119660'), ('216', '213', '问答留言删除', 'Answer', 'Delete', '2', '0', '', '1533119680'), ('217', '213', '问答留言状态更新', 'Answer', 'StatusUpdate', '3', '0', '', '1533119704'), ('218', '38', '商品首页推荐', 'Goods', 'StatusHomeRecommended', '6', '0', '', '1533564476'), ('219', '81', '邮箱设置', 'Email', 'Index', '20', '1', '', '1533636067'), ('220', '81', '邮箱添加/编辑', 'Email', 'Save', '21', '0', '', '1533636109'), ('221', '81', '邮件发送测试', 'Email', 'EmailTest', '22', '0', '', '1533636157'), ('222', '0', '网站管理', 'Navigation', 'Index', '7', '1', 'icon-wangzhanguanli', '1533692051'), ('223', '222', '导航管理', 'Navigation', 'Index', '0', '1', '', '1486183114'), ('226', '222', '导航添加/编辑', 'Navigation', 'Save', '2', '0', '', '1486183367'), ('227', '222', '导航删除', 'Navigation', 'Delete', '3', '0', '', '1486183410'), ('228', '222', '导航状态更新', 'Navigation', 'StatusUpdate', '4', '0', '', '1486183462'), ('234', '222', '自定义页面', 'CustomView', 'Index', '11', '1', '', '1486193400'), ('235', '222', '自定义页面添加/编辑页面', 'CustomView', 'SaveInfo', '12', '0', '', '1486193449'), ('236', '222', '自定义页面添加/编辑', 'CustomView', 'Save', '13', '0', '', '1486193473'), ('237', '222', '自定义页面删除', 'CustomView', 'Delete', '14', '0', '', '1486193516'), ('238', '222', '自定义页面状态更新', 'CustomView', 'StatusUpdate', '15', '0', '', '1486193582'), ('239', '222', '友情链接', 'Link', 'Index', '21', '1', '', '1486194358'), ('240', '222', '友情链接添加/编辑页面', 'Link', 'SaveInfo', '22', '0', '', '1486194392'), ('241', '222', '友情链接添加/编辑', 'Link', 'Save', '23', '0', '', '1486194413'), ('242', '222', '友情链接删除', 'Link', 'Delete', '24', '0', '', '1486194435'), ('243', '222', '友情链接状态更新', 'Link', 'StatusUpdate', '25', '0', '', '1486194479'), ('244', '222', '主题管理', 'Theme', 'Index', '30', '1', '', '1494381693'), ('245', '222', '主题管理添加/编辑', 'Theme', 'Save', '31', '0', '', '1494398194'), ('246', '222', '主题上传安装', 'Theme', 'Upload', '32', '0', '', '1494405096'), ('247', '222', '主题删除', 'Theme', 'Delete', '33', '0', '', '1494410655'), ('248', '204', '商品首页推荐', 'Article', 'StatusHomeRecommended', '5', '0', '', '1534156400'), ('249', '252', '品牌管理', 'Brand', 'Index', '0', '1', '', '1535683271'), ('250', '252', '品牌添加/编辑', 'Brand', 'Save', '2', '0', '', '1535683310'), ('251', '252', '品牌删除', 'Brand', 'Delete', '4', '0', '', '1535683351'), ('252', '0', '品牌管理', 'Brand', 'Index', '8', '1', 'icon-ico-pinpaiguanli', '1535684308'), ('253', '252', '品牌分类', 'BrandCategory', 'Index', '10', '1', '', '1535684401'), ('254', '252', '品牌分类添加/编辑', 'BrandCategory', 'Save', '11', '0', '', '1535684424'), ('255', '252', '品牌分类删除', 'BrandCategory', 'Delete', '12', '0', '', '1535684444'), ('256', '252', '品牌添加/编辑页面', 'Brand', 'SaveInfo', '1', '0', '', '1535694837'), ('257', '252', '品牌状态更新', 'Brand', 'StatusUpdate', '3', '0', '', '1535694880'), ('258', '222', '筛选价格删除', 'ScreeningPrice', 'Delete', '52', '0', '', '1536227071'), ('259', '222', '支付方式', 'Payment', 'Index', '80', '1', '', '1537156351'), ('260', '222', '支付方式安装/编辑页面', 'Payment', 'SaveInfo', '81', '0', '', '1537156423'), ('261', '222', '支付方式安装/编辑', 'Payment', 'Save', '82', '0', '', '1537156463'), ('262', '222', '支付方式删除', 'Payment', 'Delete', '83', '0', '', '1537156502'), ('263', '222', '支付方式安装', 'Payment', 'Install', '84', '0', '', '1537166090'), ('264', '222', '支付方式状态更新', 'Payment', 'StatusUpdate', '85', '0', '', '1537166149'), ('265', '222', '支付方式卸载', 'Payment', 'Uninstall', '86', '0', '', '1537167814'), ('266', '222', '支付方式上传', 'Payment', 'Upload', '87', '0', '', '1537173653'), ('267', '177', '订单发货', 'Order', 'Delivery', '4', '0', '', '1538413499'), ('268', '177', '订单收货', 'Order', 'Collect', '5', '0', '', '1538414034'), ('269', '177', '订单支付', 'Order', 'Pay', '6', '0', '', '1538757043'), ('310', '177', '订单确认', 'Order', 'Confirm', '7', '0', '', '1542011799'), ('311', '1', '角色状态更新', 'Power', 'RoleStatusUpdate', '15', '0', '', '1542102071'), ('312', '0', '支付宝小程序', 'AppMiniAlipay', 'Index', '10', '1', 'icon-xiaochengxu-alipay', '1542558274'), ('313', '312', '基础配置', 'AppMiniAlipayConfig', 'Index', '0', '1', '', '1542558297'), ('314', '319', '首页导航', 'AppHomeNav', 'Index', '10', '1', '', '1542558318'), ('315', '319', '首页导航添加/编辑页面', 'AppHomeNav', 'SaveInfo', '11', '0', '', '1542558686'), ('316', '319', '首页导航添加/编辑', 'AppHomeNav', 'Save', '12', '0', '', '1542558706'), ('317', '319', '首页导航状态更新', 'AppHomeNav', 'StatusUpdate', '13', '0', '', '1542558747'), ('318', '319', '首页导航删除', 'AppHomeNav', 'Delete', '14', '0', '', '1542558767'), ('319', '0', '手机端管理', 'App', 'Index', '9', '1', 'icon-shouji', '0'), ('325', '312', '基础配置保存', 'AppMiniAlipayConfig', 'Save', '1', '0', '', '1542596647'), ('326', '319', '基础配置', 'AppConfig', 'Index', '0', '1', '', '1543206359'), ('327', '319', '基础配置保存', 'AppConfig', 'Save', '1', '0', '', '1543206402'), ('328', '312', '小程序', 'AppMiniAlipayList', 'Index', '10', '1', '', '1543304094'), ('329', '312', '小程序生成', 'AppMiniAlipayList', 'Created', '11', '0', '', '1543305528'), ('330', '312', '小程序删除', 'AppMiniAlipayList', 'Delete', '12', '0', '', '1543305609'), ('331', '118', '日志删除', 'Cache', 'LogDelete', '4', '0', '', '1545642163'), ('332', '0', '微信小程序', 'AppMiniWeixin', 'Index', '11', '1', 'icon-xiaochengxu-wechat', '1546935020'), ('333', '332', '基础配置', 'AppMiniWeixinConfig', 'Index', '0', '1', '', '1546935090'), ('334', '332', '基础配置保存', 'AppMiniWeixinConfig', 'Save', '1', '0', '', '1546935118'), ('335', '332', '小程序', 'AppMiniWeixinList', 'Index', '10', '1', '', '1546935153'), ('336', '332', '小程序生成', 'AppMiniWeixinList', 'Created', '11', '0', '', '1546935187'), ('337', '332', '小程序删除', 'AppMiniWeixinList', 'Delete', '12', '0', '', '1546935212'), ('338', '177', 'Excel导出', 'Order', 'ExcelExport', '8', '0', '', '1548054782'), ('339', '41', '后台配置', 'Config', 'Index', '0', '1', '', '1549419752'), ('340', '0', '应用中心', 'Store', 'Index', '29', '1', 'icon-application', '1549496703'), ('341', '340', '应用管理', 'Pluginsadmin', 'Index', '1', '1', '', '1549497306'), ('342', '340', '应用状态更新', 'Pluginsadmin', 'StatusUpdate', '3', '0', '', '1549694138'), ('343', '340', '应用调用管理', 'Plugins', 'Index', '0', '0', '', '1549958187'), ('345', '340', '应用添加/编辑页面', 'Pluginsadmin', 'SaveInfo', '1', '0', '', '1549977925'), ('346', '340', '应用添加/编辑', 'Pluginsadmin', 'Save', '2', '0', '', '1549977958'), ('347', '340', '应用删除', 'Pluginsadmin', 'Delete', '4', '0', '', '1549977993'), ('348', '340', '应用上传/安装', 'Pluginsadmin', 'Upload', '5', '0', '', '1550110821'), ('349', '118', 'SQL控制台', 'Sqlconsole', 'Index', '10', '1', '', '1550476002'), ('350', '118', 'SQL执行', 'Sqlconsole', 'Implement', '11', '0', '', '1550476023'), ('351', '340', '应用打包', 'Pluginsadmin', 'Download', '6', '0', '', '1553248727'), ('352', '213', '问答添加/编辑页面', 'Answer', 'SaveInfo', '4', '0', '', '1553964318'), ('353', '213', '问答添加/编辑', 'Answer', 'Save', '5', '0', '', '1553964354'); COMMIT; -- ----------------------------
{{$v.title}} {{$v.content}} - {{if $v['is_reply'] eq 1}} + {{if !empty($v['reply'])}} {{$v.reply}} {{else /}} 未回复 @@ -161,7 +167,7 @@
回复内容
- {{if $v['is_reply'] eq 1}} + {{if !empty($v['reply'])}} {{$v.reply}} {{else /}} 未回复 @@ -182,8 +188,11 @@
+ + + {{if $v['is_reply'] eq 0}} - + {{/if}}