From 2dff7f26adc08af4fcf0b77ff0ddda99d75c77c4 Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期五, 18 十一月 2022 15:21:25 +0800 Subject: [PATCH] #feat 修改库存 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java index 9d7ca61..a856ec3 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/ComSanShuoExpertApi.java @@ -51,6 +51,7 @@ @PostMapping public R add(@RequestBody ComSanshuoExpertDTO comSanshuoExpertDTO){ comSanshuoExpertDTO.setCreateBy(this.getLoginUserInfo().getName()); + comSanshuoExpertDTO.setAppId(getLoginUserInfo().getAppId()); return comSanShuoExpertService.addOrUpdateExpert(comSanshuoExpertDTO); } @@ -129,9 +130,6 @@ } - - - /** * 专家范围 * */ @@ -176,6 +174,17 @@ return R.ok(); } + /** + * 后台获取专家列表 + * */ + @GetMapping("/backstageList2") + public R backstageList(@RequestParam(value = "level",required = false)Integer level, + @RequestParam(value = "page",required = false)Integer page, + @RequestParam(value = "size",required = false)Integer size){ + return comSanShuoExpertService.backstageList(level,getLoginUserInfo(),page,size); + } + + -- Gitblit v1.7.1