Commit a3007417 by Zhuangzai fa Committed by GitHub

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

parent 366bccb8
...@@ -101,7 +101,7 @@ export const getWXLoginQR = () => ...@@ -101,7 +101,7 @@ export const getWXLoginQR = () =>
GET<GetWXLoginQRResponse>('/proApi/support/user/account/login/wx/getQR'); GET<GetWXLoginQRResponse>('/proApi/support/user/account/login/wx/getQR');
export const getWXLoginResult = (params: WxLoginProps) => 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) => export const getCaptchaPic = (username: string) =>
GET<{ GET<{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment