|
@@ -1,6 +1,5 @@
|
|
|
package com.zanxiang.game.platform.serve.controller;
|
|
|
|
|
|
-import com.zanxiang.erp.security.annotation.PreAuthorize;
|
|
|
import com.zanxiang.game.platform.serve.pojo.req.PlatformSyncRequest;
|
|
|
import com.zanxiang.game.platform.serve.service.platform.PlatformBaseService;
|
|
|
import com.zanxiang.game.platform.serve.utils.SpringUtils;
|
|
@@ -29,7 +28,6 @@ public class GamePlatformSyncController {
|
|
|
|
|
|
@ApiOperation(value = "用户信息同步接口")
|
|
|
@PostMapping("/user")
|
|
|
- @PreAuthorize(permissionKey = "gamePlatformServe:gamePlatformSync:syncUser")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Boolean.class)})
|
|
|
public ResultVO<Boolean> syncUserInfo(@RequestBody @Validated PlatformSyncRequest request) {
|
|
|
PlatformBaseService service = SpringUtils.getBean(request.getGamePlatformEnum().getClazz());
|
|
@@ -39,7 +37,6 @@ public class GamePlatformSyncController {
|
|
|
|
|
|
@ApiOperation(value = "订单信息同步接口")
|
|
|
@PostMapping("/order")
|
|
|
- @PreAuthorize(permissionKey = "gamePlatformServe:gamePlatformSync:syncOrder")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Boolean.class)})
|
|
|
public ResultVO<Boolean> syncOrderInfo(@RequestBody @Validated PlatformSyncRequest request) {
|
|
|
PlatformBaseService service = SpringUtils.getBean(request.getGamePlatformEnum().getClazz());
|