fix: 登录增加channel

This commit is contained in:
lzhizhao 2025-07-14 19:32:32 +08:00
parent 0515ddc04c
commit bac24c1cc8
1 changed files with 6 additions and 0 deletions

View File

@ -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);