|
@@ -1198,12 +1198,12 @@ public class BizUserServiceImpl extends ServiceImpl<BizUserMapper, BizUser> impl
|
|
paramJson.put("width", 280);
|
|
paramJson.put("width", 280);
|
|
|
|
|
|
try {
|
|
try {
|
|
- File localFile = new File("D:/defaultUploadFolder/recommend");
|
|
|
|
|
|
+ File localFile = new File("/defaultUploadFolder/recommend");
|
|
if(!localFile.exists()) {
|
|
if(!localFile.exists()) {
|
|
localFile.mkdir();
|
|
localFile.mkdir();
|
|
}
|
|
}
|
|
|
|
|
|
- String localPath = "D:/defaultUploadFolder/recommend/" + code + ".png";
|
|
|
|
|
|
+ String localPath = "/defaultUploadFolder/recommend/" + code + ".png";
|
|
InputStream inputStream = WxUtil.postInputStream(url, paramJson);
|
|
InputStream inputStream = WxUtil.postInputStream(url, paramJson);
|
|
int index;
|
|
int index;
|
|
byte[] bytes = new byte[1024];
|
|
byte[] bytes = new byte[1024];
|