|
@@ -133,6 +133,9 @@ public class XiaomanApiServiceImpl implements XiaomanApiService {
|
|
@Async
|
|
@Async
|
|
public void updateList(){
|
|
public void updateList(){
|
|
try {
|
|
try {
|
|
|
|
+ //先更新一下数据字典
|
|
|
|
+ getSelectorData();
|
|
|
|
+
|
|
XiaomanConfig config = xiaomanConfigService.getConfig();
|
|
XiaomanConfig config = xiaomanConfigService.getConfig();
|
|
String token = config.getAccessToken();
|
|
String token = config.getAccessToken();
|
|
List<XiaomanCustomerVo> list = xiaomanCustomerService.getList(new XiaomanCustomerSelectDto());
|
|
List<XiaomanCustomerVo> list = xiaomanCustomerService.getList(new XiaomanCustomerSelectDto());
|