fix: 登录增加channel
This commit is contained in:
		
							parent
							
								
									0515ddc04c
								
							
						
					
					
						commit
						bac24c1cc8
					
				| 
						 | 
					@ -251,6 +251,8 @@ export default {
 | 
				
			||||||
                role: _loginTypeMapper[this.loginType],
 | 
					                role: _loginTypeMapper[this.loginType],
 | 
				
			||||||
                username: this.dataForm.userName,
 | 
					                username: this.dataForm.userName,
 | 
				
			||||||
                password: this.dataForm.password,
 | 
					                password: this.dataForm.password,
 | 
				
			||||||
 | 
					                // 0 app 1 web
 | 
				
			||||||
 | 
					                channel: 1,
 | 
				
			||||||
                // mobile: "",
 | 
					                // mobile: "",
 | 
				
			||||||
                // code: "",
 | 
					                // code: "",
 | 
				
			||||||
              })
 | 
					              })
 | 
				
			||||||
| 
						 | 
					@ -281,6 +283,8 @@ export default {
 | 
				
			||||||
            // role: _loginTypeMapper[this.loginType],
 | 
					            // role: _loginTypeMapper[this.loginType],
 | 
				
			||||||
            mobile: this.loginByYZMForm.mobile,
 | 
					            mobile: this.loginByYZMForm.mobile,
 | 
				
			||||||
            code: this.loginByYZMForm.code,
 | 
					            code: this.loginByYZMForm.code,
 | 
				
			||||||
 | 
					            // 0 app 1 web
 | 
				
			||||||
 | 
					            channel: 1,
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          .then(({ data }) => {
 | 
					          .then(({ data }) => {
 | 
				
			||||||
            console.log("data", data);
 | 
					            console.log("data", data);
 | 
				
			||||||
| 
						 | 
					@ -306,6 +310,8 @@ export default {
 | 
				
			||||||
            // role: _loginTypeMapper[this.loginType],
 | 
					            // role: _loginTypeMapper[this.loginType],
 | 
				
			||||||
            mobile: this.dataForm.userName,
 | 
					            mobile: this.dataForm.userName,
 | 
				
			||||||
            password: this.dataForm.password,
 | 
					            password: this.dataForm.password,
 | 
				
			||||||
 | 
					            // 0 app 1 web
 | 
				
			||||||
 | 
					            channel: 1,
 | 
				
			||||||
          })
 | 
					          })
 | 
				
			||||||
          .then(({ data }) => {
 | 
					          .then(({ data }) => {
 | 
				
			||||||
            console.log("data", data);
 | 
					            console.log("data", data);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue