Commit b4f58934 by zhangchen

upload face

parent 13230d7f
......@@ -40,6 +40,15 @@ public class EntityImageController extends GenericController<EntityImageService,
response.setBody(this.entityImageService.saveOrUploadUserPhoto(request));
return response;
}
//用户人脸更新
@ResponseBody
@RequestMapping(value = "/uploadUserFaceImage", method = RequestMethod.POST)
public Response<Integer> uploadUserFaceImage(@RequestBody Request<EntityImageBean> request) {
Response<Integer> response = new Response<Integer>();
response.setStatus(ResponseStatusEnum.SUCCESS.getValue());
response.setBody(this.entityImageService.uploadUserFaceImage(request));
return response;
}
@ResponseBody
@RequestMapping(value = "/upload", method = RequestMethod.POST)
......
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 sign in to comment