|
@@ -127,7 +127,7 @@ export function logout() {
|
|
|
}>
|
|
|
*/
|
|
|
export function WxJsOpenId(param) {
|
|
|
- return request.get(`/oauth/v1/wx/config/openId`, param);
|
|
|
+ return request.post(`/oauth/v1/wx/config/openId`, param);
|
|
|
}
|
|
|
// 微信公众号H5获取用户openId - 需要登录
|
|
|
// export function WxJsOpenId(param: { code: string }, config?:RequestConfig ): Promise<{
|