iida
parent
c0c01303f4
commit
f8e69117fa
|
@ -1,5 +1,6 @@
|
||||||
package com.bocloud.ctstack.plugin.provider.common;
|
package com.bocloud.ctstack.plugin.provider.common;
|
||||||
|
|
||||||
|
import com.alibaba.fastjson.JSON;
|
||||||
import com.alibaba.fastjson.JSONArray;
|
import com.alibaba.fastjson.JSONArray;
|
||||||
import com.alibaba.fastjson.JSONObject;
|
import com.alibaba.fastjson.JSONObject;
|
||||||
import com.bocloud.cmp.domain.Butler;
|
import com.bocloud.cmp.domain.Butler;
|
||||||
|
@ -208,7 +209,7 @@ public class TianyiLocationProvider extends TianyiProvider {
|
||||||
// 同步地域
|
// 同步地域
|
||||||
log.info("获取地域信息...");
|
log.info("获取地域信息...");
|
||||||
GeneralResult regionList = this.listRegions();
|
GeneralResult regionList = this.listRegions();
|
||||||
log.info("同步地域结果:{}",regionList.isSuccess());
|
log.info("同步地域结果:{}", JSON.toJSONString(regionList));
|
||||||
if(regionList.isSuccess()){
|
if(regionList.isSuccess()){
|
||||||
syncModel.setRegionModels((List<RegionModel>) regionList.getData());
|
syncModel.setRegionModels((List<RegionModel>) regionList.getData());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue