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
b4928cdc
Commit
b4928cdc
authored
Nov 29, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片
parent
d30cc4c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
MarchIn.php
application/index/controller/MarchIn.php
+5
-3
No files found.
application/index/controller/MarchIn.php
View file @
b4928cdc
...
...
@@ -97,11 +97,13 @@ class MarchIn extends Basic
$data
[
'total'
]
=
$this
->
oMarchInModel
->
findmarchInListCount
(
$fields_evaluate
,
$where
);
$OrderLogService
=
new
OrderLogService
();
foreach
(
$data
[
'list'
]
as
$k
=>
$v
)
{
$data
[
'list'
][
$k
][
'march_in_img'
]
=
$OrderLogService
->
getOImg
(
$v
[
'id'
],
1
);
if
(
$v
[
'march_in_img'
]){
$data
[
'list'
][
$k
][
'march_in_img'
]
=
[[
'img_name'
=>
$v
[
'march_in_img'
]]];
}
else
{
$data
[
'list'
][
$k
][
'march_in_img'
]
=
$OrderLogService
->
getOImg
(
$v
[
'id'
],
1
);
}
}
//var_dump($result);
//return $result;
foreach
(
$data
[
'list'
]
as
$k
=>
$v
)
{
$data
[
'list'
][
$k
][
'user_phone'
]
=
preg_replace
(
'/(\d{3})\d{4}(\d{4})/'
,
'$1****$2'
,
$v
[
"user_phone"
]);
...
...
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