Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
周少峰
8 years ago
Commit
1c15e5add77553a98f582b08625a2fd73104262e
2 parents
d2317163
4a03e376
Merge branch 'hotfix/inviteCode' into gray
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
2 deletions
apps/passport/models/reg-api.js
apps/passport/models/reg-api.js
View file @
1c15e5a
...
...
@@ -7,7 +7,6 @@
*/
'use strict'
;
const
_
=
require
(
'lodash'
);
const
aes
=
require
(
'./aes-pwd'
);
const
api
=
global
.
yoho
.
API
;
...
...
@@ -47,7 +46,7 @@ let regMobileAes = (area, mobile, password, code, shoppingKey, extParam)=> {
if
(
extParam
)
{
if
(
extParam
.
inviteCode
)
{
params
.
inviteCode
=
_
.
replace
(
extParam
.
inviteCode
,
/
[^
(0-9a-zA-Z)
]
/ig
,
''
)
;
params
.
inviteCode
=
extParam
.
inviteCode
;
}
}
...
...
Please
register
or
login
to post a comment