|
@@ -36,12 +36,13 @@ public class SyncMaterialUploadJob {
|
|
Map<String, Object> requestMap = new HashMap<>();
|
|
Map<String, Object> requestMap = new HashMap<>();
|
|
requestMap.put("signature", signature);
|
|
requestMap.put("signature", signature);
|
|
try {
|
|
try {
|
|
|
|
+ taskService.updateBySignature(signature);
|
|
String s = HttpUtils2.httpGet(uploadUrl, requestMap, null);
|
|
String s = HttpUtils2.httpGet(uploadUrl, requestMap, null);
|
|
if (!Check.isNull(s)) {
|
|
if (!Check.isNull(s)) {
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
JSONObject result = JSONObject.parseObject(s);
|
|
Integer code = result.getInteger("code");
|
|
Integer code = result.getInteger("code");
|
|
if (code == 0) {
|
|
if (code == 0) {
|
|
- taskService.updateBySignature(signature);
|
|
|
|
|
|
+ log.info("素材同步任务提交成功");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|