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
b40c8aa1
Commit
b40c8aa1
authored
Sep 11, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
返回客户信息
parent
6e5bea6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
+7
-3
PushMessageService.php
application/api_broker/service/PushMessageService.php
+3
-1
HouseService.php
application/index/service/HouseService.php
+1
-1
UserService.php
application/index/service/UserService.php
+3
-1
No files found.
application/api_broker/service/PushMessageService.php
View file @
b40c8aa1
...
@@ -272,9 +272,11 @@ class PushMessageService
...
@@ -272,9 +272,11 @@ class PushMessageService
$result
=
$m_push
->
addHouseIdArray
(
$house_id
,
$operation_id
,
$type
,
$data
);
$result
=
$m_push
->
addHouseIdArray
(
$house_id
,
$operation_id
,
$type
,
$data
);
break
;
break
;
case
2
:
case
2
:
$result
=
$m_push
->
addAgentIdArray
(
$agent_id
,
$operation_id
,
$type
,
$data
);
break
;
case
3
:
$data
[
'house_id'
]
=
$house_id
;
$data
[
'house_id'
]
=
$house_id
;
$result
=
$m_push
->
addAgentIdArray
(
$agent_id
,
$operation_id
,
$type
,
$data
);
$result
=
$m_push
->
addAgentIdArray
(
$agent_id
,
$operation_id
,
$type
,
$data
);
break
;
}
}
return
$result
;
return
$result
;
}
}
...
...
application/index/service/HouseService.php
View file @
b40c8aa1
...
@@ -271,7 +271,7 @@ class HouseService
...
@@ -271,7 +271,7 @@ class HouseService
$operation_name
=
$this
->
agent
->
getAgentsById
(
$operation_id
,
'name'
);
$operation_name
=
$this
->
agent
->
getAgentsById
(
$operation_id
,
'name'
);
$data
[
'message'
]
=
'你的【'
.
$house_title
.
'】商铺,盘方被【'
.
$operation_name
.
'】修改为:'
.
implode
(
','
,
$agent_name
);
$data
[
'message'
]
=
'你的【'
.
$house_title
.
'】商铺,盘方被【'
.
$operation_name
.
'】修改为:'
.
implode
(
','
,
$agent_name
);
$this
->
push
->
record
(
2
,
$house_id
,
$del_agent_id
,
$operation_id
,
$data
);
$this
->
push
->
record
(
3
,
$house_id
,
$del_agent_id
,
$operation_id
,
$data
);
}
}
}
}
}
}
...
...
application/index/service/UserService.php
View file @
b40c8aa1
...
@@ -294,6 +294,7 @@ class UserService
...
@@ -294,6 +294,7 @@ class UserService
$agent
=
new
AAgents
();
$agent
=
new
AAgents
();
$ccr_agent_data
=
$agent
->
getAgentInfo
(
'name,phone'
,
$operation_id
);
$ccr_agent_data
=
$agent
->
getAgentInfo
(
'name,phone'
,
$operation_id
);
$content
=
"【
{
$ccr_agent_data
[
'name'
]
}
-
{
$ccr_agent_data
[
'phone'
]
}
修改了
{
$user_name
}
(id:
{
$user_id
}
)客方】"
;
$content
=
"【
{
$ccr_agent_data
[
'name'
]
}
-
{
$ccr_agent_data
[
'phone'
]
}
修改了
{
$user_name
}
(id:
{
$user_id
}
)客方】"
;
$push
->
pushMessageById
(
$agent_id
,
'客方修改'
,
$content
,
'user_info'
,
$user_id
);
$data
[
'message'
]
=
$content
;
$push
->
record
(
2
,
0
,
[
0
=>
$agent_id
],
$operation_id
,
$data
);
}
}
}
}
\ No newline at end of file
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