|
@@ -983,7 +983,7 @@ public class KuaiShouGroupTemplateServiceImpl extends ServiceImpl<KuaiShouGroupT
|
|
//系统错误,则重新执行
|
|
//系统错误,则重新执行
|
|
return createProgramCreatives(accountId, token, creativeParams, count + 1);
|
|
return createProgramCreatives(accountId, token, creativeParams, count + 1);
|
|
}
|
|
}
|
|
- if ("message".contains("过于频繁") && count <= 4) {
|
|
|
|
|
|
+ if (message.contains("过于频繁") && count <= 4) {
|
|
Thread.sleep(1000);
|
|
Thread.sleep(1000);
|
|
//该请求接口「/rest/openapi/v2/creative/advanced/program/create」过于频繁,则重新执行
|
|
//该请求接口「/rest/openapi/v2/creative/advanced/program/create」过于频繁,则重新执行
|
|
return createProgramCreatives(accountId, token, creativeParams, count + 1);
|
|
return createProgramCreatives(accountId, token, creativeParams, count + 1);
|