Commit 61cc4462 by 赵雅纹

update

parent 12100ce1
......@@ -2,7 +2,6 @@ const wxService = require('./wxService')
const moment = require('../lib/moment.min')
const Promise = require('../lib/bluebird')
const _ = require('../lib/underscore.min')
const app = getApp()
const formatTime = date => {
const year = date.getFullYear()
const month = date.getMonth() + 1
......@@ -247,6 +246,7 @@ class Logger {
// 通过点击按钮 获取用户信息并登陆注册到crm系统中
function getUserInfoByBtn(userInfo) {
const logger = new Logger()
const app = getApp()
if (Object.keys(userInfo).length === 1) {
return wxService.Promise.reject(userInfo.errMsg)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment