Commit c320ecaf authored by xixinzhao's avatar xixinzhao

修改文件上传

parent bf443967
...@@ -163,9 +163,9 @@ public class OrganizationController extends BaseController { ...@@ -163,9 +163,9 @@ public class OrganizationController extends BaseController {
} }
@PersonIdentify @PersonIdentify
@GetMapping(value = "/upload") @PostMapping(value = "/upload")
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "GET", value = "四横八纵", notes = "四横八纵-组织机构导入") @ApiOperation(httpMethod = "POST", value = "四横八纵", notes = "四横八纵-组织机构导入")
public ResponseModel upload(MultipartFile file) { public ResponseModel upload(MultipartFile file) {
ReginParams reginParam = JSON.parseObject(redisUtils.get(RedisKey.buildReginKey(RequestContext.getExeUserId(), RequestContext.getToken())).toString(), ReginParams.class); ReginParams reginParam = JSON.parseObject(redisUtils.get(RedisKey.buildReginKey(RequestContext.getExeUserId(), RequestContext.getToken())).toString(), ReginParams.class);
String bizOrgCode = null; String bizOrgCode = null;
......
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