|
@@ -120,7 +120,7 @@ public class UploadServiceImpl implements IUploadService {
|
|
|
bufferedReader.close();
|
|
|
//{"code":0,"msg":"success","now":"2024-06-25 15:33:14","data":{"url":"https:\/\/okki-shop-dev.oss-cn-hangzhou.aliyuncs.com\/1000147\/upload\/custom\/e132e613b00d8448acf9cf18bc7e4b6affc7bd305c68f9747d529f9580647376.jpg"}}
|
|
|
JSONObject jsonObject = JSONObject.parseObject(response.toString());
|
|
|
- if ("0".equals(jsonObject.get("code"))) {
|
|
|
+ if ("0".equals(jsonObject.get("code").toString())) {
|
|
|
final JSONObject jsonObject1 = JSONObject.parseObject(jsonObject.get("data").toString());
|
|
|
return jsonObject1.get("url").toString();
|
|
|
}else {
|