提交 84b5d237 编写于 作者: 雪洛's avatar 雪洛

feat: 输出三方账号完整错误

上级 08719a9b
......@@ -38,6 +38,7 @@ module.exports = async function (params = {}) {
try {
getAlipayAccountResult = await alipayApi().code2Session(code)
} catch (error) {
console.error(error)
await this.middleware.uniIdLog({
success: false,
type: LOG_TYPE.LOGIN
......
......@@ -44,6 +44,7 @@ module.exports = async function (params = {}) {
try {
verifyResult = await appleApi.verifyIdentityToken(identityToken)
} catch (error) {
console.error(error)
await this.middleware.uniIdLog({
success: false,
type: LOG_TYPE.LOGIN
......
......@@ -73,6 +73,7 @@ module.exports = async function (params = {}) {
accessToken
})
} catch (error) {
console.error(error)
await this.middleware.uniIdLog({
success: false,
type: LOG_TYPE.LOGIN
......
......@@ -57,6 +57,7 @@ module.exports = async function (params = {}) {
try {
getWeixinAccountResult = await weixinApi[apiName](code)
} catch (error) {
console.error(error)
await this.middleware.uniIdLog({
success: false,
type: LOG_TYPE.LOGIN
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册