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
804b0223
Commit
804b0223
authored
May 10, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
352b4abd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
44 additions
and
27 deletions
+44
-27
application/Appapi/Controller/ProfitController.class.php
+21
-13
themes/simplebootx/Appapi/Profit/auth.html
+23
-14
No files found.
application/Appapi/Controller/ProfitController.class.php
View file @
804b0223
...
...
@@ -39,19 +39,6 @@ class ProfitController extends HomebaseController
$this
->
display
();
}
public
function
withdraw
()
{
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
if
(
checkToken
(
$uid
,
$token
)
==
700
){
$this
->
assign
(
"reason"
,
'您的登陆状态失效,请重新登陆!'
);
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
public
function
info
()
{
$uid
=
I
(
"uid"
);
...
...
@@ -141,6 +128,27 @@ class ProfitController extends HomebaseController
echo
json_encode
(
array
(
"ret"
=>
200
,
'data'
=>
$data
,
'msg'
=>
''
));
die
;
}
public
function
withdraw
()
{
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
if
(
checkToken
(
$uid
,
$token
)
==
700
){
$this
->
assign
(
"reason"
,
'您的登陆状态失效,请重新登陆!'
);
$this
->
display
(
':error'
);
exit
;
}
$this
->
display
();
}
}
themes/simplebootx/Appapi/Profit/auth.html
View file @
804b0223
...
...
@@ -9,8 +9,8 @@
<div
class=
"sfrz"
>
<!-- 状态 -->
<
!-- <div class="statusOne">正在审核中,请耐心等待</div> --
>
<div
class=
"statusTwo"
>
审核失败,请重新填写!
</div>
<
div
v-if=
"status==0"
class=
"statusOne"
>
正在审核中,请耐心等待
</div
>
<div
v-if=
"status==2"
class=
"statusTwo"
>
审核失败,请重新填写!
</div>
<!-- 上传身份证 -->
<div
class=
"part"
>
<div
class=
"part_name"
>
上传身份证
</div>
...
...
@@ -101,7 +101,6 @@
'bank_card'
:
''
,
'bank_province'
:
''
,
'bank_city'
:
''
,
'status'
:
3
,
},
methods
:
{
info
()
{
...
...
@@ -136,17 +135,27 @@
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
;
if
(
d
.
status
==
1
)
{
window
.
location
.
href
=
_this
.
url
(
'/index.php?g=Appapi&m=Profit&a=withdraw'
);
return
;
}
if
(
d
.
status
==
0
)
{
_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
;
}
}
else
{
layer
.
msg
(
data
.
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