店铺名称
This commit is contained in:
parent
95f306b9ac
commit
0b9efc9c44
|
@ -72,9 +72,6 @@ public class MeituanServiceImpl implements IMeituanService {
|
|||
@Autowired
|
||||
private ProxyProperties proxyProperties;
|
||||
|
||||
@Autowired
|
||||
private IBusAgentInfoService iBusAgentInfoService;
|
||||
|
||||
@Autowired
|
||||
private BusReturnVisitInfoMapper busReturnVisitInfoMapper;
|
||||
|
||||
|
@ -230,6 +227,18 @@ public class MeituanServiceImpl implements IMeituanService {
|
|||
if ("0".equals(code)) {
|
||||
JSONObject data = jsonObject.getJSONObject("data");
|
||||
String total = data.getString("totalCount");
|
||||
|
||||
JSONArray array = jsonObject.getJSONObject("data").getJSONArray("wmOrderList");
|
||||
Object o = array.get(0);
|
||||
JSONObject oj = JSONObject.parseObject(JSON.toJSONString(o));
|
||||
JSONObject order0 = oj.getJSONObject("orderInfo");
|
||||
JSONObject order1 = order0.getJSONObject("orderInfo");
|
||||
JSONObject tipInfoVo = order1.getJSONObject("tipInfoVo");
|
||||
String poiName = tipInfoVo.getString("poiName");
|
||||
if (storeInfo.getStoreName() == null) {
|
||||
storeInfo.setStoreName(poiName);
|
||||
}
|
||||
|
||||
BusStoreInfo store = new BusStoreInfo();
|
||||
store.setStoreCode(wmPoiId);
|
||||
List<BusStoreInfo> list = busStoreInfoService.selectBusStoreInfoList(store);
|
||||
|
|
Loading…
Reference in New Issue