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
f0da3e36
Commit
f0da3e36
authored
Jan 16, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
格式
parent
a28747f1
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
6 deletions
+9
-6
AppointmentTime.php
application/api/controller/AppointmentTime.php
+0
-0
AttentionShop.php
application/api/controller/AttentionShop.php
+0
-1
Shop.php
application/api/controller/Shop.php
+0
-0
TradeLog.php
application/api/controller/TradeLog.php
+0
-0
Applies.php
application/model/Applies.php
+3
-2
AttentionModel.php
application/model/AttentionModel.php
+0
-0
SubletModel.php
application/model/SubletModel.php
+6
-3
No files found.
application/api/controller/AppointmentTime.php
View file @
f0da3e36
application/api/controller/AttentionShop.php
View file @
f0da3e36
...
@@ -92,7 +92,6 @@ class AttentionShop extends Basic
...
@@ -92,7 +92,6 @@ class AttentionShop extends Basic
$result
[
$key
][
"images"
]
=
$imgArr
;
$result
[
$key
][
"images"
]
=
$imgArr
;
}
}
return
$this
->
response
(
"200"
,
"request success"
,
$result
);
return
$this
->
response
(
"200"
,
"request success"
,
$result
);
}
}
...
...
application/api/controller/Shop.php
View file @
f0da3e36
application/api/controller/TradeLog.php
View file @
f0da3e36
application/model/Applies.php
View file @
f0da3e36
...
@@ -8,12 +8,13 @@ class Applies extends Model
...
@@ -8,12 +8,13 @@ class Applies extends Model
{
{
protected
$table
=
'applies'
;
protected
$table
=
'applies'
;
public
function
getAppliesList
(
$pageNo
,
$pageSize
,
$order_
,
$field
,
$params
){
public
function
getAppliesList
(
$pageNo
,
$pageSize
,
$order_
,
$field
,
$params
)
{
return
$this
return
$this
->
field
(
$field
)
->
field
(
$field
)
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
'houseinfos b'
,
'a.house_id = b.id'
,
'LEFT'
)
->
join
(
'houseinfos b'
,
'a.house_id = b.id'
,
'LEFT'
)
->
join
(
'houseinfo_exts c'
,
'c.house_id = b.id'
,
'LEFT'
)
->
join
(
'houseinfo_exts c'
,
'c.house_id = b.id'
,
'LEFT'
)
->
where
(
$params
)
->
where
(
$params
)
->
order
(
$order_
)
->
order
(
$order_
)
...
...
application/model/AttentionModel.php
View file @
f0da3e36
application/model/SubletModel.php
View file @
f0da3e36
...
@@ -44,7 +44,8 @@ class SubletModel extends Model
...
@@ -44,7 +44,8 @@ class SubletModel extends Model
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
* @throws \think\exception\DbException
*/
*/
public
function
getSublet
(
$pageNo
=
1
,
$pageSize
=
15
,
$order_
=
''
,
$fields
=
'*'
,
$params
=
''
)
{
public
function
getSublet
(
$pageNo
=
1
,
$pageSize
=
15
,
$order_
=
''
,
$fields
=
'*'
,
$params
=
''
)
{
$result
=
$this
->
field
(
$fields
)
$result
=
$this
->
field
(
$fields
)
->
where
(
$params
)
->
where
(
$params
)
->
order
(
$order_
)
->
order
(
$order_
)
...
@@ -60,7 +61,8 @@ class SubletModel extends Model
...
@@ -60,7 +61,8 @@ class SubletModel extends Model
* @param $params
* @param $params
* @return int|string
* @return int|string
*/
*/
public
function
getSubletTotal
(
$params
)
{
public
function
getSubletTotal
(
$params
)
{
$result
=
$this
->
where
(
$params
)
->
count
();
$result
=
$this
->
where
(
$params
)
->
count
();
return
$result
;
return
$result
;
}
}
...
@@ -70,7 +72,8 @@ class SubletModel extends Model
...
@@ -70,7 +72,8 @@ class SubletModel extends Model
* @param $params
* @param $params
* @return false|\PDOStatement|string|\think\Collection
* @return false|\PDOStatement|string|\think\Collection
*/
*/
public
function
getSubletByHoseId
(
$params
)
{
public
function
getSubletByHoseId
(
$params
)
{
return
$this
->
field
(
"id,status"
)
return
$this
->
field
(
"id,status"
)
->
where
(
$params
)
->
where
(
$params
)
->
select
();
->
select
();
...
...
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