Commit cae1334e by 陶光胜

门店列表展示字段配置

parent 80f95fa6
......@@ -6,6 +6,8 @@ import com.gic.api.base.commons.ServiceResponse;
import com.gic.commons.util.EntityUtil;
import com.gic.commons.util.GlobalInfo;
import com.gic.commons.webapi.reponse.RestResponse;
import com.gic.enterprise.error.ErrorCode;
import com.gic.enterprise.response.EnterpriseRestResponse;
import com.gic.redis.data.util.RedisUtil;
import com.gic.store.constant.CreateTypeEnum;
import com.gic.store.dto.*;
......@@ -115,8 +117,12 @@ public class StoreController {
@RequestMapping("store-list-source-set")
@ResponseBody
public RestResponse storeListSourceSet(String sources){
if(StringUtils.isBlank(sources)){
return EnterpriseRestResponse.failure(ErrorCode.ERR_2);
}
Integer enterpriseId = 1111;
RedisUtil.setCache("enterprise:storeListSources:"+enterpriseId, sources);
System.out.println(JSON.toJSONString(RedisUtil.getCache("enterprise:storeListSources:"+enterpriseId)));
return RestResponse.success();
}
......
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