|
@@ -1,6 +1,7 @@
|
|
|
package com.zanxiang.game.module.manage.controller;
|
|
|
|
|
|
import com.zanxiang.erp.security.annotation.PreAuthorize;
|
|
|
+import com.zanxiang.erp.security.util.SecurityUtil;
|
|
|
import com.zanxiang.game.module.manage.pojo.params.KfApiParam;
|
|
|
import com.zanxiang.game.module.manage.pojo.params.KfUserUpdateParam;
|
|
|
import com.zanxiang.game.module.manage.pojo.vo.KfGameVO;
|
|
@@ -43,6 +44,9 @@ public class KfMsgController {
|
|
|
@PreAuthorize(permissionKey = "manage:kf:uploadMsg")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = Tuple2.class)})
|
|
|
public ResultVO<Tuple2<String, String>> uploadMsg(String param, MultipartFile files) {
|
|
|
+ if (SecurityUtil.getUserId() == 413) {
|
|
|
+ log.error("----------------> 1111111111111111111, param : {}", param);
|
|
|
+ }
|
|
|
return ResultVO.ok(kfMsgService.uploadMsg(JsonUtil.toObj(param, KfApiParam.class), files));
|
|
|
}
|
|
|
|
|
@@ -59,6 +63,9 @@ public class KfMsgController {
|
|
|
@PreAuthorize(permissionKey = "manage:kf:commApi")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = String.class)})
|
|
|
public ResultVO<String> list(@Validated @RequestBody KfApiParam param) {
|
|
|
+ if (SecurityUtil.getUserId() == 413) {
|
|
|
+ log.error("----------------> 2222222222222222222, param : {}", JsonUtil.toString(param));
|
|
|
+ }
|
|
|
return ResultVO.ok(kfMsgService.kfApi(param));
|
|
|
}
|
|
|
|