不报错 获取邀请码
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user