Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-blk
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
1
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
xuqi
9 years ago
Commit
a3eef2e68cfe4b963a7fbd90cc94f2bb9bc91c5f
1 parent
94aefe6c
ajax true/false
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/me/controllers/address.js
apps/me/controllers/address.js
View file @
a3eef2e
...
...
@@ -72,7 +72,7 @@ const addAddressData = (req, res) => {
let
mobile
=
req
.
body
.
mobile
;
let
phone
=
req
.
body
.
phone
;
let
isInit
=
req
.
body
.
init
;
// 是否是初始地址
let
isInit
=
req
.
body
.
init
&&
req
.
body
.
init
===
'true'
;
// 是否是初始地址
addressModel
.
addAddressData
(
uid
,
address
,
areaCode
,
consignee
,
mobile
,
phone
,
isInit
).
then
(
result
=>
{
res
.
send
(
result
);
...
...
Please
register
or
login
to post a comment