Fix API method for retrieving WX login result from GET to POST (#5281)

This commit is contained in:
Zhuangzai fa 2025-07-22 16:31:25 +08:00 committed by GitHub
parent 366bccb833
commit a3007417e8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -101,7 +101,7 @@ export const getWXLoginQR = () =>
GET<GetWXLoginQRResponse>('/proApi/support/user/account/login/wx/getQR');
export const getWXLoginResult = (params: WxLoginProps) =>
GET<ResLogin>(`/proApi/support/user/account/login/wx/getResult`, params);
POST<ResLogin>(`/proApi/support/user/account/login/wx/getResult`, params);
export const getCaptchaPic = (username: string) =>
GET<{