enhancer-thirdparty-api
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -87,3 +87,3 @@ const request = require('request'); | ||
const row = rows[0]; | ||
if (row[field] && row[field] != tli) { | ||
if (row[field] && method === 'enhancer' && bind && tli && row[field] != tli) { | ||
const message = zh ? '该账号已经绑定了微信小程序' : 'The account has bound the wechat'; | ||
@@ -96,3 +96,3 @@ return complete(null, message, { method }); | ||
const userFieldMap = {}; | ||
row[field] = tli; | ||
row[field] = row[field] || tli; | ||
userFieldMap[userId.toUpperCase()] = 1; | ||
@@ -99,0 +99,0 @@ userFieldMap[userName.toUpperCase()] = 1; |
{ | ||
"name": "enhancer-thirdparty-api", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
17799