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
1c4ccbbc
Commit
1c4ccbbc
authored
Oct 08, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
4e37071c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Shop.php
application/api/controller/Shop.php
+6
-0
GHousesToAgents.php
application/model/GHousesToAgents.php
+1
-1
No files found.
application/api/controller/Shop.php
View file @
1c4ccbbc
...
...
@@ -11,6 +11,7 @@ namespace app\api\controller;
*/
use
app\api\extend\Basic
;
use
app\api_broker\service\LookShopService
;
use
app\api_broker\service\VerifyService
;
use
app\model\AttentionModel
;
use
app\model\GHouses
;
use
app\model\GHousesImgs
;
...
...
@@ -305,6 +306,11 @@ class Shop extends Basic
$bargainModel
=
new
OBargainModel
();
$str
=
$bargainModel
->
selectBargainListByHouseId
(
$params
[
"id"
]);
$result
[
"enter_num"
]
.=
$str
;
$verify
=
new
VerifyService
();
$agentId
=
$verify
->
getPanpartyAgentsByHouseId
(
$params
[
"id"
]);
$result
[
"panParty"
]
=
$agentId
;
$result
[
'new_sign_rule'
]
=
"付
{
$result
[
'payment_month'
]
}
押
{
$result
[
'deposit_month'
]
}
,签订
{
$result
[
'age_limit'
]
}
年"
;
return
$this
->
response
(
"200"
,
'request success'
,
$result
);
}
...
...
application/model/GHousesToAgents.php
View file @
1c4ccbbc
...
...
@@ -315,7 +315,7 @@ class GHousesToAgents extends BaseModel
public
function
getHousesUpdateAgents
(
$houses_id
)
{
$select_data
=
$this
->
field
(
'b.id,
name
,a.type,b.phone,c.store_name,d.district_name'
)
->
field
(
'b.id,
a.name,a.img
,a.type,b.phone,c.store_name,d.district_name'
)
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.agents_id = b.id'
,
'LEFT'
)
->
join
(
"a_store c"
,
"b.store_id = c.id"
,
"left"
)
...
...
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