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
a8c2f93b
Commit
a8c2f93b
authored
Sep 03, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改记录
parent
17599274
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
HouseService.php
application/index/service/HouseService.php
+19
-1
No files found.
application/index/service/HouseService.php
View file @
a8c2f93b
...
...
@@ -9,6 +9,7 @@
namespace
app\index\service
;
use
app\api_broker\service\PushMessageService
;
use
app\index\validate\HouseValidate
;
use
app\model\AAgents
;
use
app\model\GHouses
;
...
...
@@ -103,8 +104,25 @@ class HouseService
$agents
->
addHouseAgent
(
$data
[
'exclusive_ids'
],
$house_id
,
3
);
}
if
(
isset
(
$data
[
'exclusive_file'
]))
{
//解除案场权限人绑定关系
if
(
isset
(
$data
[
'del_agent_data'
]))
{
foreach
(
$data
[
'del_agent_id'
]
as
$k
=>
$v
)
{
$agents
->
del
(
$v
,
$house_id
);
}
}
//解除盘方绑定关系
if
(
isset
(
$data
[
'del_agent_dish'
]))
{
foreach
(
$data
[
'del_agent_dish'
]
as
$k
=>
$v
)
{
$agents
->
del
(
$v
,
$house_id
);
$del_agent_name
[]
=
$m_agent
->
getAgentsById
(
$v
,
'name'
);
//获取被修改人信息
}
if
(
!
empty
(
$del_agent_name
))
{
//记录删除盘方
$records
=
new
GOperatingRecords
();
$records
->
record
(
''
,
2
,
'删除盘方:'
.
implode
(
','
,
$del_agent_name
),
$house_id
);
}
}
$result
[
'data'
][
'house_id'
]
=
$house_id
;
...
...
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