From 85f63ceeb3f9e5e57b538d56407e94a4b19f6211 Mon Sep 17 00:00:00 2001 From: lidongdong <1459917685@qq.com> Date: 星期五, 24 十一月 2023 09:32:15 +0800 Subject: [PATCH] 修改商家添加 新增判断是否是商家判断接口 --- springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NewStriveAppApi.java | 20 ++++++++++++++------ 1 files changed, 14 insertions(+), 6 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NewStriveAppApi.java b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NewStriveAppApi.java index 29fbbc8..753f359 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NewStriveAppApi.java +++ b/springcloud_k8s_panzhihuazhihuishequ/applets/src/main/java/com/panzhihua/applets/api/NewStriveAppApi.java @@ -646,8 +646,6 @@ /** * 每日签到记录列表 前15条 - * @param userId - * @param communityId * @return */ @ApiOperation(value = "每日签到记录列表 前15条", response = IntegratingTaskVO.class) @@ -691,10 +689,12 @@ @RequestParam(value = "orderNumber", required = false)String orderNumber, @RequestParam(value = "goodName", required = false)String goodName, @RequestParam(value = "name", required = false)String name, - @RequestParam(value = "cancelType", required = false)String cancelType) + @RequestParam(value = "cancelType", required = false)String cancelType, + @RequestParam(value = "merchantId", required = false) String merchantId, + @RequestParam(value = "orderType", required = false) String orderType) { return newStriveForFeign.orderGetList(pageNum,pageSize,userId,goodsId,orderNumber, - goodName,name,cancelType,getCommunityId()+""); + goodName,name,cancelType,getCommunityId()+"",merchantId,orderType); } /** @@ -720,6 +720,7 @@ { item.setCommunityId(getCommunityId()+""); item.setUserId(getUserId()+""); + item.setOrderType("1"); return newStriveForFeign.orderAddData(item); } @@ -781,8 +782,6 @@ } - - @ApiOperation(value = "获取社区积分排名") @GetMapping("/getIntegralUserRank") public R getIntegralUserRank() @@ -790,4 +789,13 @@ return communityService.getIntegralUserRank(getCommunityId(),getUserId()); } + + @ApiOperation(value = "是否是商家 如果是商家返回商家id") + @GetMapping("/selectUserBind") + public R selectUserBind() + { + return newStriveForFeign.selectUserBind(getCommunityId()+"",getUserId()+""); + } + + } -- Gitblit v1.7.1