去除结束游戏接口
This commit is contained in:
parent
732c3d180b
commit
ff9aaa16e2
@ -143,7 +143,7 @@ public class GameLudoAppRestController {
|
|||||||
* @eo.method post
|
* @eo.method post
|
||||||
* @eo.request-type json
|
* @eo.request-type json
|
||||||
*/
|
*/
|
||||||
@PostMapping("/end")
|
// @PostMapping("/end")
|
||||||
public void end(@RequestBody @Validated GameLudoEndCmd cmd) {
|
public void end(@RequestBody @Validated GameLudoEndCmd cmd) {
|
||||||
gameLudoService.end(cmd);
|
gameLudoService.end(cmd);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -47,8 +47,6 @@ public class GameLudoLatestDisbandCmdExe {
|
|||||||
gameLudoRun.setGameStatus(GameStatus.END);
|
gameLudoRun.setGameStatus(GameStatus.END);
|
||||||
gameLudoRun.setGameStatusEvent(GameStatusEvent.TIMEOUT_DISBAND);
|
gameLudoRun.setGameStatusEvent(GameStatusEvent.TIMEOUT_DISBAND);
|
||||||
gameLudoCommon.historyProcessing(gameLudoRun);
|
gameLudoCommon.historyProcessing(gameLudoRun);
|
||||||
//退款
|
|
||||||
refund(gameLudoRun);
|
|
||||||
} finally {
|
} finally {
|
||||||
redisService.unlock(lockKey);
|
redisService.unlock(lockKey);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user