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
e73803c4
Commit
e73803c4
authored
Sep 03, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
经纪人列表bug修复
parent
aed6e1c6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
LookShop.php
application/api_broker/controller/LookShop.php
+2
-1
AAgents.php
application/model/AAgents.php
+1
-1
route.php
application/route.php
+1
-1
No files found.
application/api_broker/controller/LookShop.php
View file @
e73803c4
...
@@ -128,7 +128,7 @@ class LookShop extends Basic
...
@@ -128,7 +128,7 @@ class LookShop extends Basic
$where_
[
"district_id"
]
=
$result
[
0
][
"district_id"
];
$where_
[
"district_id"
]
=
$result
[
0
][
"district_id"
];
}
}
$where_
[
"
a.
status"
]
=
0
;
$where_
[
"status"
]
=
0
;
$agentList
=
$this
->
agentsModel
->
getAgentByIdV2
(
$field
,
$where_
,
$page_no
,
$page_size
);
$agentList
=
$this
->
agentsModel
->
getAgentByIdV2
(
$field
,
$where_
,
$page_no
,
$page_size
);
...
@@ -144,6 +144,7 @@ class LookShop extends Basic
...
@@ -144,6 +144,7 @@ class LookShop extends Basic
//1.返回剩余铺数等于多少 if 0 判断是否升级过 ,升级过 显示已升级,没升级过 升级可以点击效果 else 不等于0 灰色的升级
//1.返回剩余铺数等于多少 if 0 判断是否升级过 ,升级过 显示已升级,没升级过 升级可以点击效果 else 不等于0 灰色的升级
foreach
(
$agentList
as
$key
=>
$item
)
{
foreach
(
$agentList
as
$key
=>
$item
)
{
$agentList
[
$key
][
'img'
]
=
AGENTHEADERIMGURL
.
$item
[
'img'
];
$can_look_num
=
$this
->
lookShopService_
->
isLookShop
(
$item
[
"id"
]);
$can_look_num
=
$this
->
lookShopService_
->
isLookShop
(
$item
[
"id"
]);
$is_upgrade
=
$this
->
lookShopService_
->
getAgentUpNum
(
$item
[
"id"
]);
$is_upgrade
=
$this
->
lookShopService_
->
getAgentUpNum
(
$item
[
"id"
]);
$agentList
[
$key
][
"can_look_num"
]
=
$can_look_num
;
$agentList
[
$key
][
"can_look_num"
]
=
$can_look_num
;
...
...
application/model/AAgents.php
View file @
e73803c4
...
@@ -325,7 +325,7 @@ class AAgents extends BaseModel
...
@@ -325,7 +325,7 @@ class AAgents extends BaseModel
->
limit
(
$page_size
)
->
limit
(
$page_size
)
->
page
(
$page_no
)
->
page
(
$page_no
)
->
select
();
->
select
();
//
echo $this->getLastSql();
//
echo $this->getLastSql();
return
$result
;
return
$result
;
}
}
...
...
application/route.php
View file @
e73803c4
...
@@ -533,7 +533,7 @@ Route::group('broker', [
...
@@ -533,7 +533,7 @@ Route::group('broker', [
'editDecFeedClick'
=>
[
'api_broker/Feed/editDecFeedClick'
,
[
'method'
=>
'post'
]
],
//feed流喜报详情
'editDecFeedClick'
=>
[
'api_broker/Feed/editDecFeedClick'
,
[
'method'
=>
'post'
]
],
//feed流喜报详情
'getAgentsResidueNumList'
=>
[
'api_broker/LookShop/getAgentsResidueNumList'
,
[
'method'
=>
'get'
]
],
//剩余铺数列表
'getAgentsResidueNumList'
=>
[
'api_broker/LookShop/getAgentsResidueNumList'
,
[
'method'
=>
'get'
]
],
//剩余铺数列表
'getAgentsResidueNumListV2'
=>
[
'api_broker/LookShop/getAgentsResidueNumListV2'
,
[
'method'
=>
'get'
]
],
//
剩余铺数列表
'getAgentsResidueNumListV2'
=>
[
'api_broker/LookShop/getAgentsResidueNumListV2'
,
[
'method'
=>
'get'
]
],
//
'setAgentLookNum'
=>
[
'api_broker/LookShop/setAgentLookNum'
,
[
'method'
=>
'post'
]
],
//设置经纪人的看铺数量
'setAgentLookNum'
=>
[
'api_broker/LookShop/setAgentLookNum'
,
[
'method'
=>
'post'
]
],
//设置经纪人的看铺数量
//首页跟进记录
//首页跟进记录
...
...
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