Authored by htoooth

增加除去空字符串的操作

... ... @@ -34,7 +34,10 @@ const _doPassportCallback = (req, res, user) => {
if (user.openId && user.nickname) {
let signinByOpenID = LoginService.signinByOpenIDAsync(
user.nickname, user.openId, user.sourceType, shoppingKey, user.unionId);
_.trim(user.nickname), _.trim(user.openId),
_.trim(user.sourceType), _.trim(shoppingKey),
_.trim(user.unionId)
);
return signinByOpenID.then((result) => {
if (result.code !== 200) {
... ...