From ca17b3c4c68cec18a49d0dcf176c638525b33344 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=B9=90?= <419641032@qq.com> Date: Wed, 2 Sep 2020 11:42:10 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E5=BC=80=E6=94=BEapi=E6=9D=83?= =?UTF-8?q?=E9=99=90=EF=BC=8Cadmin=E6=A8=A1=E5=9D=97=E6=9D=83=E9=99=90?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E5=90=8E=E7=BB=AD=E4=BC=9A=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=202=E3=80=81=E4=BF=AE=E5=A4=8D=E4=BC=98=E6=83=A0=E5=88=B8?= =?UTF-8?q?=E9=A2=86=E5=8F=96=E6=97=B6=E9=97=B4=E4=B8=8D=E9=99=90=E5=88=B6?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E4=B8=8D=E6=98=BE=E7=A4=BA=E7=9A=84bug=203?= =?UTF-8?q?=E3=80=81=E6=9B=B4=E6=96=B0=E4=BA=86=E4=B8=80=E4=BA=9Bconfig?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/interceptor/AdminAuthInterceptor.java | 9 ++++----- .../main/java/com/utils/RestTemplateUtil.java | 2 +- .../category/service/CategoryService.java | 2 ++ .../service/impl/CategoryServiceImpl.java | 18 ++++++++++++++++-- .../service/impl/StoreCouponServiceImpl.java | 10 +++++++--- .../controller/SystemRoleController.java | 13 ++----------- .../service/impl/SystemRoleServiceImpl.java | 5 +++++ crmeb_java_v1.0.sql | 13 ++----------- 8 files changed, 39 insertions(+), 33 deletions(-) diff --git a/crmeb/src/main/java/com/interceptor/AdminAuthInterceptor.java b/crmeb/src/main/java/com/interceptor/AdminAuthInterceptor.java index 0eb2a150..ccbef4de 100644 --- a/crmeb/src/main/java/com/interceptor/AdminAuthInterceptor.java +++ b/crmeb/src/main/java/com/interceptor/AdminAuthInterceptor.java @@ -28,11 +28,10 @@ public class AdminAuthInterceptor implements HandlerInterceptor { Boolean result = systemRoleService.checkAuth(uri); - //TODO 此处暂时放开 -// if(!result){ -// response.getWriter().write(JSONObject.toJSONString(CommonResult.forbidden())); -// return false; -// } + if(!result){ + response.getWriter().write(JSONObject.toJSONString(CommonResult.forbidden())); + return false; + } return true; } diff --git a/crmeb/src/main/java/com/utils/RestTemplateUtil.java b/crmeb/src/main/java/com/utils/RestTemplateUtil.java index aa12fe9c..ea471511 100644 --- a/crmeb/src/main/java/com/utils/RestTemplateUtil.java +++ b/crmeb/src/main/java/com/utils/RestTemplateUtil.java @@ -122,7 +122,7 @@ public class RestTemplateUtil { public String postFormData(String url, MultiValueMap map) { HttpHeaders headers = new HttpHeaders(); - headers.setContentType(MediaType.MULTIPART_FORM_DATA); +// headers.setContentType(MediaType.MULTIPART_FORM_DATA); HttpEntity> requests = new HttpEntity>(map, headers); String body = restTemplate.postForEntity(url, requests, String.class).getBody(); return body; diff --git a/crmeb/src/main/java/com/zbkj/crmeb/category/service/CategoryService.java b/crmeb/src/main/java/com/zbkj/crmeb/category/service/CategoryService.java index e1118895..000049f9 100644 --- a/crmeb/src/main/java/com/zbkj/crmeb/category/service/CategoryService.java +++ b/crmeb/src/main/java/com/zbkj/crmeb/category/service/CategoryService.java @@ -38,4 +38,6 @@ public interface CategoryService extends IService { List getChildVoListByPid(Integer pid); int checkName(String name, Integer type); + + boolean checkUrl(String uri); } diff --git a/crmeb/src/main/java/com/zbkj/crmeb/category/service/impl/CategoryServiceImpl.java b/crmeb/src/main/java/com/zbkj/crmeb/category/service/impl/CategoryServiceImpl.java index c74ffd12..38b5308c 100644 --- a/crmeb/src/main/java/com/zbkj/crmeb/category/service/impl/CategoryServiceImpl.java +++ b/crmeb/src/main/java/com/zbkj/crmeb/category/service/impl/CategoryServiceImpl.java @@ -128,7 +128,7 @@ public class CategoryServiceImpl extends ServiceImpl impl @Override public Boolean checkAuth(List pathIdList, String uri) { LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>(); - lambdaQueryWrapper.in(Category::getId, pathIdList).eq(Category::getStatus, 1).eq(Category::getUrl, uri); + lambdaQueryWrapper.in(Category::getId, pathIdList).eq(Category::getUrl, uri); List categoryList = dao.selectList(lambdaQueryWrapper); if(categoryList.size() < 1){ return false; @@ -343,7 +343,7 @@ public class CategoryServiceImpl extends ServiceImpl impl } /** - * 检测分类码是否存在 + * 检测分类名称是否存在 * @param name String 分类名 * @param type int 类型 * @author Mr.Zhang @@ -357,5 +357,19 @@ public class CategoryServiceImpl extends ServiceImpl impl .eq(Category::getType, type); return dao.selectCount(lambdaQueryWrapper); } + + /** + * 检测url是否存在 + * @param uri String url + * @author Mr.Zhang + * @since 2020-04-16 + * @return int + */ + @Override + public boolean checkUrl(String uri) { + LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>(); + lambdaQueryWrapper.eq(Category::getUrl, uri); + return dao.selectCount(lambdaQueryWrapper) > 0; + } } diff --git a/crmeb/src/main/java/com/zbkj/crmeb/marketing/service/impl/StoreCouponServiceImpl.java b/crmeb/src/main/java/com/zbkj/crmeb/marketing/service/impl/StoreCouponServiceImpl.java index 0c21f38c..8f8aa05d 100644 --- a/crmeb/src/main/java/com/zbkj/crmeb/marketing/service/impl/StoreCouponServiceImpl.java +++ b/crmeb/src/main/java/com/zbkj/crmeb/marketing/service/impl/StoreCouponServiceImpl.java @@ -286,6 +286,11 @@ public class StoreCouponServiceImpl extends ServiceImpl i.gt(StoreCoupon::getLastTotal, 0).or().eq(StoreCoupon::getIsLimited, false)) - //领取时间范围 - .lt(StoreCoupon::getReceiveStartTime, date) - .gt(StoreCoupon::getReceiveEndTime, date); + //领取时间范围, 结束时间为null则是不限时 + .and(i -> i.isNull(StoreCoupon::getReceiveEndTime).or( p -> p.lt(StoreCoupon::getReceiveStartTime, date).gt(StoreCoupon::getReceiveEndTime, date))); if(productId > 0){ //有商品id 通用券可以领取,商品券可以领取,分类券可以领取 getPrimaryKeySql(lambdaQueryWrapper, productId.toString()); diff --git a/crmeb/src/main/java/com/zbkj/crmeb/system/controller/SystemRoleController.java b/crmeb/src/main/java/com/zbkj/crmeb/system/controller/SystemRoleController.java index bf518cbf..b4834058 100644 --- a/crmeb/src/main/java/com/zbkj/crmeb/system/controller/SystemRoleController.java +++ b/crmeb/src/main/java/com/zbkj/crmeb/system/controller/SystemRoleController.java @@ -32,15 +32,6 @@ public class SystemRoleController { @Autowired private SystemRoleService systemRoleService; - @ApiOperation(value = "TestMenu") - @GetMapping(value = "/testMenu") - public CommonResult testMenu(){ - String result = "[{\"path\": \"/store\",\"redirect\": \"/store/index\",\"name\": \"Store\",\"meta\": {\"title\": \"商品\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"index\",\"name\": \"StoreIndex\",\"meta\": {\"title\": \"商品管理\",\"icon\": \"\"}},{\"path\": \"sort\",\"name\": \"Sort\",\"meta\": {\"title\": \"商品分类\",\"icon\": \"\"}}]},{\"path\": \"/order\",\"redirect\": \"/order\",\"name\": \"Order\",\"alwaysShow\": true,\"meta\": {\"title\": \"订单\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"index\",\"name\": \"OrderIndex\",\"meta\": {\"title\": \"订单管理\"}}]},{\"path\": \"/user\",\"redirect\": \"/user\",\"name\": \"User\",\"meta\": {\"title\": \"会员\",\"icon\": \"clipboard\",\"roles\": [\"editor\"]},\"children\": [{\"path\": \"index\",\"name\": \"UserIndex\",\"meta\": {\"title\": \"会员管理\",\"icon\": \"\"}},{\"path\": \"notice\",\"name\": \"Notice\",\"meta\": {\"title\": \"站内通知\",\"icon\": \"\"}},{\"path\": \"grade\",\"name\": \"Grade\",\"meta\": {\"title\": \"会员等级\",\"icon\": \"\"}},{\"path\": \"group\",\"name\": \"Group\",\"meta\": {\"title\": \"会员分组\",\"icon\": \"\"}}]},{\"path\": \"/distribution\",\"redirect\": \"/distribution/index\",\"name\": \"Distribution\",\"meta\": {\"title\": \"分销\",\"icon\": \"clipboard\",\"roles\": [\"editor\"]},\"children\": [{\"path\": \"index\",\"name\": \"distributionIndex\",\"meta\": {\"title\": \"分销员管理\",\"icon\": \"\"}},{\"path\": \"distributionconfig\",\"name\": \"distributionConfig\",\"meta\": {\"title\": \"分销配置\",\"icon\": \"\"}}]},{\"path\": \"/marketing\",\"redirect\": \"/marketing\",\"name\": \"Marketing\",\"meta\": {\"title\": \"营销\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"coupon\",\"name\": \"Coupon\",\"meta\": {\"title\": \"优惠券\",\"icon\": \"\"},\"children\": [{\"path\": \"template\",\"name\": \"Template\",\"meta\": {\"title\": \"优惠券模板\",\"icon\": \"\"}},{\"path\": \"list\",\"name\": \"List\",\"meta\": {\"title\": \"优惠券列表\",\"icon\": \"\"}},{\"path\": \"record\",\"name\": \"Record\",\"meta\": {\"title\": \"会员领取记录\",\"icon\": \"\"}}]},{\"path\": \"bargain\",\"name\": \"Bargain\",\"meta\": {\"title\": \"砍价管理\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"bargainGoods\",\"name\": \"bargainGoods\",\"meta\": {\"title\": \"砍价商品\",\"icon\": \"\"}}]},{\"path\": \"groupBuy\",\"name\": \"groupBuy\",\"meta\": {\"title\": \"拼团管理\",\"icon\": \"\"},\"children\": [{\"path\": \"groupGoods\",\"name\": \"groupGoods\",\"meta\": {\"title\": \"拼团商品\",\"icon\": \"\"}},{\"path\": \"groupList\",\"name\": \"groupList\",\"meta\": {\"title\": \"拼团列表\",\"icon\": \"\"}}]},{\"path\": \"spike\",\"name\": \"Spike\",\"meta\": {\"title\": \"秒杀管理\",\"icon\": \"\"},\"children\": [{\"path\": \"spikeconfig\",\"name\": \"spikeConfig\",\"meta\": {\"title\": \"秒杀配置\",\"icon\": \"\"}},{\"path\": \"bargainList\",\"name\": \"bargainList\",\"meta\": {\"title\": \"秒杀商品\",\"icon\": \"\"}}]},{\"path\": \"integral\",\"name\": \"Integral\",\"meta\": {\"title\": \"积分\",\"icon\": \"\"},\"children\": [{\"path\": \"integralconfig\",\"name\": \"integralConfig\",\"meta\": {\"title\": \"积分配置\",\"icon\": \"\"}},{\"path\": \"integrallog\",\"name\": \"integralLog\",\"meta\": {\"title\": \"积分日志\",\"icon\": \"\"}}]}]},{\"path\": \"/financial\",\"redirect\": \"/financial\",\"name\": \"Financial\",\"meta\": {\"title\": \"财务\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"commission\",\"name\": \"Commission\",\"meta\": {\"title\": \"财务操作\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"template\",\"name\": \"Template\",\"meta\": {\"title\": \"申请提现\",\"icon\": \"\"}}]},{\"path\": \"record\",\"name\": \"Record\",\"meta\": {\"title\": \"财务记录\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"charge\",\"name\": \"Charge\",\"meta\": {\"title\": \"充值记录\",\"icon\": \"\"}},{\"path\": \"monitor\",\"name\": \"Monitor\",\"meta\": {\"title\": \"资金监控\",\"icon\": \"\"}}]},{\"path\": \"brokerage\",\"name\": \"Brokerage\",\"meta\": {\"title\": \"佣金记录\",\"icon\": \"\"}}]},{\"path\": \"/datas\",\"redirect\": \"/datas\",\"name\": \"Datas\",\"meta\": {\"title\": \"数据\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"transaction\",\"name\": \"Transaction\",\"meta\": {\"title\": \"交易数据\",\"icon\": \"\"},\"children\": [{\"path\": \"transactionorder\",\"name\": \"transactionOrder\",\"meta\": {\"title\": \"订单统计\",\"icon\": \"\"}},{\"path\": \"transactiongoods\",\"name\": \"transactionGoods\",\"meta\": {\"title\": \"商品统计\",\"icon\": \"\"}}]},{\"path\": \"bargain\",\"name\": \"Bargain\",\"meta\": {\"title\": \"砍价管理\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"bargainGoods\",\"name\": \"bargainGoods\",\"meta\": {\"title\": \"砍价商品\",\"icon\": \"\"}}]},{\"path\": \"groupBuy\",\"name\": \"groupBuy\",\"meta\": {\"title\": \"拼团管理\",\"icon\": \"\"},\"children\": [{\"path\": \"groupGoods\",\"name\": \"groupGoods\",\"meta\": {\"title\": \"拼团商品\",\"icon\": \"\"}},{\"path\": \"groupList\",\"name\": \"groupList\",\"meta\": {\"title\": \"拼团列表\",\"icon\": \"\"}}]},{\"path\": \"spike\",\"name\": \"Spike\",\"meta\": {\"title\": \"秒杀管理\",\"icon\": \"\"},\"children\": [{\"path\": \"spikeconfig\",\"name\": \"spikeConfig\",\"meta\": {\"title\": \"秒杀配置\",\"icon\": \"\"}},{\"path\": \"bargainList\",\"name\": \"bargainList\",\"meta\": {\"title\": \"秒杀商品\",\"icon\": \"\"}}]},{\"path\": \"integral\",\"name\": \"Integral\",\"meta\": {\"title\": \"积分\",\"icon\": \"\"},\"children\": [{\"path\": \"integralconfig\",\"name\": \"integralConfig\",\"meta\": {\"title\": \"积分配置\",\"icon\": \"\"}},{\"path\": \"integrallog\",\"name\": \"integralLog\",\"meta\": {\"title\": \"积分日志\",\"icon\": \"\"}}]}]},{\"path\": \"/operation\",\"redirect\": \"/operation\",\"name\": \"Operation\",\"meta\": {\"title\": \"设置CRMEB\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"/roleManager\",\"name\": \"RoleManager\",\"meta\": {\"title\": \"管理权限\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"identityManager\",\"name\": \"identityManager1\",\"meta\": {\"title\": \"身份管理\",\"icon\": \"\"}},{\"path\": \"adminList\",\"name\": \"adminList\",\"meta\": {\"title\": \"管理员列表\",\"icon\": \"\"}},{\"path\": \"promiseRules\",\"name\": \"promiseRules\",\"meta\": {\"title\": \"权限规则\",\"icon\": \"\"}}]}]}]"; -// String result = "[ { \"path\": \"/store\", \"redirect\": \"/store/index\", \"name\": \"Store\", \"meta\": {\"title\": \"商品\",\"icon\": \"clipboard\",\"roles\": [ \"admin\"] }, \"children\": [{ \"path\": \"index\", \"name\": \"StoreIndex\", \"meta\": { \"title\": \"商品管理\", \"icon\": \"\" }},{ \"path\": \"sort\", \"name\": \"Sort\", \"meta\": { \"title\": \"商品分类\", \"icon\": \"\" }} ] }, { \"path\": \"/order\", \"redirect\": \"/order\", \"name\": \"Order\", \"alwaysShow\": true, \"meta\": {\"title\": \"订单\",\"icon\": \"clipboard\",\"roles\": [ \"admin\"] }, \"children\": [{ \"path\": \"index\", \"name\": \"OrderIndex\", \"meta\": { \"title\": \"订单管理\" }} ] }, { \"path\": \"/user\", \"redirect\": \"/user\", \"name\": \"User\", \"meta\": {\"title\": \"会员\",\"icon\": \"clipboard\",\"roles\": [ \"editor\"] }, \"children\": [{ \"path\": \"index\", \"name\": \"UserIndex\", \"meta\": { \"title\": \"会员管理\", \"icon\": \"\" }},{ \"path\": \"notice\", \"name\": \"Notice\", \"meta\": { \"title\": \"站内通知\", \"icon\": \"\" }},{ \"path\": \"grade\", \"name\": \"Grade\", \"meta\": { \"title\": \"会员等级\", \"icon\": \"\" }},{ \"path\": \"group\", \"name\": \"Group\", \"meta\": { \"title\": \"会员分组\", \"icon\": \"\" }} ] }, { \"path\": \"/distribution\", \"redirect\": \"/distribution/index\", \"name\": \"Distribution\", \"meta\": {\"title\": \"分销\",\"icon\": \"clipboard\",\"roles\": [ \"editor\"] }, \"children\": [{ \"path\": \"index\", \"name\": \"distributionIndex\", \"meta\": { \"title\": \"分销员管理\", \"icon\": \"\" }},{ \"path\": \"distributionconfig\", \"name\": \"distributionConfig\", \"meta\": { \"title\": \"分销配置\", \"icon\": \"\" }} ] }, { \"path\": \"/marketing\", \"redirect\": \"/marketing\", \"name\": \"Marketing\", \"meta\": {\"title\": \"营销\",\"icon\": \"clipboard\",\"roles\": [ \"admin\"] }, \"children\": [{ \"path\": \"coupon\", \"name\": \"Coupon\", \"meta\": { \"title\": \"优惠券\", \"icon\": \"\" }, \"children\": [ {\"path\": \"template\",\"name\": \"Template\",\"meta\": { \"title\": \"优惠券模板\", \"icon\": \"\"} }, {\"path\": \"list\",\"name\": \"List\",\"meta\": { \"title\": \"优惠券列表\", \"icon\": \"\"} }, {\"path\": \"record\",\"name\": \"Record\",\"meta\": { \"title\": \"会员领取记录\", \"icon\": \"\"} } ]},{ \"path\": \"bargain\", \"name\": \"Bargain\", \"meta\": { \"title\": \"砍价管理\", \"icon\": \"\" }, \"alwaysShow\": true, \"children\": [ {\"path\": \"bargainGoods\",\"name\": \"bargainGoods\",\"meta\": { \"title\": \"砍价商品\", \"icon\": \"\"} } ]},{ \"path\": \"groupBuy\", \"name\": \"groupBuy\", \"meta\": { \"title\": \"拼团管理\", \"icon\": \"\" }, \"children\": [ {\"path\": \"groupGoods\",\"name\": \"groupGoods\",\"meta\": { \"title\": \"拼团商品\", \"icon\": \"\"} }, {\"path\": \"groupList\",\"name\": \"groupList\",\"meta\": { \"title\": \"拼团列表\", \"icon\": \"\"} } ]},{ \"path\": \"spike\", \"name\": \"Spike\", \"meta\": { \"title\": \"秒杀管理\", \"icon\": \"\" }, \"children\": [ {\"path\": \"spikeconfig\",\"name\": \"spikeConfig\",\"meta\": { \"title\": \"秒杀配置\", \"icon\": \"\"} }, {\"path\": \"bargainList\",\"name\": \"bargainList\",\"meta\": { \"title\": \"秒杀商品\", \"icon\": \"\"} } ]},{ \"path\": \"integral\", \"name\": \"Integral\", \"meta\": { \"title\": \"积分\", \"icon\": \"\" }, \"children\": [ {\"path\": \"integralconfig\",\"name\": \"integralConfig\",\"meta\": { \"title\": \"积分配置\", \"icon\": \"\"} }, {\"path\": \"integrallog\",\"name\": \"integralLog\",\"meta\": { \"title\": \"积分日志\", \"icon\": \"\"} } ]} ] }, { \"path\": \"/financial\", \"redirect\": \"/financial\", \"name\": \"Financial\", \"meta\": {\"title\": \"财务\",\"icon\": \"clipboard\",\"roles\": [ \"admin\"] }, \"children\": [{ \"path\": \"commission\", \"name\": \"Commission\", \"meta\": { \"title\": \"财务操作\", \"icon\": \"\" }, \"alwaysShow\": true, \"children\": [ {\"path\": \"template\",\"name\": \"Template\",\"meta\": { \"title\": \"申请提现\", \"icon\": \"\"} } ]},{ \"path\": \"record\", \"name\": \"Record\", \"meta\": { \"title\": \"财务记录\", \"icon\": \"\" }, \"alwaysShow\": true, \"children\": [ {\"path\": \"charge\",\"name\": \"Charge\",\"meta\": { \"title\": \"充值记录\", \"icon\": \"\"} }, {\"path\": \"monitor\",\"name\": \"Monitor\",\"meta\": { \"title\": \"资金监控\", \"icon\": \"\"} } ]},{ \"path\": \"brokerage\", \"name\": \"Brokerage\", \"meta\": { \"title\": \"佣金记录\", \"icon\": \"\" }} ] }, { \"path\": \"/datas\", \"redirect\": \"/datas\", \"name\": \"Datas\", \"meta\": {\"title\": \"数据\",\"icon\": \"clipboard\",\"roles\": [ \"admin\"] }, \"children\": [{ \"path\": \"transaction\", \"name\": \"Transaction\", \"meta\": { \"title\": \"交易数据\", \"icon\": \"\" }, \"children\": [ {\"path\": \"transactionorder\",\"name\": \"transactionOrder\",\"meta\": { \"title\": \"订单统计\", \"icon\": \"\"} }, {\"path\": \"transactiongoods\",\"name\": \"transactionGoods\",\"meta\": { \"title\": \"商品统计\", \"icon\": \"\"} } ]},{ \"path\": \"bargain\", \"name\": \"Bargain\", \"meta\": { \"title\": \"砍价管理\", \"icon\": \"\" }, \"alwaysShow\": true, \"children\": [ {\"path\": \"bargainGoods\",\"name\": \"bargainGoods\",\"meta\": { \"title\": \"砍价商品\", \"icon\": \"\"} } ]},{ \"path\": \"groupBuy\", \"name\": \"groupBuy\", \"meta\": { \"title\": \"拼团管理\", \"icon\": \"\" }, \"children\": [ {\"path\": \"groupGoods\",\"name\": \"groupGoods\",\"meta\": { \"title\": \"拼团商品\", \"icon\": \"\"} }, {\"path\": \"groupList\",\"name\": \"groupList\",\"meta\": { \"title\": \"拼团列表\", \"icon\": \"\"} } ]},{ \"path\": \"spike\", \"name\": \"Spike\", \"meta\": { \"title\": \"秒杀管理\", \"icon\": \"\" }, \"children\": [ {\"path\": \"spikeconfig\",\"name\": \"spikeConfig\",\"meta\": { \"title\": \"秒杀配置\", \"icon\": \"\"} }, {\"path\": \"bargainList\",\"name\": \"bargainList\",\"meta\": { \"title\": \"秒杀商品\", \"icon\": \"\"} } ]},{ \"path\": \"integral\", \"name\": \"Integral\", \"meta\": { \"title\": \"积分\", \"icon\": \"\" }, \"children\": [ {\"path\": \"integralconfig\",\"name\": \"integralConfig\",\"meta\": { \"title\": \"积分配置\", \"icon\": \"\"} }, {\"path\": \"integrallog\",\"name\": \"integralLog\",\"meta\": { \"title\": \"积分日志\", \"icon\": \"\"} } ]} ] }, { \"path\": \"/roleManager\", \"redirect\": \"/roleManager\", \"name\": \"RoleManager\", \"meta\": {\"title\": \"管理权限\",\"icon\": \"clipboard\",\"roles\": [ \"admin\"] }, \"children\": [{ \"path\": \"identityManager\", \"name\": \"identityManager\", \"meta\": { \"title\": \"身份管理\", \"icon\": \"\" }},{ \"path\": \"adminList\", \"name\": \"adminList\", \"meta\": { \"title\": \"管理员列表\", \"icon\": \"\" }},{ \"path\": \"promiseRules\", \"name\": \"promiseRules\", \"meta\": { \"title\": \"权限规则\", \"icon\": \"\" }} ] }]"; -// String result = "[{\"path\": \"/order\",\"component\": {\"name\": \"Layout\",\"components\": {\"AppMain\": {\"name\": \"AppMain\",\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-078753dd\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/AppMain.vue\"},\"Navbar\": {\"components\": {\"Breadcrumb\": {\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-b50ef614\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Breadcrumb/index.vue\"},\"Hamburger\": {\"name\": \"Hamburger\",\"props\": {\"isActive\": {\"default\": false}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-4e6f274c\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Hamburger/index.vue\"},\"ErrorLog\": {\"name\": \"ErrorLog\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-cf51e862\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ErrorLog/index.vue\"},\"Screenfull\": {\"name\": \"Screenfull\",\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-29234bee\",\"beforeCreate\": [null],\"__file\": \"src/components/Screenfull/index.vue\"},\"SizeSelect\": {\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/SizeSelect/index.vue\"},\"Search\": {\"name\": \"HeaderSearch\",\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-032bd1f0\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/HeaderSearch/index.vue\"}},\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-d16d6306\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Navbar.vue\"},\"RightPanel\": {\"name\": \"RightPanel\",\"props\": {\"clickNotClose\": {\"default\": false},\"buttonTop\": {\"default\": 250}},\"computed\": {},\"watch\": {},\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-1e488bfb\",\"beforeCreate\": [null],\"__file\": \"src/components/RightPanel/index.vue\"},\"Settings\": {\"components\": {\"ThemePicker\": {\"computed\": {},\"watch\": {\"defaultTheme\": {\"immediate\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ThemePicker/index.vue\"}},\"computed\": {\"fixedHeader\": {},\"tagsView\": {},\"sidebarLogo\": {}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-126b135a\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Settings/index.vue\"},\"Sidebar\": {\"components\": {\"SidebarItem\": {\"name\": \"SidebarItem\",\"components\": {\"Item\": {\"name\": \"MenuItem\",\"functional\": true,\"props\": {\"icon\": {\"default\": \"\"},\"title\": {\"default\": \"\"}},\"__file\": \"src/layout/components/Sidebar/Item.vue\"},\"AppLink\": {\"props\": {\"to\": {\"required\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Link.vue\"}},\"mixins\": [{\"computed\": {},\"methods\": {}}],\"props\": {\"item\": {\"required\": true},\"isNest\": {\"default\": false},\"basePath\": {\"default\": \"\"}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/SidebarItem.vue\"},\"Logo\": {\"name\": \"SidebarLogo\",\"props\": {\"collapse\": {\"required\": true}},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-6494804b\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Logo.vue\"}},\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/index.vue\"},\"TagsView\": {\"components\": {\"ScrollPane\": {\"name\": \"ScrollPane\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-be6b7bae\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/ScrollPane.vue\"}},\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-fac8ca64\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/index.vue\"}},\"mixins\": [{\"watch\": {},\"methods\": {}}],\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-13877386\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/index.vue\"},\"redirect\": \"/order\",\"name\": \"Order\",\"alwaysShow\": true,\"meta\": {\"title\": \"订单\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"index\",\"name\": \"OrderIndex\",\"meta\": {\"title\": \"订单管理\"}}]},{\"path\": \"/user\",\"component\": {\"name\": \"Layout\",\"components\": {\"AppMain\": {\"name\": \"AppMain\",\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-078753dd\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/AppMain.vue\"},\"Navbar\": {\"components\": {\"Breadcrumb\": {\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-b50ef614\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Breadcrumb/index.vue\"},\"Hamburger\": {\"name\": \"Hamburger\",\"props\": {\"isActive\": {\"default\": false}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-4e6f274c\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Hamburger/index.vue\"},\"ErrorLog\": {\"name\": \"ErrorLog\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-cf51e862\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ErrorLog/index.vue\"},\"Screenfull\": {\"name\": \"Screenfull\",\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-29234bee\",\"beforeCreate\": [null],\"__file\": \"src/components/Screenfull/index.vue\"},\"SizeSelect\": {\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/SizeSelect/index.vue\"},\"Search\": {\"name\": \"HeaderSearch\",\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-032bd1f0\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/HeaderSearch/index.vue\"}},\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-d16d6306\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Navbar.vue\"},\"RightPanel\": {\"name\": \"RightPanel\",\"props\": {\"clickNotClose\": {\"default\": false},\"buttonTop\": {\"default\": 250}},\"computed\": {},\"watch\": {},\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-1e488bfb\",\"beforeCreate\": [null],\"__file\": \"src/components/RightPanel/index.vue\"},\"Settings\": {\"components\": {\"ThemePicker\": {\"computed\": {},\"watch\": {\"defaultTheme\": {\"immediate\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ThemePicker/index.vue\"}},\"computed\": {\"fixedHeader\": {},\"tagsView\": {},\"sidebarLogo\": {}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-126b135a\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Settings/index.vue\"},\"Sidebar\": {\"components\": {\"SidebarItem\": {\"name\": \"SidebarItem\",\"components\": {\"Item\": {\"name\": \"MenuItem\",\"functional\": true,\"props\": {\"icon\": {\"default\": \"\"},\"title\": {\"default\": \"\"}},\"__file\": \"src/layout/components/Sidebar/Item.vue\"},\"AppLink\": {\"props\": {\"to\": {\"required\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Link.vue\"}},\"mixins\": [{\"computed\": {},\"methods\": {}}],\"props\": {\"item\": {\"required\": true},\"isNest\": {\"default\": false},\"basePath\": {\"default\": \"\"}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/SidebarItem.vue\"},\"Logo\": {\"name\": \"SidebarLogo\",\"props\": {\"collapse\": {\"required\": true}},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-6494804b\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Logo.vue\"}},\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/index.vue\"},\"TagsView\": {\"components\": {\"ScrollPane\": {\"name\": \"ScrollPane\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-be6b7bae\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/ScrollPane.vue\"}},\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-fac8ca64\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/index.vue\"}},\"mixins\": [{\"watch\": {},\"methods\": {}}],\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-13877386\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/index.vue\"},\"redirect\": \"/user\",\"name\": \"User\",\"meta\": {\"title\": \"会员\",\"icon\": \"clipboard\",\"roles\": [\"editor\"]},\"children\": [{\"path\": \"index\",\"name\": \"UserIndex\",\"meta\": {\"title\": \"会员管理\",\"icon\": \"\"}},{\"path\": \"notice\",\"name\": \"Notice\",\"meta\": {\"title\": \"站内通知\",\"icon\": \"\"}},{\"path\": \"grade\",\"name\": \"Grade\",\"meta\": {\"title\": \"会员等级\",\"icon\": \"\"}},{\"path\": \"group\",\"name\": \"Group\",\"meta\": {\"title\": \"会员分组\",\"icon\": \"\"}}]},{\"path\": \"/distribution\",\"component\": {\"name\": \"Layout\",\"components\": {\"AppMain\": {\"name\": \"AppMain\",\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-078753dd\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/AppMain.vue\"},\"Navbar\": {\"components\": {\"Breadcrumb\": {\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-b50ef614\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Breadcrumb/index.vue\"},\"Hamburger\": {\"name\": \"Hamburger\",\"props\": {\"isActive\": {\"default\": false}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-4e6f274c\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Hamburger/index.vue\"},\"ErrorLog\": {\"name\": \"ErrorLog\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-cf51e862\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ErrorLog/index.vue\"},\"Screenfull\": {\"name\": \"Screenfull\",\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-29234bee\",\"beforeCreate\": [null],\"__file\": \"src/components/Screenfull/index.vue\"},\"SizeSelect\": {\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/SizeSelect/index.vue\"},\"Search\": {\"name\": \"HeaderSearch\",\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-032bd1f0\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/HeaderSearch/index.vue\"}},\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-d16d6306\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Navbar.vue\"},\"RightPanel\": {\"name\": \"RightPanel\",\"props\": {\"clickNotClose\": {\"default\": false},\"buttonTop\": {\"default\": 250}},\"computed\": {},\"watch\": {},\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-1e488bfb\",\"beforeCreate\": [null],\"__file\": \"src/components/RightPanel/index.vue\"},\"Settings\": {\"components\": {\"ThemePicker\": {\"computed\": {},\"watch\": {\"defaultTheme\": {\"immediate\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ThemePicker/index.vue\"}},\"computed\": {\"fixedHeader\": {},\"tagsView\": {},\"sidebarLogo\": {}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-126b135a\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Settings/index.vue\"},\"Sidebar\": {\"components\": {\"SidebarItem\": {\"name\": \"SidebarItem\",\"components\": {\"Item\": {\"name\": \"MenuItem\",\"functional\": true,\"props\": {\"icon\": {\"default\": \"\"},\"title\": {\"default\": \"\"}},\"__file\": \"src/layout/components/Sidebar/Item.vue\"},\"AppLink\": {\"props\": {\"to\": {\"required\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Link.vue\"}},\"mixins\": [{\"computed\": {},\"methods\": {}}],\"props\": {\"item\": {\"required\": true},\"isNest\": {\"default\": false},\"basePath\": {\"default\": \"\"}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/SidebarItem.vue\"},\"Logo\": {\"name\": \"SidebarLogo\",\"props\": {\"collapse\": {\"required\": true}},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-6494804b\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Logo.vue\"}},\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/index.vue\"},\"TagsView\": {\"components\": {\"ScrollPane\": {\"name\": \"ScrollPane\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-be6b7bae\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/ScrollPane.vue\"}},\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-fac8ca64\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/index.vue\"}},\"mixins\": [{\"watch\": {},\"methods\": {}}],\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-13877386\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/index.vue\"},\"redirect\": \"/distribution/index\",\"name\": \"Distribution\",\"meta\": {\"title\": \"分销\",\"icon\": \"clipboard\",\"roles\": [\"editor\"]},\"children\": [{\"path\": \"index\",\"name\": \"distributionIndex\",\"meta\": {\"title\": \"分销员管理\",\"icon\": \"\"}},{\"path\": \"distributionconfig\",\"name\": \"distributionConfig\",\"meta\": {\"title\": \"分销配置\",\"icon\": \"\"}}]},{\"path\": \"/marketing\",\"component\": {\"name\": \"Layout\",\"components\": {\"AppMain\": {\"name\": \"AppMain\",\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-078753dd\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/AppMain.vue\"},\"Navbar\": {\"components\": {\"Breadcrumb\": {\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-b50ef614\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Breadcrumb/index.vue\"},\"Hamburger\": {\"name\": \"Hamburger\",\"props\": {\"isActive\": {\"default\": false}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-4e6f274c\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Hamburger/index.vue\"},\"ErrorLog\": {\"name\": \"ErrorLog\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-cf51e862\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ErrorLog/index.vue\"},\"Screenfull\": {\"name\": \"Screenfull\",\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-29234bee\",\"beforeCreate\": [null],\"__file\": \"src/components/Screenfull/index.vue\"},\"SizeSelect\": {\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/SizeSelect/index.vue\"},\"Search\": {\"name\": \"HeaderSearch\",\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-032bd1f0\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/HeaderSearch/index.vue\"}},\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-d16d6306\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Navbar.vue\"},\"RightPanel\": {\"name\": \"RightPanel\",\"props\": {\"clickNotClose\": {\"default\": false},\"buttonTop\": {\"default\": 250}},\"computed\": {},\"watch\": {},\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-1e488bfb\",\"beforeCreate\": [null],\"__file\": \"src/components/RightPanel/index.vue\"},\"Settings\": {\"components\": {\"ThemePicker\": {\"computed\": {},\"watch\": {\"defaultTheme\": {\"immediate\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ThemePicker/index.vue\"}},\"computed\": {\"fixedHeader\": {},\"tagsView\": {},\"sidebarLogo\": {}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-126b135a\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Settings/index.vue\"},\"Sidebar\": {\"components\": {\"SidebarItem\": {\"name\": \"SidebarItem\",\"components\": {\"Item\": {\"name\": \"MenuItem\",\"functional\": true,\"props\": {\"icon\": {\"default\": \"\"},\"title\": {\"default\": \"\"}},\"__file\": \"src/layout/components/Sidebar/Item.vue\"},\"AppLink\": {\"props\": {\"to\": {\"required\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Link.vue\"}},\"mixins\": [{\"computed\": {},\"methods\": {}}],\"props\": {\"item\": {\"required\": true},\"isNest\": {\"default\": false},\"basePath\": {\"default\": \"\"}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/SidebarItem.vue\"},\"Logo\": {\"name\": \"SidebarLogo\",\"props\": {\"collapse\": {\"required\": true}},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-6494804b\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Logo.vue\"}},\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/index.vue\"},\"TagsView\": {\"components\": {\"ScrollPane\": {\"name\": \"ScrollPane\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-be6b7bae\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/ScrollPane.vue\"}},\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-fac8ca64\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/index.vue\"}},\"mixins\": [{\"watch\": {},\"methods\": {}}],\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-13877386\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/index.vue\"},\"redirect\": \"/marketing\",\"name\": \"Marketing\",\"meta\": {\"title\": \"营销\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"coupon\",\"name\": \"Coupon\",\"meta\": {\"title\": \"优惠券\",\"icon\": \"\"},\"children\": [{\"path\": \"template\",\"name\": \"Template\",\"meta\": {\"title\": \"优惠券模板\",\"icon\": \"\"}},{\"path\": \"list\",\"name\": \"List\",\"meta\": {\"title\": \"优惠券列表\",\"icon\": \"\"}},{\"path\": \"record\",\"name\": \"Record\",\"meta\": {\"title\": \"会员领取记录\",\"icon\": \"\"}}]},{\"path\": \"bargain\",\"name\": \"Bargain\",\"meta\": {\"title\": \"砍价管理\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"bargainGoods\",\"name\": \"bargainGoods\",\"meta\": {\"title\": \"砍价商品\",\"icon\": \"\"}}]},{\"path\": \"groupBuy\",\"name\": \"groupBuy\",\"meta\": {\"title\": \"拼团管理\",\"icon\": \"\"},\"children\": [{\"path\": \"groupGoods\",\"name\": \"groupGoods\",\"meta\": {\"title\": \"拼团商品\",\"icon\": \"\"}},{\"path\": \"groupList\",\"name\": \"groupList\",\"meta\": {\"title\": \"拼团列表\",\"icon\": \"\"}}]},{\"path\": \"spike\",\"name\": \"Spike\",\"meta\": {\"title\": \"秒杀管理\",\"icon\": \"\"},\"children\": [{\"path\": \"spikeconfig\",\"name\": \"spikeConfig\",\"meta\": {\"title\": \"秒杀配置\",\"icon\": \"\"}},{\"path\": \"bargainList\",\"name\": \"bargainList\",\"meta\": {\"title\": \"秒杀商品\",\"icon\": \"\"}}]},{\"path\": \"integral\",\"name\": \"Integral\",\"meta\": {\"title\": \"积分\",\"icon\": \"\"},\"children\": [{\"path\": \"integralconfig\",\"name\": \"integralConfig\",\"meta\": {\"title\": \"积分配置\",\"icon\": \"\"}},{\"path\": \"integrallog\",\"name\": \"integralLog\",\"meta\": {\"title\": \"积分日志\",\"icon\": \"\"}}]}]},{\"path\": \"/financial\",\"component\": {\"name\": \"Layout\",\"components\": {\"AppMain\": {\"name\": \"AppMain\",\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-078753dd\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/AppMain.vue\"},\"Navbar\": {\"components\": {\"Breadcrumb\": {\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-b50ef614\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Breadcrumb/index.vue\"},\"Hamburger\": {\"name\": \"Hamburger\",\"props\": {\"isActive\": {\"default\": false}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-4e6f274c\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Hamburger/index.vue\"},\"ErrorLog\": {\"name\": \"ErrorLog\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-cf51e862\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ErrorLog/index.vue\"},\"Screenfull\": {\"name\": \"Screenfull\",\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-29234bee\",\"beforeCreate\": [null],\"__file\": \"src/components/Screenfull/index.vue\"},\"SizeSelect\": {\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/SizeSelect/index.vue\"},\"Search\": {\"name\": \"HeaderSearch\",\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-032bd1f0\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/HeaderSearch/index.vue\"}},\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-d16d6306\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Navbar.vue\"},\"RightPanel\": {\"name\": \"RightPanel\",\"props\": {\"clickNotClose\": {\"default\": false},\"buttonTop\": {\"default\": 250}},\"computed\": {},\"watch\": {},\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-1e488bfb\",\"beforeCreate\": [null],\"__file\": \"src/components/RightPanel/index.vue\"},\"Settings\": {\"components\": {\"ThemePicker\": {\"computed\": {},\"watch\": {\"defaultTheme\": {\"immediate\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ThemePicker/index.vue\"}},\"computed\": {\"fixedHeader\": {},\"tagsView\": {},\"sidebarLogo\": {}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-126b135a\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Settings/index.vue\"},\"Sidebar\": {\"components\": {\"SidebarItem\": {\"name\": \"SidebarItem\",\"components\": {\"Item\": {\"name\": \"MenuItem\",\"functional\": true,\"props\": {\"icon\": {\"default\": \"\"},\"title\": {\"default\": \"\"}},\"__file\": \"src/layout/components/Sidebar/Item.vue\"},\"AppLink\": {\"props\": {\"to\": {\"required\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Link.vue\"}},\"mixins\": [{\"computed\": {},\"methods\": {}}],\"props\": {\"item\": {\"required\": true},\"isNest\": {\"default\": false},\"basePath\": {\"default\": \"\"}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/SidebarItem.vue\"},\"Logo\": {\"name\": \"SidebarLogo\",\"props\": {\"collapse\": {\"required\": true}},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-6494804b\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Logo.vue\"}},\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/index.vue\"},\"TagsView\": {\"components\": {\"ScrollPane\": {\"name\": \"ScrollPane\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-be6b7bae\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/ScrollPane.vue\"}},\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-fac8ca64\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/index.vue\"}},\"mixins\": [{\"watch\": {},\"methods\": {}}],\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-13877386\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/index.vue\"},\"redirect\": \"/financial\",\"name\": \"Financial\",\"meta\": {\"title\": \"财务\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"commission\",\"name\": \"Commission\",\"meta\": {\"title\": \"财务操作\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"template\",\"name\": \"Template\",\"meta\": {\"title\": \"申请提现\",\"icon\": \"\"}}]},{\"path\": \"record\",\"name\": \"Record\",\"meta\": {\"title\": \"财务记录\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"charge\",\"name\": \"Charge\",\"meta\": {\"title\": \"充值记录\",\"icon\": \"\"}},{\"path\": \"monitor\",\"name\": \"Monitor\",\"meta\": {\"title\": \"资金监控\",\"icon\": \"\"}}]},{\"path\": \"brokerage\",\"name\": \"Brokerage\",\"meta\": {\"title\": \"佣金记录\",\"icon\": \"\"}}]},{\"path\": \"/datas\",\"component\": {\"name\": \"Layout\",\"components\": {\"AppMain\": {\"name\": \"AppMain\",\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-078753dd\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/AppMain.vue\"},\"Navbar\": {\"components\": {\"Breadcrumb\": {\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-b50ef614\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Breadcrumb/index.vue\"},\"Hamburger\": {\"name\": \"Hamburger\",\"props\": {\"isActive\": {\"default\": false}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-4e6f274c\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/Hamburger/index.vue\"},\"ErrorLog\": {\"name\": \"ErrorLog\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-cf51e862\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ErrorLog/index.vue\"},\"Screenfull\": {\"name\": \"Screenfull\",\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-29234bee\",\"beforeCreate\": [null],\"__file\": \"src/components/Screenfull/index.vue\"},\"SizeSelect\": {\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/SizeSelect/index.vue\"},\"Search\": {\"name\": \"HeaderSearch\",\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-032bd1f0\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/HeaderSearch/index.vue\"}},\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-d16d6306\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Navbar.vue\"},\"RightPanel\": {\"name\": \"RightPanel\",\"props\": {\"clickNotClose\": {\"default\": false},\"buttonTop\": {\"default\": 250}},\"computed\": {},\"watch\": {},\"beforeDestroy\": [null,null],\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-1e488bfb\",\"beforeCreate\": [null],\"__file\": \"src/components/RightPanel/index.vue\"},\"Settings\": {\"components\": {\"ThemePicker\": {\"computed\": {},\"watch\": {\"defaultTheme\": {\"immediate\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/components/ThemePicker/index.vue\"}},\"computed\": {\"fixedHeader\": {},\"tagsView\": {},\"sidebarLogo\": {}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-126b135a\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Settings/index.vue\"},\"Sidebar\": {\"components\": {\"SidebarItem\": {\"name\": \"SidebarItem\",\"components\": {\"Item\": {\"name\": \"MenuItem\",\"functional\": true,\"props\": {\"icon\": {\"default\": \"\"},\"title\": {\"default\": \"\"}},\"__file\": \"src/layout/components/Sidebar/Item.vue\"},\"AppLink\": {\"props\": {\"to\": {\"required\": true}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Link.vue\"}},\"mixins\": [{\"computed\": {},\"methods\": {}}],\"props\": {\"item\": {\"required\": true},\"isNest\": {\"default\": false},\"basePath\": {\"default\": \"\"}},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/SidebarItem.vue\"},\"Logo\": {\"name\": \"SidebarLogo\",\"props\": {\"collapse\": {\"required\": true}},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-6494804b\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/Logo.vue\"}},\"computed\": {},\"staticRenderFns\": [],\"_compiled\": true,\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/Sidebar/index.vue\"},\"TagsView\": {\"components\": {\"ScrollPane\": {\"name\": \"ScrollPane\",\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-be6b7bae\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/ScrollPane.vue\"}},\"computed\": {},\"watch\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-fac8ca64\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/components/TagsView/index.vue\"}},\"mixins\": [{\"watch\": {},\"methods\": {}}],\"computed\": {},\"methods\": {},\"staticRenderFns\": [],\"_compiled\": true,\"_scopeId\": \"data-v-13877386\",\"beforeCreate\": [null],\"beforeDestroy\": [null],\"__file\": \"src/layout/index.vue\"},\"redirect\": \"/datas\",\"name\": \"Datas\",\"meta\": {\"title\": \"数据\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"transaction\",\"name\": \"Transaction\",\"meta\": {\"title\": \"交易数据\",\"icon\": \"\"},\"children\": [{\"path\": \"transactionorder\",\"name\": \"transactionOrder\",\"meta\": {\"title\": \"订单统计\",\"icon\": \"\"}},{\"path\": \"transactiongoods\",\"name\": \"transactionGoods\",\"meta\": {\"title\": \"商品统计\",\"icon\": \"\"}}]},{\"path\": \"bargain\",\"name\": \"Bargain\",\"meta\": {\"title\": \"砍价管理\",\"icon\": \"\"},\"alwaysShow\": true,\"children\": [{\"path\": \"bargainGoods\",\"name\": \"bargainGoods\",\"meta\": {\"title\": \"砍价商品\",\"icon\": \"\"}}]},{\"path\": \"groupBuy\",\"name\": \"groupBuy\",\"meta\": {\"title\": \"拼团管理\",\"icon\": \"\"},\"children\": [{\"path\": \"groupGoods\",\"name\": \"groupGoods\",\"meta\": {\"title\": \"拼团商品\",\"icon\": \"\"}},{\"path\": \"groupList\",\"name\": \"groupList\",\"meta\": {\"title\": \"拼团列表\",\"icon\": \"\"}}]},{\"path\": \"spike\",\"name\": \"Spike\",\"meta\": {\"title\": \"秒杀管理\",\"icon\": \"\"},\"children\": [{\"path\": \"spikeconfig\",\"name\": \"spikeConfig\",\"meta\": {\"title\": \"秒杀配置\",\"icon\": \"\"}},{\"path\": \"bargainList\",\"name\": \"bargainList\",\"meta\": {\"title\": \"秒杀商品\",\"icon\": \"\"}}]},{\"path\": \"integral\",\"name\": \"Integral\",\"meta\": {\"title\": \"积分\",\"icon\": \"\"},\"children\": [{\"path\": \"integralconfig\",\"name\": \"integralConfig\",\"meta\": {\"title\": \"积分配置\",\"icon\": \"\"}},{\"path\": \"integrallog\",\"name\": \"integralLog\",\"meta\": {\"title\": \"积分日志\",\"icon\": \"\"}}]}]},{\"path\": \"*\",\"redirect\": \"/404\",\"hidden\": true}]"; -// String result = "[{\"path\": \"/order\",\"redirect\": \"/order\",\"name\": \"Order\",\"alwaysShow\": true,\"meta\": {\"title\": \"订单\",\"icon\": \"clipboard\",\"roles\": [\"admin\"]},\"children\": [{\"path\": \"index\",\"name\": \"OrderIndex\",\"meta\": {\"title\": \"订单管理\"}}]}]"; - return CommonResult.success(result,"获取菜单成功"); - } /** * 分页显示身份管理表 * @param request 搜索条件 @@ -63,7 +54,7 @@ public class SystemRoleController { */ @ApiOperation(value = "新增") @RequestMapping(value = "/save", method = RequestMethod.POST) - public CommonResult save(@Validated SystemRoleRequest systemRoleRequest){ + public CommonResult save(@RequestBody @Validated SystemRoleRequest systemRoleRequest){ SystemRole systemRole = new SystemRole(); BeanUtils.copyProperties(systemRoleRequest, systemRole); @@ -99,7 +90,7 @@ public class SystemRoleController { */ @ApiOperation(value = "修改") @RequestMapping(value = "/update", method = RequestMethod.POST) - public CommonResult update(@RequestParam Integer id, @Validated SystemRoleRequest systemRoleRequest){ + public CommonResult update(@RequestParam Integer id, @RequestBody @Validated SystemRoleRequest systemRoleRequest){ SystemRole systemRole = new SystemRole(); BeanUtils.copyProperties(systemRoleRequest, systemRole); systemRole.setId(id); diff --git a/crmeb/src/main/java/com/zbkj/crmeb/system/service/impl/SystemRoleServiceImpl.java b/crmeb/src/main/java/com/zbkj/crmeb/system/service/impl/SystemRoleServiceImpl.java index 58374be4..0f49f7ea 100644 --- a/crmeb/src/main/java/com/zbkj/crmeb/system/service/impl/SystemRoleServiceImpl.java +++ b/crmeb/src/main/java/com/zbkj/crmeb/system/service/impl/SystemRoleServiceImpl.java @@ -84,6 +84,11 @@ public class SystemRoleServiceImpl extends ServiceImpl categoryIdList = getRoleListInRoleId(); if(categoryIdList.size() < 1){ return false; diff --git a/crmeb_java_v1.0.sql b/crmeb_java_v1.0.sql index c49d3195..38ec8fce 100644 --- a/crmeb_java_v1.0.sql +++ b/crmeb_java_v1.0.sql @@ -7,7 +7,7 @@ # # Host: 127.0.0.1 (MySQL 5.7.23) # Database: crmeb_java -# Generation Time: 2020-08-28 05:02:57 +0000 +# Generation Time: 2020-08-31 07:52:55 +0000 # ************************************************************ @@ -5264,7 +5264,6 @@ LOCK TABLES `eb_system_config` WRITE; INSERT INTO `eb_system_config` (`id`, `name`, `title`, `form_id`, `value`, `status`, `create_time`, `update_time`) VALUES - (173,'seo_title','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (177,'close_system','',0,'0',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (178,'wechat_appid','wechat_appid',65,'wx009a1974eb2a76b811',0,'2020-05-14 15:20:25','2020-08-11 20:23:31'), (179,'wechat_appsecret','wechat_appsecret',65,'adb3deca7e583eb94842f12766a32ed1111',0,'2020-05-14 15:20:25','2020-08-12 12:38:53'), @@ -5284,7 +5283,6 @@ VALUES (206,'sx_sign_min_int','',0,'1',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (207,'sx_sign_max_int','',0,'5',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (208,'about_us','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), - (209,'replenishment_num','',0,'20',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (212,'api','',0,'\\/api\\/wechat\\/serve',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (218,'store_brokerage_rate_2','',0,'60',0,'2020-05-14 15:20:25','2020-07-14 16:44:54'), (219,'store_brokerage_status','store_brokerage_status',0,'1',0,'2020-05-14 15:20:25','2020-08-05 17:42:38'), @@ -5293,24 +5291,17 @@ VALUES (228,'fast_number','',0,'10',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (229,'bast_number','',0,'10',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (230,'first_number','',0,'10',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), - (231,'routine_index_logo','',0,'http:\\/\\/kaifa.crmeb.net\\/uploads\\/attach\\/2019\\/08\\/20190801\\/deb30359d22c0b80f3cece86cb462104.png',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (232,'upload_type','',0,'4',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (233,'uploadUrl','',0,'https://wuht-1300909283.cos.ap-chengdu.myqcloud.com',0,'2020-05-14 15:20:25','2020-06-03 17:20:22'), (234,'accessKey','',0,'AKIDylJg18LnKgogJWBCftWwAASZR12312312313QMdYsQ',0,'2020-05-14 15:20:25','2020-06-03 17:20:54'), (235,'secretKey','',0,'SebIWXNxtpTs3bv0ps123213jKgmbEeqKckC4i',0,'2020-05-14 15:20:25','2020-06-03 17:21:02'), (236,'storage_name','',0,'wuht-13009031231239283',0,'2020-05-14 15:20:25','2020-06-03 17:21:18'), - (237,'order_cancel_time','',0,'0.1',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), - (238,'order_activity_time','',0,'2',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (239,'order_bargain_time','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (240,'order_seckill_time','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (241,'order_pink_time','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (242,'storage_region','',0,'ap-chengdu',0,'2020-05-14 15:20:25','2020-06-03 17:37:19'), - (243,'vip_open','',0,'1',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), - (244,'new_order_audio_link','',0,'\\/public\\/uploads\\/config\\/file\\/5cedd83eedba2.mp3',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (245,'system_delivery_time','',0,'1',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (249,'offline_pay_status','',0,'2',0,'2020-05-14 15:20:25','2020-08-12 22:12:56'), - (250,'news_slides_limit','',0,'5',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), - (251,'recharge_switch','',0,'1',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (254,'cache_config','',0,'86400',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (256,'develop_id','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), (257,'printing_api_key','',0,'',0,'2020-05-14 15:20:25','2020-05-14 16:37:47'), @@ -5420,7 +5411,7 @@ VALUES (1610,'order_cancel_time','order_cancel_time',77,'1',0,'2020-08-13 12:22:23','2020-08-13 12:22:23'), (1611,'order_activity_time','order_activity_time',77,'2',0,'2020-08-13 12:22:23','2020-08-13 12:22:23'), (1612,'vip_open','vip_open',77,'1111',0,'2020-08-13 12:22:23','2020-08-13 12:22:23'), - (1613,'new_order_audio_link','new_order_audio_link',77,'1111',0,'2020-08-13 12:22:23','2020-08-13 12:22:23'), + (1613,'new_order_audio_link','new_order_audio_link',77,'\\/public\\/uploads\\/config\\/file\\/5cedd83eedba2.mp3',0,'2020-08-13 12:22:23','2020-08-31 15:51:34'), (1623,'site_name','site_name',64,'CRMEB',0,'2020-08-13 14:46:06','2020-08-13 14:46:06'), (1624,'site_url','site_url',64,'https://java.crmeb.net',0,'2020-08-13 14:46:06','2020-08-13 14:46:06'), (1625,'api_url','api_url',64,'https://api.java.crmeb.net',0,'2020-08-13 14:46:06','2020-08-13 14:46:06'),