Quellcode durchsuchen

商户入驻去掉验证码校验

zhangle vor 5 Monaten
Ursprung
Commit
f9f9b0e2ac

+ 1 - 1
crmeb_src/mer_java/crmeb-service/src/main/java/com/zbkj/service/service/impl/MerchantServiceImpl.java

@@ -828,7 +828,7 @@ public class MerchantServiceImpl extends ServiceImpl<MerchantDao, Merchant> impl
             throw new CrmebException(CommonResultCode.VALIDATE_FAILED, "手机号已存在");
         }
         //检测验证码
-        smsService.checkValidateCode(SmsConstants.VERIFICATION_CODE_SCENARIO_SETTLED, request.getPhone(), request.getCaptcha());
+//        smsService.checkValidateCode(SmsConstants.VERIFICATION_CODE_SCENARIO_SETTLED, request.getPhone(), request.getCaptcha());
 
         MerchantCategory merchantCategory = merchantCategoryService.getByIdException(request.getCategoryId());
         request.setHandlingFee(merchantCategory.getHandlingFee());

+ 4 - 3
crmeb_src/mer_uniapp/pages/users/settled/index.vue

@@ -47,7 +47,7 @@
 
                </view>
              </view>
-             <view class="item rel"
+<!--             <view class="item rel"
                    v-if="(isKey&&parseFloat(merchantData.auditStatus)>2) || (!isKey&&!merchantData.auditStatus)">
                <view class="acea-row row-middle required">
                  <text class="item-name">验证码</text>
@@ -59,7 +59,7 @@
                    {{ text }}
                  </button>
                </view>
-             </view>
+             </view> -->
              <view class="item">
                <view class="uni-list">
                  <view class="uni-list-cell">
@@ -226,7 +226,7 @@
 					name: "",
 					realName: "",
 					phone: "",
-					captcha: '',
+					captcha: '123456',
 					categoryId: 0,
 					handlingFee: '',
 					keywords: '',
@@ -447,6 +447,7 @@
 			},
 
 			formSubmit: Debounce(function(e) {
+				this.merchantData.captcha = '123456'
 				if (this.validateForm() && this.validate) {
 					if (this.pics.length == 0) return this.$util.Tips({
 						title: "请上传资质图片"