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
22f234a3
Commit
22f234a3
authored
Jul 12, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除需要的查询
parent
f425912a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
PushMessageService.php
application/api_broker/service/PushMessageService.php
+2
-2
No files found.
application/api_broker/service/PushMessageService.php
View file @
22f234a3
...
@@ -73,7 +73,7 @@ class PushMessageService
...
@@ -73,7 +73,7 @@ class PushMessageService
$report_data
=
$report
->
getReportOrder
(
$field
,
[
'a.id'
=>
$report_id
]);
$report_data
=
$report
->
getReportOrder
(
$field
,
[
'a.id'
=>
$report_id
]);
$agent
=
new
AAgents
();
$agent
=
new
AAgents
();
$agent_data
=
$agent
->
getAgentInfo
(
'id'
,
$report_data
[
'report_agent_id'
]);
//
$agent_data = $agent->getAgentInfo('id', $report_data['report_agent_id']);
if
(
$type
==
1
)
{
if
(
$type
==
1
)
{
$content
=
"客户
{
$report_data
[
'user_name'
]
}
进场【
{
$report_data
[
'house_title'
]
}
】商铺"
;
$content
=
"客户
{
$report_data
[
'user_name'
]
}
进场【
{
$report_data
[
'house_title'
]
}
】商铺"
;
...
@@ -85,7 +85,7 @@ class PushMessageService
...
@@ -85,7 +85,7 @@ class PushMessageService
$where
[
'store_id'
]
=
$report_data
[
'report_store_id'
];
$where
[
'store_id'
]
=
$report_data
[
'report_store_id'
];
$where
[
'level'
]
=
20
;
$where
[
'level'
]
=
20
;
$agent_store
=
$agent
->
getAgentInfo
(
'id
,device_id
'
,
''
,
$where
);
$agent_store
=
$agent
->
getAgentInfo
(
'id'
,
''
,
$where
);
// $this->push->public_push_message_for_one($report_data['report_agent_id'], $agent_data['device_id'], $title, $content);
// $this->push->public_push_message_for_one($report_data['report_agent_id'], $agent_data['device_id'], $title, $content);
// $this->push->public_push_message_for_one($agent_store['id'], $agent_store['device_id'], $title, $content);
// $this->push->public_push_message_for_one($agent_store['id'], $agent_store['device_id'], $title, $content);
...
...
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