|
@@ -123,8 +123,8 @@ public class DevFileServiceImpl extends ServiceImpl<DevFileMapper, DevFile> impl
|
|
|
String result = HttpRequest.post(devConfigApi.getValueByKey("SNOWY_FILE_PATH")).
|
|
|
form("groupName", "hnzy").
|
|
|
form("imageFile", imgFile).execute().body();
|
|
|
- JSONObject json = (JSONObject) JSONObject.parse(result);
|
|
|
log.info("文件上传result:"+result);
|
|
|
+ JSONObject json = (JSONObject) JSONObject.parse(result);
|
|
|
if(StringUtils.equals(json.getString("success"),"true")){
|
|
|
map.put("imageFile",json.get("imageFile"));
|
|
|
}
|