Commit bc085db6 authored by 任国军's avatar 任国军

fix appId & secret

parent 7c55b0ef
Pipeline #16595 passed with stage
in 49 seconds
......@@ -118,8 +118,8 @@ class UserService extends Service {
async requestWxAuth(code) {
const { ctx } = this;
const APPID = 'wx4769ebba9b91f8ec';
const SECRET = '680440637b4e38c9b66529cfd5dc590e';
const APPID = 'wx07a5f0ed5bdf4751';
const SECRET = 'a1b2d32b018988176181497bd74a0b7d';
const url = `https://api.weixin.qq.com/sns/jscode2session?appid=${APPID}&secret=${SECRET}&js_code=${code}&grant_type=authorization_code`;
const result = await ctx.helper.send_request(url, {}, { method: '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 to comment