兑换转账金币
This commit is contained in:
parent
675b5ebc65
commit
32d9284320
@ -83,6 +83,20 @@ public class BankRestController extends BaseController {
|
||||
return userBankService.exchangeGold(cmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* 活动兑换金币.
|
||||
*
|
||||
* @eo.name 兑换金币.
|
||||
* @eo.url /exchange/gold
|
||||
* @eo.method post
|
||||
* @eo.request-type json
|
||||
*/
|
||||
@PostMapping("/activity/exchange/gold")
|
||||
public UserBankExchangeGoldResultCO activityExchangeGold(@RequestBody @Validated UserBankExchangeGoldCmd cmd) {
|
||||
return userBankService.exchangeGold(cmd);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 提现.
|
||||
*
|
||||
@ -137,6 +151,19 @@ public class BankRestController extends BaseController {
|
||||
return userBankService.transferGold(cmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* 活动转账到金币.
|
||||
*
|
||||
* @eo.name 转账到金币.
|
||||
* @eo.url /transferGold
|
||||
* @eo.method post
|
||||
* @eo.request-type json
|
||||
*/
|
||||
@PostMapping("/activity/transferGold")
|
||||
public UserBankWithdrawResultCO activityTransferGold(@RequestBody @Validated UserBankWithdrawTransferCmd cmd) {
|
||||
return userBankService.transferGold(cmd);
|
||||
}
|
||||
|
||||
/**
|
||||
* 钻石转账.
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user