Commit 1a8f1923 by 陶光胜

门店经纬度

parent 77f208c3
......@@ -987,21 +987,23 @@ public class StoreApiServiceImpl implements StoreApiService {
if(storeSearchDTO.getStoreResource() != null){
StoreWidgetDTO storeWidget = this.storeWidgetService.getStoreWidget(storeSearchDTO.getStoreResource().intValue());
if(storeWidget != null){
if(storeWidget.getAuthMode() == 1 && StringUtils.isNotBlank(storeWidget.getSearchParam()) && !"{}".equals(storeWidget.getSearchParam())){
if(storeWidget.getAuthMode() != null && storeWidget.getAuthMode() == 1
&& StringUtils.isNotBlank(storeWidget.getSearchParam()) && !"{}".equals(storeWidget.getSearchParam())){
ServiceResponse<JSONObject> jsonObjectServiceResponse = this.parseStoreSelectJson(storeWidget.getSearchParam());
if(jsonObjectServiceResponse.isSuccess()){
json = jsonObjectServiceResponse.getResult();
jsonObjectList.add(json);
}
}
if(storeWidget.getAuthMode() == 1 && StringUtils.isNotBlank(storeWidget.getAuthSearchParam()) && !"{}".equals(storeWidget.getAuthSearchParam())){
if(storeWidget.getAuthMode() != null && storeWidget.getAuthMode() == 1
&& StringUtils.isNotBlank(storeWidget.getAuthSearchParam()) && !"{}".equals(storeWidget.getAuthSearchParam())){
ServiceResponse<JSONObject> jsonObjectServiceResponse = this.parseStoreSelectJson(storeWidget.getAuthSearchParam());
if(jsonObjectServiceResponse.isSuccess()){
json = jsonObjectServiceResponse.getResult();
jsonObjectList.add(json);
}
}
if(storeWidget.getAuthMode() == 2){
if(storeWidget.getAuthMode() != null && storeWidget.getAuthMode() == 2){
return null;
}
}
......
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