|
@@ -51,6 +51,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
* @param {Object} query 参数
|
|
|
*/
|
|
|
async authBack(query) {
|
|
|
+ console.log(query);
|
|
|
const { code, state } = query;
|
|
|
if (!code) throw new BusinessError(ErrorCode.SERVICE_FAULT, '授权未成功');
|
|
|
const req = await this.httpGet('/api/fetch', { code });
|