|
@@ -1020,8 +1020,13 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
JSONObject dataJson = resultJson.getJSONObject("data");
|
|
JSONObject dataJson = resultJson.getJSONObject("data");
|
|
if (!Check.isNull(dataJson)) {
|
|
if (!Check.isNull(dataJson)) {
|
|
Long unitId = dataJson.getLong("unit_id");
|
|
Long unitId = dataJson.getLong("unit_id");
|
|
- Thread.sleep(100);
|
|
|
|
- getKuaiShouGroupService.getGroupByUnitId(accessToken, advertiserId, unitId);
|
|
|
|
|
|
+ Thread.sleep(100);Thread thread = new Thread(){
|
|
|
|
+ @Override
|
|
|
|
+ public void run(){
|
|
|
|
+ getKuaiShouGroupService.getGroupByUnitId(accessToken, advertiserId, unitId);
|
|
|
|
+ }
|
|
|
|
+ };
|
|
|
|
+ thread.start();
|
|
returnMap.put("code", 0);
|
|
returnMap.put("code", 0);
|
|
returnMap.put("message", "success");
|
|
returnMap.put("message", "success");
|
|
returnMap.put("unitId", unitId);
|
|
returnMap.put("unitId", unitId);
|