Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
zhiliang-light-mp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ec3507b2
authored
2019-12-23 06:25:52 +0800
by
simon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
默认提交
1 parent
3e1d060c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
23 deletions
src/pages/vip-login/vip-login.js
src/pages/vip-login/vip-login.js
View file @
ec3507b
...
...
@@ -229,9 +229,9 @@ Page({
}
else
if
(
!
verifyCode
)
{
this
.
showTips
(
"请输入验证码"
);
reject
();
// } else if (pics.length <= 0) {
// this.showTips("请上传身份证或电工证");
// reject();
// } else if (pics.length <= 0) {
// this.showTips("请上传身份证或电工证");
// reject();
}
else
{
resolve
();
}
...
...
@@ -261,27 +261,27 @@ Page({
this
.
checkSubmit
().
then
((
result
)
=>
{
// 先上传图片到服务器
this
.
uploadToCustomService
(
pics
).
then
((
result
)
=>
{
let
verifyInfo
=
{
realName
:
name
,
storeName
:
shopName
,
province
:
province
,
city
:
city
,
phone
:
mobile
,
verifyCode
:
verifyCode
,
memberTypeCode
:
memberTypeCode
,
images
:
result
[
0
]
}
//
this.uploadToCustomService(pics).then((result) => {
let
verifyInfo
=
{
realName
:
name
,
storeName
:
shopName
,
province
:
province
,
city
:
city
,
phone
:
mobile
,
verifyCode
:
verifyCode
,
memberTypeCode
:
memberTypeCode
,
images
:
""
}
app
.
post
({
url
:
app
.
api
.
memberIdCommit
,
data
:
verifyInfo
}).
then
((
result2
)
=>
{
app
.
router
.
push
({
path
:
"vipVerify"
})
});
})
app
.
post
({
url
:
app
.
api
.
memberIdCommit
,
data
:
verifyInfo
}).
then
((
result2
)
=>
{
app
.
router
.
push
({
path
:
"vipVerify"
})
});
//
})
})
},
...
...
Please
register
or
sign in
to post a comment