From 3a12bbdaab43d249887683223191e57f1092d377 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 23 一月 2024 10:56:16 +0800 Subject: [PATCH] 新增加管理后台数据权限 --- ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 59 insertions(+), 1 deletions(-) diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java index 9891828..e99156d 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java @@ -4,6 +4,7 @@ import com.ruoyi.common.core.domain.R; import com.ruoyi.system.api.domain.dto.*; import com.ruoyi.system.api.domain.poji.shop.Shop; +import com.ruoyi.system.api.domain.vo.ShopProportionVo; import com.ruoyi.system.api.domain.vo.*; import com.ruoyi.system.api.factory.RemoteShopFallbackFactory; import com.ruoyi.system.api.model.QwH5LoginVo; @@ -19,6 +20,15 @@ @PostMapping("/shop/getShop") public R<Shop> getShop(@RequestBody Long shopId); + + @PostMapping("/shop/getShopSubMchId") + public R<String> getShopSubMchId(@RequestBody Long shopId); + + + + @PostMapping("/shop/getShopHFTXSubMchId") + public R<ShopAuthenticationHftxVo> getShopHFTXSubMchId(@RequestBody Long shopId); + @PostMapping("/shop/getShopByUserId") public R<ShopRelUserVo> getShopByUserId(@RequestBody Long userId); @@ -74,7 +84,7 @@ * @date 2023/6/18 16:45 */ @PostMapping("/shop/boardShopTotal") - public R<MgtBulletinBoardVo> boardShopTotal(); + public R<MgtBulletinBoardVo> boardShopTotal(@RequestBody List<Long> userIds); /** * @description 获取平台统计shopId @@ -149,4 +159,52 @@ */ @PostMapping("/shop/editMgtShopStaff") public R editMgtShopStaff(@RequestBody MgtShopStaffEditDto mgtShopStaffEditDto); + + /** + * 获取商户分成 + * @param shopId + * @return + */ + @PostMapping("/shop/getShopProportion") + R<ShopProportionVo> getShopProportion(@RequestBody Long shopId); + + @PostMapping("/shop/listShopIdByCityCode") + R<List<Long>> listShopIdByCityCode(@RequestBody List<String> cityCodes); + + /** + * @description 获取今日任务通知 + * @author jqs + * @date 2023/8/29 15:05 + * @param + * @return R<List<MgtUserTaskMsgVo>> + */ + @PostMapping("/shop/getTaskMsgList") + R<List<MgtUserTaskMsgVo>> getTaskMsgList(); + + + /** + * 根据城市code获取店铺 + * @param cityCodes + * @return + */ + @PostMapping("/shop/listShopByCityCode") + R<List<Shop>> listShopByCityCode(@RequestBody List<String> cityCodes); + + + /** + * 根据ids获取店铺 + * @param ids + * @return + */ + @PostMapping("/shop/listShopByIds") + R<List<Shop>> listShopByIds(@RequestBody List<String> ids); + + + /** + * 根据员工id获取关联到门店 + * @param userIds + * @return + */ + @PostMapping("/shop/getShopBySysUserIds") + List<Shop> getShopBySysUserIds(@RequestBody List<Long> userIds); } -- Gitblit v1.7.1