Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
352b4abd
Commit
352b4abd
authored
May 10, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
2eba205a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
33 deletions
+42
-33
application/Appapi/Controller/ProfitController.class.php
+0
-11
themes/simplebootx/Appapi/Profit/auth.html
+42
-22
No files found.
application/Appapi/Controller/ProfitController.class.php
View file @
352b4abd
...
...
@@ -118,18 +118,7 @@ class ProfitController extends HomebaseController
}
$data
[
'identity'
]
=
$identity
;
$certification
=
0
;
$auth2
=
M
(
'users_info_auth'
)
->
where
(
"uid=
{
$uid
}
"
)
->
find
();
if
(
!
empty
(
$auth2
))
{
$certification
=
3
;
if
(
$auth2
[
'status'
]
==
0
)
{
$certification
=
2
;
}
if
(
$auth2
[
'status'
]
==
1
)
{
$certification
=
1
;
}
}
$data
[
'certification'
]
=
$certification
;
if
(
!
$auth2
)
{
$auth2
=
[
'account'
=>
''
,
...
...
themes/simplebootx/Appapi/Profit/auth.html
View file @
352b4abd
...
...
@@ -16,15 +16,15 @@
<div
class=
"part_name"
>
上传身份证
</div>
<div
class=
"scimgBox"
>
<div
class=
"imgItem"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-1.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-1.png"
>
<!-- 上传证件照之后 -->
<!-- <img src="__PUBLIC__/appapi/pay/img/tx.png" > -->
</div>
<div
class=
"imgItem"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-2.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-2.png"
>
</div>
<div
class=
"imgItem"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-3.png"
>
<img
src=
"__PUBLIC__/appapi/pay/img/iconCard-3.png"
>
</div>
</div>
</div>
...
...
@@ -34,12 +34,12 @@
<div
class=
"contentBox"
>
<div
class=
"list"
>
<div
class=
"list_hd"
>
支付宝账号
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的账号"
maxlength=
"8"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的账号"
maxlength=
"8"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
实名认证姓名
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的姓名"
maxlength=
"18"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的姓名"
maxlength=
"18"
/>
<p>
*
</p>
</div>
</div>
...
...
@@ -50,27 +50,27 @@
<div
class=
"contentBox"
>
<div
class=
"list"
>
<div
class=
"list_hd"
>
开户姓名
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"需与支付宝姓名一致"
maxlength=
"8"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"需与支付宝姓名一致"
maxlength=
"8"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
银行卡号
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的银行卡号"
maxlength=
"18"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入您的银行卡号"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
开户行
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请与银行确认好您的开户银行"
maxlength=
"18"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请与银行确认好您的开户银行"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
省份
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入省份"
maxlength=
"18"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入省份"
maxlength=
"18"
/>
<p>
*
</p>
</div>
<div
class=
"list"
>
<div
class=
"list_hd"
>
城市
</div>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入城市"
maxlength=
"18"
/>
<input
class=
"list_bd"
type=
"text"
placeholder=
"请输入城市"
maxlength=
"18"
/>
<p>
*
</p>
</div>
</div>
...
...
@@ -91,17 +91,27 @@
var
vm
=
new
Vue
({
el
:
'#app'
,
data
:
{
'account'
:
''
,
'username'
:
''
,
'front_view'
:
''
,
'back_view'
:
''
,
'handset_view'
:
''
,
'name'
:
''
,
'bank_name'
:
''
,
'bank_card'
:
''
,
'bank_province'
:
''
,
'bank_city'
:
''
,
'status'
:
3
,
},
methods
:
{
info
()
{
info
()
{
let
userInfo
=
sessionStorage
.
getItem
(
"user_info"
);
if
(
!
userInfo
)
{
window
.
location
.
href
=
'/index.php?g=Appapi&m=Login&a=index'
;
}
return
JSON
.
parse
(
userInfo
);
},
url
(
url
)
{
url
(
url
)
{
let
info
=
this
.
info
();
return
url
+
'&uid='
+
info
.
id
+
'&token='
+
info
.
token
;
},
...
...
@@ -110,29 +120,39 @@
watch
:
{
//数据监测函数
},
created
:
function
()
{
created
:
function
()
{
//加载触发函数
let
_this
=
this
;
let
url
=
_this
.
url
(
'/index.php?g=Appapi&m=Profit&a=authInfo'
);
$
.
ajax
({
url
:
url
,
dataType
:
"json"
,
type
:
"GET"
,
success
:
function
(
data
)
{
if
(
data
.
ret
==
200
)
{
url
:
url
,
dataType
:
"json"
,
type
:
"GET"
,
success
:
function
(
data
)
{
if
(
data
.
ret
==
200
)
{
let
d
=
data
.
data
;
// _this.certification = d.certification;
if
(
d
.
identity
!=
1
)
{
window
.
location
.
href
=
_this
.
url
(
'/index.php?g=Appapi&m=Profit&a=index'
);
return
;
}
_this
.
account
=
d
.
account
_this
.
username
=
d
.
username
;
_this
.
front_view
=
d
.
front_view
;
_this
.
back_view
=
d
.
back_view
;
_this
.
handset_view
=
d
.
handset_view
;
_this
.
name
=
d
.
name
;
_this
.
bank_name
=
d
.
bank_name
;
_this
.
bank_card
=
d
.
bank_card
;
_this
.
bank_province
=
d
.
bank_province
;
_this
.
bank_city
=
d
.
bank_city
;
_this
.
status
=
d
.
status
;
}
else
{
}
else
{
layer
.
msg
(
data
.
msg
);
}
},
error
:
function
(
e
)
{
error
:
function
(
e
)
{
layer
.
msg
(
e
.
msg
);
}
})
...
...
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