Commit 6b28b502 authored by 李尚科's avatar 李尚科

fix

parent ae709e6b
Pipeline #17585 passed with stage
in 50 seconds
......@@ -24,9 +24,9 @@ class WechatController extends Controller {
// 授权参数
const oauth_params = {
login_type: '5', // 5代表微信授权登录 如果有QQ授权登录,再扩展
app_user_id: ctx.cookies.get('app_user_id', { signed: false }),
app_user_id: '',
code,
token: ctx.cookies.get('token', { signed: false }),
token: '',
app_id,
};
const result = await ctx.helper.send_request(oauth_url, oauth_params, { method: 'POST' });// 通过授权码code返回授权状态
......
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 to comment