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
6d7a3925
Commit
6d7a3925
authored
Apr 21, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
8deed5de
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
FindShop.php
application/index/controller/FindShop.php
+7
-1
No files found.
application/index/controller/FindShop.php
View file @
6d7a3925
...
@@ -68,8 +68,14 @@ class FindShop extends Basic
...
@@ -68,8 +68,14 @@ class FindShop extends Basic
$findShopModel
=
new
UFindShop
();
$findShopModel
=
new
UFindShop
();
$field
=
"a.id,a.user_id,a.user_name,a.site_id,a.city,a.disc,a.business_district_id,a.business_district_name,
$field
=
"a.id,a.user_id,a.user_name,a.site_id,a.city,a.disc,a.business_district_id,a.business_district_name,
a.industry_type,a.area_start,a.area_end,a.price_type,a.price_start,a.price_end,a.update_time,a.create_time"
;
a.industry_type,a.area_start,a.area_end,a.price_type,a.price_start,a.price_end,a.update_time,a.create_time,b.user_phone"
;
$result
=
$findShopModel
->
getFindShopAndUserList
(
$field
,
$conditions
,
1
,
1
);
$result
=
$findShopModel
->
getFindShopAndUserList
(
$field
,
$conditions
,
1
,
1
);
foreach
(
$result
as
$key
=>
$item
){
$result
[
$key
][
"user_phone"
]
=
substr_replace
(
$item
[
"user_phone"
],
'****'
,
3
,
4
);
}
return
$this
->
response
(
"200"
,
"success"
,
$result
);
return
$this
->
response
(
"200"
,
"success"
,
$result
);
...
...
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