浏览代码

屏蔽feign接口

wujiefeng 9 月之前
父节点
当前提交
8857df1579

+ 3 - 1
RewardServer/src/main/java/com/zhongshu/reward/server/core/controller/manager/InviteRecordManagerController.groovy

@@ -4,7 +4,8 @@ import com.github.microservice.auth.client.service.EnterpriseService
 import com.zhongshu.reward.client.service.InviteRecordFeignService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import org.springframework.web.bind.annotation.RestController
+import springfox.documentation.annotations.ApiIgnore;
 
 /**
  * @author wjf
@@ -12,6 +13,7 @@ import org.springframework.web.bind.annotation.RestController;
  */
 @RestController
 @RequestMapping("/manager/inviteRecord")
+@ApiIgnore
  class InviteRecordManagerController {
 
     @Autowired

+ 1 - 0
RewardServer/src/main/java/com/zhongshu/reward/server/core/service/WalletReceiptsService.java

@@ -75,6 +75,7 @@ public class WalletReceiptsService {
         if (rulerResultContent.getState().equals(com.zswl.cloud.bdb.client.ret.ResultState.Success)){
             InviteReceiptsRoleVo rulerVo = rulerResultContent.getContent();
             if (vipUserRecord.getSuc().equals(1)){
+                vipUserRecord.setFirst(false);
                 //订阅
                 //查询邀请关系
                 InviteRecord inviteRecord = inviteRecordDao.findTopByUserIdOrderByCreateTime(vipUserRecord.getCpId());