Commit 54baab35 authored by sml's avatar sml

代码提交

parent 8d96b5b9
package com.jz.dmp.modules.controller; package com.jz.dmp.modules.controller;
import com.jz.common.annotation.SysOperationLogAnnotation;
import com.jz.common.constant.CommConstant;
import com.jz.common.constant.JsonResult; import com.jz.common.constant.JsonResult;
import com.jz.common.constant.ResultCode; import com.jz.common.constant.ResultCode;
import com.jz.common.utils.CommonUtils; import com.jz.common.utils.CommonUtils;
...@@ -44,6 +46,7 @@ public class PictureController { ...@@ -44,6 +46,7 @@ public class PictureController {
@PostMapping("/uploadPicture") @PostMapping("/uploadPicture")
@ApiOperation(value = "图片上传") @ApiOperation(value = "图片上传")
@ResponseBody @ResponseBody
@SysOperationLogAnnotation(actionType = CommConstant.OPT_TYPE_ADD, descrption = "图片上传", optModular = "", isProjOpt = false)
public JsonResult uploadPicture(MultipartFile file, @RequestParam(name = "params",required = false) String params) { public JsonResult uploadPicture(MultipartFile file, @RequestParam(name = "params",required = false) String params) {
JsonResult result = new JsonResult(); JsonResult result = new JsonResult();
if (file.getSize() > 10240000) { if (file.getSize() > 10240000) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment