!5 update api/login.js.

Merge pull request !5 from N/A
master
学习很差啦 2022-11-09 09:33:16 +00:00 committed by Gitee
commit 4625c087d5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 1 deletions

View File

@ -19,13 +19,14 @@ export function resetByMobile(params) {
* @params password
* @params username
*/
export function userLogin(params){
export function userLogin(params, clientType){
return http.request({
method: "POST",
url:`/passport/member/userLogin`,
data: params,
header: {
"content-type": "application/x-www-form-urlencoded",
clientType: clientType,
},
})
}