Commit 8336f56f by zhiwj

修改门店标签的传值

parent 5e99e649
......@@ -147,7 +147,15 @@ public class StoreController extends DownloadUtils {
//门店标签
ServiceResponse<StoreTagDTO> storeTagResult = storeTagApiService.getByStoreTagId(storeSearchDTO.getStoreTagId());
if (storeTagResult.isSuccess()) {
storeSearchDTO.setStoreResource(Long.parseLong(storeTagResult.getResult().getStoreWidgetId().toString()));
StoreWidgetDTO storeWidgetDTO = this.storeWidgetApiService.getStoreWidget(Integer.valueOf(storeTagResult.getResult().getStoreWidgetId().toString())).getResult();
if(storeWidgetDTO != null){
String authSearchParam = storeWidgetDTO.getAuthSearchParam();
String searchParam = storeWidgetDTO.getSearchParam();
if(StringUtils.isNotBlank(authSearchParam) && !"{}".equals(authSearchParam)){
storeSearchDTO.setAuthSearchJson(authSearchParam);
}
storeSearchDTO.setSearchJson(searchParam);
}
}
String key = StoreRedisKeyUtils.getStoreListSourceKey(enterpriseId, userId);
......
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