|
@@ -4,6 +4,7 @@ import com.zanxiang.erp.security.annotation.PreAuthorize;
|
|
|
import com.zanxiang.game.module.manage.pojo.params.KfApiParam;
|
|
|
import com.zanxiang.game.module.manage.pojo.vo.KfGameVO;
|
|
|
import com.zanxiang.game.module.manage.service.IKfMsgContentService;
|
|
|
+import com.zanxiang.module.util.JsonUtil;
|
|
|
import com.zanxiang.module.util.pojo.ResultVO;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
@@ -35,8 +36,8 @@ public class KfMsgController {
|
|
|
@PostMapping(value = "/upload/msg")
|
|
|
@PreAuthorize(permissionKey = "manage:kf:uploadMsg")
|
|
|
@ApiResponses(value = {@ApiResponse(code = 200, message = "成功", response = String.class)})
|
|
|
- public ResultVO<String> uploadMsg(KfApiParam param, MultipartFile files) {
|
|
|
- return ResultVO.ok(kfMsgContentService.uploadMsg(param, files));
|
|
|
+ public ResultVO<String> uploadMsg(String param, MultipartFile files) {
|
|
|
+ return ResultVO.ok(kfMsgContentService.uploadMsg(JsonUtil.toObj(param, KfApiParam.class), files));
|
|
|
}
|
|
|
|
|
|
@ApiOperation(value = "小游戏列表查询")
|