Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
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
冷斌
haishi
Commits
6934bb60
Commit
6934bb60
authored
Feb 22, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
e6428d1d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
23 deletions
+9
-23
admin/themes/simplebootx/Admin/Userauth/index3.html
+7
-20
application/Admin/Controller/UserauthController.class.php
+2
-3
No files found.
admin/themes/simplebootx/Admin/Userauth/index3.html
View file @
6934bb60
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<body>
<body>
<div
class=
"wrap"
>
<div
class=
"wrap"
>
<ul
class=
"nav nav-tabs"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
>
认证申请
</a></li>
<li
class=
"active"
><a
>
收款码列表
</a></li>
</ul>
</ul>
<form
class=
"well form-search"
method=
"post"
action=
"{:U('Userauth/index2')}"
>
<form
class=
"well form-search"
method=
"post"
action=
"{:U('Userauth/index2')}"
>
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<input
type=
"text"
name=
"start_time"
class=
"js-date date"
value=
"{$formget.start_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
-
<input
type=
"text"
name=
"start_time"
class=
"js-date date"
value=
"{$formget.start_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
-
<input
type=
"text"
class=
"js-date date"
name=
"end_time"
value=
"{$formget.end_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
<input
type=
"text"
class=
"js-date date"
name=
"end_time"
value=
"{$formget.end_time}"
style=
"width: 80px;"
autocomplete=
"off"
>
关键字:
关键字:
<input
type=
"text"
name=
"keyword"
style=
"width: 200px;"
value=
"{$formget.keyword}"
placeholder=
"请输入会员ID
、支付宝账号
"
>
<input
type=
"text"
name=
"keyword"
style=
"width: 200px;"
value=
"{$formget.keyword}"
placeholder=
"请输入会员ID"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"搜索"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"搜索"
>
</form>
</form>
<form
method=
"post"
class=
"js-ajax-form"
>
<form
method=
"post"
class=
"js-ajax-form"
>
...
@@ -29,13 +29,8 @@
...
@@ -29,13 +29,8 @@
<tr>
<tr>
<th
align=
"center"
>
会员ID
</th>
<th
align=
"center"
>
会员ID
</th>
<th>
会员
</th>
<th>
会员
</th>
<th>
支付宝账号
</th>
<th>
支付宝
</th>
<th>
实名认证姓名
</th>
<th>
微信
</th>
<th>
开户姓名
</th>
<th>
开户行
</th>
<th>
银行卡号
</th>
<th>
省份
</th>
<th>
城市
</th>
<th>
审核状态
</th>
<th>
审核状态
</th>
<th>
提交时间
</th>
<th>
提交时间
</th>
<th>
处理时间
</th>
<th>
处理时间
</th>
...
@@ -49,13 +44,8 @@
...
@@ -49,13 +44,8 @@
<tr>
<tr>
<td
align=
"center"
>
{$vo.uid}
</td>
<td
align=
"center"
>
{$vo.uid}
</td>
<td>
{$vo['userinfo']['user_nicename']}
</td>
<td>
{$vo['userinfo']['user_nicename']}
</td>
<td>
{$vo['account']}
</td>
<td><a
href=
"{$vo['alipay_pay']}"
target=
"_blank"
><img
src=
"{$vo['alipay_pay']}"
style=
"height:24px"
></a></td>
<td>
{$vo['username']}
</td>
<td><a
href=
"{$vo['wx_pay']}"
target=
"_blank"
><img
src=
"{$vo['wx_pay']}"
style=
"height:24px"
></a></td>
<td>
{$vo['name']}
</td>
<td>
{$vo['bank_name']}
</td>
<td>
{$vo['bank_card']}
</td>
<td>
{$vo['bank_province']}
</td>
<td>
{$vo['bank_city']}
</td>
<td>
{$status[$vo['status']]}
</td>
<td>
{$status[$vo['status']]}
</td>
<td>
{$vo.addtime|date="Y-m-d H:i:s",###}
</td>
<td>
{$vo.addtime|date="Y-m-d H:i:s",###}
</td>
<td>
<td>
...
@@ -65,11 +55,8 @@
...
@@ -65,11 +55,8 @@
{$vo.uptime|date="Y-m-d H:i:s",###}
{$vo.uptime|date="Y-m-d H:i:s",###}
</if>
</if>
</td>
</td>
<td
align=
"center"
>
<td
align=
"center"
>
<a
href=
"{:U('Userauth/edit3',array('id'=>$vo['uid']))}"
>
审核
</a>
<a
href=
"{:U('Userauth/edit2',array('id'=>$vo['uid']))}"
>
编辑
</a>
<!-- <a href="{:U('Cash/del',array('id'=>$vo['uid']))}" class="js-ajax-dialog-btn" data-msg="您确定要删除吗?">删除</a> -->
</td>
</td>
</tr>
</tr>
</foreach>
</foreach>
...
...
application/Admin/Controller/UserauthController.class.php
View file @
6934bb60
...
@@ -278,11 +278,11 @@ class UserauthController extends AdminbaseController
...
@@ -278,11 +278,11 @@ class UserauthController extends AdminbaseController
}
}
if
(
$_REQUEST
[
'keyword'
]
!=
''
)
{
if
(
$_REQUEST
[
'keyword'
]
!=
''
)
{
$map
[
'uid
|account|name
'
]
=
[
"like"
,
"%"
.
$_REQUEST
[
'keyword'
]
.
"%"
];
$map
[
'uid'
]
=
[
"like"
,
"%"
.
$_REQUEST
[
'keyword'
]
.
"%"
];
$_GET
[
'keyword'
]
=
$_REQUEST
[
'keyword'
];
$_GET
[
'keyword'
]
=
$_REQUEST
[
'keyword'
];
}
}
$auth
=
M
(
"users_
info_auth
"
);
$auth
=
M
(
"users_
auth_pay
"
);
$count
=
$auth
->
where
(
$map
)
->
count
();
$count
=
$auth
->
where
(
$map
)
->
count
();
$page
=
$this
->
page
(
$count
,
20
);
$page
=
$this
->
page
(
$count
,
20
);
$lists
=
$auth
->
where
(
$map
)
->
order
(
"addtime DESC"
)
->
limit
(
$page
->
firstRow
.
','
.
$page
->
listRows
)
->
select
();
$lists
=
$auth
->
where
(
$map
)
->
order
(
"addtime DESC"
)
->
limit
(
$page
->
firstRow
.
','
.
$page
->
listRows
)
->
select
();
...
@@ -290,7 +290,6 @@ class UserauthController extends AdminbaseController
...
@@ -290,7 +290,6 @@ class UserauthController extends AdminbaseController
foreach
(
$lists
as
$k
=>
$v
)
{
foreach
(
$lists
as
$k
=>
$v
)
{
$userinfo
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$v[uid]
'"
)
->
find
();
$userinfo
=
M
(
"users"
)
->
field
(
"user_nicename"
)
->
where
(
"id='
$v[uid]
'"
)
->
find
();
$lists
[
$k
][
'userinfo'
]
=
$userinfo
;
$lists
[
$k
][
'userinfo'
]
=
$userinfo
;
}
}
$this
->
assign
(
'lists'
,
$lists
);
$this
->
assign
(
'lists'
,
$lists
);
...
...
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