Commit 7c15e44a by huangZW

111

parent acbfbc09
......@@ -52,14 +52,14 @@ private static Logger logger = LoggerFactory.getLogger(MaidianDataController.cla
//首页-分组列表
@RequestMapping("/use-haoban3-service")
public HaobanResponse useHaoban3Service(String enterpriseId) {
Object o = RedisUtil.getCache("usesMaidian");
public HaobanResponse useHaoban3Service(String wxEnterpriseId) {
Object o = RedisUtil.getCache("usesMaidianWxEnterpriseId");
boolean b = false;
if(o == null){
}else {
String enterpriseIds = o.toString();
if(enterpriseIds.contains(enterpriseId)||"-1".equals(enterpriseIds)){
b = wxEnterpriseRelatedApiService.enterpriseUseNew(enterpriseId);
String wxEnterpriseIds = o.toString();
if(wxEnterpriseIds.contains(wxEnterpriseId)||"-1".equals(wxEnterpriseIds)){
b = true;
}
}
return resultResponse(HaoBanErrCode.ERR_1,b);
......
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