Commit 95b066ca by 赵雅纹

Merge branch 'feature-zyw' into 'dev'

update

See merge request !16
parents 4b5d3692 61cc4462
...@@ -2,7 +2,6 @@ const wxService = require('./wxService') ...@@ -2,7 +2,6 @@ const wxService = require('./wxService')
const moment = require('../lib/moment.min') const moment = require('../lib/moment.min')
const Promise = require('../lib/bluebird') const Promise = require('../lib/bluebird')
const _ = require('../lib/underscore.min') const _ = require('../lib/underscore.min')
const app = getApp()
const formatTime = date => { const formatTime = date => {
const year = date.getFullYear() const year = date.getFullYear()
const month = date.getMonth() + 1 const month = date.getMonth() + 1
...@@ -247,6 +246,7 @@ class Logger { ...@@ -247,6 +246,7 @@ class Logger {
// 通过点击按钮 获取用户信息并登陆注册到crm系统中 // 通过点击按钮 获取用户信息并登陆注册到crm系统中
function getUserInfoByBtn(userInfo) { function getUserInfoByBtn(userInfo) {
const logger = new Logger() const logger = new Logger()
const app = getApp()
if (Object.keys(userInfo).length === 1) { if (Object.keys(userInfo).length === 1) {
return wxService.Promise.reject(userInfo.errMsg) 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