Commit 8265eb2e by 陶光胜

门店标签回写

parent 72513092
......@@ -70,7 +70,7 @@ public class StoreController {
ServiceResponse<StoreWidgetDTO> storeWidget = this.storeWidgetApiService.getStoreWidget(storeResource.intValue());
if(storeWidget.getResult() != null){
String searchParam = storeWidget.getResult().getSearchParam();
JSONObject json = JSON.parseObject(searchParam);
JSONObject json = JSON.parseArray(searchParam).getJSONObject(0);
JSONArray list = json.getJSONArray("list");
for(int i=0; i< list.size(); i++){
JSONObject o = list.getJSONObject(i);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment