Commit ee321df9 by zhangchen

upload face

parent b4f58934
......@@ -40,6 +40,17 @@ public class EntityImageService extends GenericService<EntityImageDao, EntityIma
return this.save(request.getBody());
}
/**
* @param request
* @return
*/
public Integer uploadUserFaceImage(Request<EntityImageBean> request) {
String path = "http://img.iwanoutdoor.com"+request.getBody().getPath()+request.getBody().getHash()+"."+request.getBody().getExt();
this.entityImageDao.updateUserFaceImage(request.getBody().getEntityId(), path);
return this.save(request.getBody());
}
public void saveSort(List<EntityImageBean> entityImageBeans) {
if (entityImageBeans == 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 sign in to comment