不报错 获取邀请码

This commit is contained in:
2026-01-20 15:13:22 +08:00
parent f10bafce52
commit cc40a8a7f0

View File

@@ -104,6 +104,18 @@ public class UDistributionController {
return CzgResult.success(distributionUserService.getInviteCode(shopId, shopUserId));
}
/**
* 分销员中心-获取邀请码
*/
@GetMapping("/autoGetInviteCode")
public CzgResult<String> autoGetInviteCode(@RequestParam Long shopId, @RequestParam Long shopUserId) {
try {
return CzgResult.success(distributionUserService.getInviteCode(shopId, shopUserId));
} catch (Exception e) {
return CzgResult.success("");
}
}
/**
* 分销员中心-实名认证
*/
@@ -185,6 +197,7 @@ public class UDistributionController {
/**
* 收益明细
*
* @param status pending待入账 success已入账
*/
@GetMapping("/distributionFlow")