Merge branch 'master' into 2.0-dev

* master:
  修改配置星巴克 肯德基 会员充值 话费 微信商户号
  修改配置星巴克 肯德基 会员充值 话费 微信商户号

# Conflicts:
#	hai-cweb/src/main/java/com/cweb/controller/pay/CzOrderController.java
#	hai-cweb/src/main/java/com/cweb/controller/pay/ThirdOrderController.java
dev-discount
袁野 2 years ago
parent e6f37ca7e6
commit 09e1ee4dbc
  1. 13
      hai-cweb/src/main/java/com/cweb/controller/CmsContentController.java
  2. 2
      hai-service/src/main/java/com/hai/service/impl/BsDistributionUserRelServiceImpl.java
  3. 1
      hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java

@ -49,9 +49,6 @@ public class CmsContentController {
@Resource @Resource
private BsMsgService bsMsgService; private BsMsgService bsMsgService;
@Autowired
private RedisUtil redisUtil;
@Autowired @Autowired
private UserCenter userCenter; private UserCenter userCenter;
@ -142,7 +139,15 @@ public class CmsContentController {
} }
object.put("childDate" , list); object.put("childDate" , list);
} }
objectList.add(object);
if (cmsCategory.getType() == 3 || cmsCategory.getType() == 6 || cmsCategory.getType() == 9) {
if (object.getJSONArray("childDate").size() >0) {
objectList.add(object);
}
} else {
objectList.add(object);
}
} }
return ResponseMsgUtil.success(objectList); return ResponseMsgUtil.success(objectList);

@ -60,7 +60,7 @@ public class BsDistributionUserRelServiceImpl implements BsDistributionUserRelSe
BsDistributionUserRel popularizeUser = findDistributionUserRel(map); BsDistributionUserRel popularizeUser = findDistributionUserRel(map);
if (pUser != null) { if (pUser != null) {
if (pUser.getIsAgent() != null) { if (pUser.getIsAgent()) {
distributionUserRel.setAgentId(pUser.getId()); distributionUserRel.setAgentId(pUser.getId());
distributionUserRel.setAgentName(pUser.getName()); distributionUserRel.setAgentName(pUser.getName());
} else { } else {

@ -121,6 +121,7 @@ public class HighUserServiceImpl implements HighUserService {
} }
SecRegion region = commonService.getRegionsByName(loginLog.getProvinceName()); SecRegion region = commonService.getRegionsByName(loginLog.getProvinceName());
// distributionUserRelService.insertDistributionRebate(user.getId(), popularizeUserId, "500000");
if (region != null) { if (region != null) {
// 绑定推广关联关系 // 绑定推广关联关系
distributionUserRelService.insertDistributionRebate(user.getId(), popularizeUserId, region.getRegionId().toString()); distributionUserRelService.insertDistributionRebate(user.getId(), popularizeUserId, region.getRegionId().toString());

Loading…
Cancel
Save