From 8bf9eb3f160e7701c3dcb070b4b512b2ac7f9431 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 24 一月 2024 16:32:10 +0800 Subject: [PATCH] 修改商家端统计bug --- ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/service/RemoteShopService.java | 68 ++++++++++++++++++++++++++++++++-- 1 files changed, 64 insertions(+), 4 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 0939dad..37a390e 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 @@ -2,11 +2,9 @@ import com.ruoyi.common.core.constant.ServiceNameConstants; import com.ruoyi.common.core.domain.R; -import com.ruoyi.system.api.domain.dto.MgtBaseBathDto; -import com.ruoyi.system.api.domain.dto.MgtBasePlatformDto; -import com.ruoyi.system.api.domain.dto.MgtShopIdByCodeDto; -import com.ruoyi.system.api.domain.dto.ShopTotalChangeDto; +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; @@ -22,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); @@ -138,4 +145,57 @@ */ @PostMapping("/shop/getShopMarketingStatus") public R<Integer> getShopMarketingStatus(@RequestBody Long shopId); + + @PostMapping("/shop/getShopByBelongUserId") + public R<ShopRelUserVo> getShopByBelongUserId(@RequestBody Long userId); + + + /** + * @description 修改商户员工 + * @author jqs + * @date 2023/7/19 19:02 + * @param mgtShopStaffEditDto + * @return R + */ + @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); } -- Gitblit v1.7.1