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
c44f10f9
Commit
c44f10f9
authored
Sep 11, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客方修改文案
parent
a39b111c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
UserService.php
application/index/service/UserService.php
+3
-2
No files found.
application/index/service/UserService.php
View file @
c44f10f9
...
...
@@ -292,8 +292,9 @@ class UserService
public
function
pushMessage
(
$agent_id
,
$operation_id
,
$user_name
,
$user_id
)
{
$push
=
new
PushMessageService
();
$agent
=
new
AAgents
();
$ccr_agent_data
=
$agent
->
getAgentInfo
(
'name,phone'
,
$operation_id
);
$content
=
"【
{
$ccr_agent_data
[
'name'
]
}
-
{
$ccr_agent_data
[
'phone'
]
}
修改了
{
$user_name
}
(id:
{
$user_id
}
)客方】"
;
$ccr_agent_data
=
$agent
->
getAgentInfo
(
'name'
,
$operation_id
);
$agent_name
=
$agent
->
getAgentInfo
(
'name'
,
$agent_id
);
$content
=
"你的【客户ID:
{
$user_id
}
】客户,客方被【
{
$ccr_agent_data
[
'name'
]
}
】修改为【
{
$agent_name
[
'name'
]
}
】"
;
$data
[
'message'
]
=
$content
;
$push
->
record
(
2
,
0
,
[
0
=>
$agent_id
],
$operation_id
,
$data
);
}
...
...
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