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
ab4916fe
Commit
ab4916fe
authored
Aug 07, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
那个
parent
7e7e9f61
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
HomePageLog.php
application/api_broker/controller/HomePageLog.php
+1
-1
Shop.php
application/api_broker/controller/Shop.php
+1
-1
No files found.
application/api_broker/controller/HomePageLog.php
View file @
ab4916fe
...
...
@@ -130,7 +130,7 @@ class HomePageLog extends Basic
$where_
[
"a.phone|a.name"
]
=
array
(
"like"
,
"%"
.
trim
(
$params
[
"name_or_phone"
])
.
"%"
);
}
$where_
[
"c.city"
]
=
"上海市"
;
$where_
[
"c.city"
]
=
trim
(
$this
->
city
)
;
$join
=
[
[
'a_agents a'
,
'a.id=f.agent_id'
,
'left'
],
[
'a_store b'
,
'b.id=a.store_id'
,
'left'
],
...
...
application/api_broker/controller/Shop.php
View file @
ab4916fe
...
...
@@ -85,7 +85,7 @@ class Shop extends Basic
}
else
{
$field
=
"id,internal_title as title,internal_address as address,city,disc,business_district_id,status,industry_type
,shop_area_start,shop_area_end,shop_type,residue_num,shop_sign,is_carefully_chosen,rent_type,rent_price"
;
$conditions
[
"city"
]
=
"上海市"
;
$conditions
[
"city"
]
=
trim
(
$this
->
city
);
}
...
...
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