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
5ed7865a
Commit
5ed7865a
authored
Apr 29, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a546d49b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
9 deletions
+0
-9
SquareService.php
application/api_broker/service/SquareService.php
+0
-8
BSquare.php
application/model/BSquare.php
+0
-1
No files found.
application/api_broker/service/SquareService.php
View file @
5ed7865a
...
...
@@ -112,16 +112,8 @@ class SquareService
$field
.=
'Site.name as site_name,'
;
$field
.=
'Square.create_time'
;
//发布时间
$field
.=
'Square.house_id'
;
$field
.=
'house.external_title as title'
;
$field
.=
'house.shop_area_start'
;
$field
.=
'house.shop_area_end'
;
$field
.=
'house.rent_type'
;
$field
.=
'house.rent_price'
;
$field
.=
'house.shop_sign'
;
$field
.=
'house.industry_type'
;
$get_params
[
'Square.status'
]
=
0
;
$get_params
[
'house.status'
]
=
1
;
//上架的商铺
$res
=
$this
->
m_square
->
getSquareList
(
$pageNo
,
$pageSize
,
$field
,
$get_params
);
$res_total
=
$this
->
m_square
->
getSquareListTotal
(
$field
,
$get_params
);
...
...
application/model/BSquare.php
View file @
5ed7865a
...
...
@@ -40,7 +40,6 @@ class BSquare extends Model
->
field
(
$field
)
->
alias
(
'Square'
)
->
join
(
'a_site Site'
,
'Site.id = Square.site_id'
,
'left'
)
->
join
(
'g_houses house'
,
'house.id = Square.house_id'
,
'left'
)
->
where
(
$params
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
...
...
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