11.9开发
This commit is contained in:
+12
@@ -13,6 +13,7 @@ import com.ruoyi.wisdomarbitrate.service.IDeptIdentifyService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@@ -49,6 +50,17 @@ public class DeptIdentifyController extends BaseController {
|
||||
return deptIdentifyService.enableDept(deptIdentify);
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传自定义公章
|
||||
* @param deptIdentify
|
||||
* @param file
|
||||
* @return
|
||||
*/
|
||||
@PostMapping("sealUpload")
|
||||
public AjaxResult sealUpload(@Validated @RequestBody DeptIdentify deptIdentify
|
||||
,@RequestParam("file") MultipartFile file){
|
||||
return deptIdentifyService.sealUpload(deptIdentify,file);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user