Jelajahi Sumber

更新商户的添加,和添加商户上架员,去掉廖总的环节

Yangzw 1 bulan lalu
induk
melakukan
c1ebdb12e2

+ 3 - 3
feifan-module-mall/feifan-module-sale-biz/src/main/java/cn/newfeifan/mall/module/sale/service/merchantapply/MerchantApplyServiceImpl.java

@@ -85,7 +85,7 @@ public class MerchantApplyServiceImpl implements MerchantApplyService {
         // 插入
         MerchantApplyDO merchantApply = BeanUtils.toBean(createReqVO, MerchantApplyDO.class);
         merchantApply.setApplyMemberUserId(getLoginUserId());
-        merchantApply.setCheckPersonStatus(MerchantApplyCheckPersonStatusEnum.ONE.getStatus());
+        merchantApply.setCheckPersonStatus(MerchantApplyCheckPersonStatusEnum.TWO.getStatus());
 
         // 默认log
         if (createReqVO.getLogoUrl() == null || createReqVO.getLogoUrl().isEmpty()) {
@@ -95,10 +95,10 @@ public class MerchantApplyServiceImpl implements MerchantApplyService {
         merchantApplyMapper.insert(merchantApply);
 
         // 发送微信信息到系统用户
-        sentWxChantMessageToThSystemUser(merchantApply, MerchantApplyCheckPersonStatusEnum.ONE.getUserid());
+        sentWxChantMessageToThSystemUser(merchantApply, MerchantApplyCheckPersonStatusEnum.TWO.getUserid());
 
         // 推送极光消息
-        jPush(merchantApply, MerchantApplyCheckPersonStatusEnum.ONE.getUserid());
+        jPush(merchantApply, MerchantApplyCheckPersonStatusEnum.TWO.getUserid());
 
         // 返回
         return merchantApply.getId();