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
962d0453
Commit
962d0453
authored
Apr 18, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
追加评论经纪人
parent
55efd415
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
PushMessageService.php
application/api_broker/service/PushMessageService.php
+9
-1
No files found.
application/api_broker/service/PushMessageService.php
View file @
962d0453
...
...
@@ -9,6 +9,7 @@
namespace
app\api_broker\service
;
use
app\api\service\PushClientService
;
use
app\api\untils\GeTuiUtils
;
use
app\model\AAgents
;
use
app\model\ABindingDevice
;
...
...
@@ -77,11 +78,12 @@ class PushMessageService
* @param $report_id
* @param $type
* @param $operation_id
* @param $type_source
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public
function
pushMarchInMessage
(
$report_id
,
$type
,
$operation_id
)
public
function
pushMarchInMessage
(
$report_id
,
$type
,
$operation_id
,
$type_source
=
0
)
{
$report
=
new
OReportModel
();
...
...
@@ -130,6 +132,12 @@ class PushMessageService
$this
->
record
(
$push_type
,
0
,
$agent_id
,
$operation_id
,
$data
);
// $this->pushAgentAllDeviceId($report_data['report_agent_id'], $title, $content);
// $this->pushAgentAllDeviceId($agent_store['id'], $title, $content);
//意向金推送
if
(
$type_source
==
10
)
{
$push
=
new
PushClientService
();
$push
->
record
(
$report_id
,
$report_data
[
'order_id'
],
0
,
'追加评论经纪人'
,
$operation_id
,
$report_data
[
'user_id'
]);
}
return
;
}
...
...
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