不报错 获取邀请码
This commit is contained in:
@@ -104,6 +104,18 @@ public class UDistributionController {
|
|||||||
return CzgResult.success(distributionUserService.getInviteCode(shopId, shopUserId));
|
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,7 +197,8 @@ public class UDistributionController {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* 收益明细
|
* 收益明细
|
||||||
* @param status pending待入账 success已入账
|
*
|
||||||
|
* @param status pending待入账 success已入账
|
||||||
*/
|
*/
|
||||||
@GetMapping("/distributionFlow")
|
@GetMapping("/distributionFlow")
|
||||||
public CzgResult<Map<String, Object>> distributionFlow(@RequestParam(required = false) String startTime, @RequestParam(required = false) String endTime,
|
public CzgResult<Map<String, Object>> distributionFlow(@RequestParam(required = false) String startTime, @RequestParam(required = false) String endTime,
|
||||||
|
|||||||
Reference in New Issue
Block a user