Kaynağa Gözat

修复登录短信

zhengjinyi 2 yıl önce
ebeveyn
işleme
be3115a99c
2 değiştirilmiş dosya ile 6 ekleme ve 2 silme
  1. 5 1
      pages/login/login.vue
  2. 1 1
      services/user.service.js

+ 5 - 1
pages/login/login.vue

@@ -92,7 +92,11 @@ export default {
 				unionId: ''
 			},
 			smsCodeParams: {
-				mobile: '' //用户登录手机号
+				mobile: '' ,//用户登录手机号
+				imgCode:'',
+				platformType:0,
+				isCheckCaptcha:1,
+				activateCodeType:7
 			},
 			loginType: 0,
 			isMobileDisabled: false, //手机验证码按钮控制

+ 1 - 1
services/user.service.js

@@ -82,7 +82,7 @@ export default class UserService {
 	 */
     userLoginCode(data = {}) {
         return this.AjaxService.get({
-            url: '/user/login/code',
+            url: '/user/sms/code',
             data,
             isLoading: true
         })