Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post请求,后台无法获取到传参 #29

Open
yangyabin1949 opened this issue May 9, 2024 · 1 comment
Open

post请求,后台无法获取到传参 #29

yangyabin1949 opened this issue May 9, 2024 · 1 comment

Comments

@yangyabin1949
Copy link

export function postLoginPwd(user: string,pwd:string) {

return axiosClient.post(
{
url: baseUrlXxb+UrlConstants.URL_LOGIN_PWD,
params: { "user_login": user , "user_pass": pwd , "type": 2 }
}
)
}

@yangyabin1949
Copy link
Author

不好意思,是我搞错了,params改成data就中了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant