|
@@ -9,6 +9,7 @@ import com.game.business.vo.AppAgentTeamVo;
|
|
import com.game.business.vo.AppUserAgentJournalIndexVO;
|
|
import com.game.business.vo.AppUserAgentJournalIndexVO;
|
|
import com.game.business.vo.AppUserDetailVo;
|
|
import com.game.business.vo.AppUserDetailVo;
|
|
import com.game.business.vo.AppUserTeamTranserRecordVo;
|
|
import com.game.business.vo.AppUserTeamTranserRecordVo;
|
|
|
|
+import com.game.common.annotation.RepeatSubmit;
|
|
import com.game.common.constant.CacheConstants;
|
|
import com.game.common.constant.CacheConstants;
|
|
import com.game.common.core.controller.BaseController;
|
|
import com.game.common.core.controller.BaseController;
|
|
import com.game.common.core.domain.HttpRet;
|
|
import com.game.common.core.domain.HttpRet;
|
|
@@ -238,6 +239,7 @@ public class AppAgentController extends BaseController {
|
|
*/
|
|
*/
|
|
@PostMapping(value = "/transfer")
|
|
@PostMapping(value = "/transfer")
|
|
@ApiOperation(value = "团队转账", notes = "团队转账")
|
|
@ApiOperation(value = "团队转账", notes = "团队转账")
|
|
|
|
+ @RepeatSubmit(message = "频繁操作")
|
|
public HttpRet<Boolean> transfer(@RequestBody @Validated AppUserTeamTranserDto transerDto)
|
|
public HttpRet<Boolean> transfer(@RequestBody @Validated AppUserTeamTranserDto transerDto)
|
|
{
|
|
{
|
|
Long userId = SecurityUtils.getUserId();
|
|
Long userId = SecurityUtils.getUserId();
|
|
@@ -262,6 +264,17 @@ public class AppAgentController extends BaseController {
|
|
return finTranRecordService.transfer(transerDto);
|
|
return finTranRecordService.transfer(transerDto);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 金币转账
|
|
|
|
+ */
|
|
|
|
+ @PostMapping(value = "/coinTransfer")
|
|
|
|
+ @ApiOperation(value = "金币转账", notes = "金币转账")
|
|
|
|
+ @RepeatSubmit(message = "频繁操作")
|
|
|
|
+ public HttpRet<Boolean> coinTransfer(@RequestBody @Validated AppUserTeamTranserDto transerDto)
|
|
|
|
+ {
|
|
|
|
+ return finTranRecordService.coinTransfer(transerDto);
|
|
|
|
+ }
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 团队转账记录
|
|
* 团队转账记录
|
|
*/
|
|
*/
|