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
6f9ae20d
Commit
6f9ae20d
authored
Apr 22, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_can_edit
parent
5c632e7e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
User.php
application/api_broker/controller/User.php
+5
-1
SquareService.php
application/api_broker/service/SquareService.php
+2
-1
No files found.
application/api_broker/controller/User.php
View file @
6f9ae20d
...
...
@@ -196,6 +196,10 @@ class User extends Basic
}
}
// big_log(json_encode($conditions));
if
(
$app_request_source_type
==
0
)
{
$pageNo
=
1
;
$pageSize
=
15
;
}
$field
=
"id as user_id,sex,user_name,city,user_phone,user_status,agent_id,create_time,industry_type,price_demand,area_demand,vip,user_label,source_intro,site_ids"
;
$return_user_list
=
$this
->
userModel
->
selectUserList
(
$field
,
$conditions
,
$pageNo
,
$pageSize
,
"id desc"
);
...
...
@@ -204,7 +208,7 @@ class User extends Basic
}
// big_log(json_encode($return_user_list));
//
todo
将经纪人所在城市的客户拍前面
// 将经纪人所在城市的客户拍前面
if
(
$app_request_source_type
==
0
)
{
$return_user_list
=
$this
->
userSequenceByCity
(
$return_user_list
,
$params
[
'site_id'
]);
}
...
...
application/api_broker/service/SquareService.php
View file @
6f9ae20d
...
...
@@ -208,7 +208,7 @@ class SquareService
//用户置顶权限
$res
[
'user_competence'
]
=
$this
->
userCompetence
(
$agent_id
);
$res
[
'is_can_edit'
]
=
1
;
//兼容老版本 2019-04-22
return
$res
;
}
...
...
@@ -318,6 +318,7 @@ class SquareService
$res
[
'image_path'
]
=
AGENTHEADERIMGURL
.
$agent
[
'img'
];
//'http://n.sinaimg.cn/ent/transform/20170921/FVGl-fymesmp0851702.jpg';
//用户置顶权限
$res
[
'user_competence'
]
=
$this
->
userCompetence
(
$agent_id
);
$res
[
'is_can_edit'
]
=
1
;
//兼容老版本 2019-04-22
return
$res
;
}
...
...
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