|
@@ -267,7 +267,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
console.log('templateid---' + templateid);
|
|
|
console.log('openid---' + openid);
|
|
|
console.log('requestData---' + JSON.stringify(requestData));
|
|
|
- await this.ctx.curl(url, {
|
|
|
+ const res = await this.ctx.curl(url, {
|
|
|
method: 'post',
|
|
|
headers: {
|
|
|
'content-type': 'application/json',
|
|
@@ -275,6 +275,7 @@ class WeixinAuthService extends AxiosService {
|
|
|
dataType: 'json',
|
|
|
data: JSON.stringify(requestData),
|
|
|
});
|
|
|
+ console.error(res);
|
|
|
}
|
|
|
|
|
|
}
|