Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
7
7-Eleven
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
高淑倩
7-Eleven
Commits
95b066ca
Commit
95b066ca
authored
Jun 06, 2019
by
赵雅纹
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature-zyw' into 'dev'
update See merge request
!16
parents
4b5d3692
61cc4462
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
util.js
src/utils/util.js
+1
-1
No files found.
src/utils/util.js
View file @
95b066ca
...
@@ -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
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment