充值兑换码相关接口
This commit is contained in:
@@ -43,6 +43,14 @@ public class RechargeRedemptionController {
|
||||
return CzgResult.success(enableConfigService.upEnable(StpKit.USER.getMainShopId(),StpKit.USER.getLoginIdAsLong(), enable, TableValueConstant.EnableConfig.Type.RECHARGE_REDEMPTION));
|
||||
}
|
||||
|
||||
/**
|
||||
* 开关状态
|
||||
*/
|
||||
@GetMapping("/enable/status")
|
||||
public CzgResult<Integer> upEnable() {
|
||||
return CzgResult.success(enableConfigService.detail(StpKit.USER.getMainShopId(), StpKit.USER.getLoginIdAsLong(), TableValueConstant.EnableConfig.Type.RECHARGE_REDEMPTION));
|
||||
}
|
||||
|
||||
/**
|
||||
* 配置信息详情
|
||||
*/
|
||||
@@ -63,7 +71,7 @@ public class RechargeRedemptionController {
|
||||
}
|
||||
|
||||
/**
|
||||
* 配置信息田间
|
||||
* 配置信息添加
|
||||
*/
|
||||
@SaAdminCheckPermission(value = "rechargeRedemption:add", name = "充值兑换配置添加")
|
||||
@PostMapping
|
||||
|
||||
Reference in New Issue
Block a user