Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
59a908c5
Commit
59a908c5
authored
Aug 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
收款记录隐藏中间4位
parent
61e4a62d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Collection.php
application/index/controller/Collection.php
+10
-0
No files found.
application/index/controller/Collection.php
View file @
59a908c5
...
@@ -86,6 +86,11 @@ class Collection extends Basic
...
@@ -86,6 +86,11 @@ class Collection extends Basic
$data
[
'data'
][
'total'
]
=
$order
->
getAddPayLogOrderListLmitTotal
(
$where
);
$data
[
'data'
][
'total'
]
=
$order
->
getAddPayLogOrderListLmitTotal
(
$where
);
$data
[
'data'
][
'money_total'
]
=
$order
->
getMoneyTotal
();
//总额
$data
[
'data'
][
'money_total'
]
=
$order
->
getMoneyTotal
();
//总额
foreach
(
$data
[
'data'
][
'list'
]
as
$k
=>
$v
)
{
if
(
!
empty
(
$v
[
'user_phone'
]))
{
$data
[
'data'
][
'list'
][
$k
][
'user_phone'
]
=
substr_replace
(
$v
[
'user_phone'
],
'****'
,
3
,
4
);
}
}
$data
[
'data'
][
'list'
]
=
$this
->
numberTransitionString
(
$data
[
'data'
][
'list'
]);
$data
[
'data'
][
'list'
]
=
$this
->
numberTransitionString
(
$data
[
'data'
][
'list'
]);
return
$this
->
response
(
200
,
""
,
$data
[
'data'
]);
return
$this
->
response
(
200
,
""
,
$data
[
'data'
]);
}
else
{
}
else
{
...
@@ -94,6 +99,11 @@ class Collection extends Basic
...
@@ -94,6 +99,11 @@ class Collection extends Basic
$field
=
'a.create_time,c.user_name,c.user_phone,e.name,e.phone,f.store_name,g.district_name,a.money,a.real_money,a.transaction_fee,a.type,a.pay_type,d.internal_address,a.house_number,a.source'
;
$field
=
'a.create_time,c.user_name,c.user_phone,e.name,e.phone,f.store_name,g.district_name,a.money,a.real_money,a.transaction_fee,a.type,a.pay_type,d.internal_address,a.house_number,a.source'
;
$data
=
$order
->
getAddPayLogOrderListLmit
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
$data
=
$order
->
getAddPayLogOrderListLmit
(
$pageNo
,
$pageSize
,
$order_
=
'a.id desc'
,
$field
,
$where
);
foreach
(
$data
as
$k
=>
$v
)
{
if
(
!
empty
(
$v
[
'user_phone'
]))
{
$data
[
$k
][
'user_phone'
]
=
substr_replace
(
$v
[
'user_phone'
],
'****'
,
3
,
4
);
}
}
$data
=
$this
->
numberTransitionString
(
$data
);
$data
=
$this
->
numberTransitionString
(
$data
);
$export
=
new
ExportExcelUntil
();
$export
=
new
ExportExcelUntil
();
...
...
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