Commit 02d2c43a authored by m1991's avatar m1991

Merge remote-tracking branch 'origin/master'

parents d91d97bb 22fd4ff5
......@@ -66,12 +66,12 @@ public class CustomerServiceServiceImpl implements CustomerServiceService {
}
//将内存中的数据写入磁盘
file.transferTo(newFile);
// 图片上传保存url
String videoUrl = basePath + rootPath + newName;
//入库地址
String serviceUrl = basePath + "/upload/" + newName;
CustomerService customerService = new CustomerService();
customerService.setWechatId(wechatId);
customerService.setWechatImgUrl(videoUrl);
customerService.setWechatImgUrl(serviceUrl);
customerServiceMapper.insert(customerService);
return R.ok("上传成功");
}
......
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