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
2fd98b63
Commit
2fd98b63
authored
Aug 08, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编号id改成房东id
parent
687cbc06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Shop.php
application/api_broker/controller/Shop.php
+1
-1
No files found.
application/api_broker/controller/Shop.php
View file @
2fd98b63
...
@@ -587,7 +587,7 @@ class Shop extends Basic
...
@@ -587,7 +587,7 @@ class Shop extends Basic
$result
[
'landlord_phone'
]
=
$m_landlord
->
getAllList
(
'id,name,phone'
,[
'house_id'
=>
$params
[
"id"
],
'status'
=>
0
]);
$result
[
'landlord_phone'
]
=
$m_landlord
->
getAllList
(
'id,name,phone'
,[
'house_id'
=>
$params
[
"id"
],
'status'
=>
0
]);
foreach
(
$result
[
'landlord_phone'
]
as
$kk
=>
$vv
){
foreach
(
$result
[
'landlord_phone'
]
as
$kk
=>
$vv
){
$result
[
'landlord_phone'
][
$kk
][
'phone'
]
=
substr_replace
(
$result
[
'landlord_phone'
][
$kk
][
'phone'
],
'****'
,
3
,
4
);
$result
[
'landlord_phone'
][
$kk
][
'phone'
]
=
substr_replace
(
$result
[
'landlord_phone'
][
$kk
][
'phone'
],
'****'
,
3
,
4
);
$result
[
'landlord_phone'
][
$kk
][
'name'
]
=
'(
编号
ID:'
.
$result
[
'landlord_phone'
][
$kk
][
'id'
]
.
')'
.
$result
[
'landlord_phone'
][
$kk
][
'name'
];
$result
[
'landlord_phone'
][
$kk
][
'name'
]
=
'(
房东
ID:'
.
$result
[
'landlord_phone'
][
$kk
][
'id'
]
.
')'
.
$result
[
'landlord_phone'
][
$kk
][
'name'
];
}
}
$result
[
'is_show_landlord'
]
=
1
;
$result
[
'is_show_landlord'
]
=
1
;
}
else
{
}
else
{
...
...
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