Commit eee81216 authored by 李尚科's avatar 李尚科

fix

parent 88766de8
Pipeline #16171 passed with stage
in 49 seconds
......@@ -161,6 +161,9 @@ class WechatController extends Controller {
if (error_msg === '需要重新授权') {
ctx.cookies.set('token', null, { httpOnly: false, signed: false, path: '/', overwrite: true });
ctx.cookies.set('user_id', null, { httpOnly: false, signed: false, path: '/', overwrite: true });
ctx.cookies.set('app_user_id', null, { httpOnly: false, signed: false, path: '/', overwrite: true });
ctx.cookies.set('jianbing_customer_id', null, { httpOnly: false, signed: false, path: '/', overwrite: true });
ctx.cookies.set('auth_token', null, { httpOnly: false, signed: false, path: '/', overwrite: true });
return { anew: 1 };
}
ctx.failed(error_msg);
......
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