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
3374e720
Commit
3374e720
authored
Aug 13, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
开业审核推送文案修改
parent
9de45721
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
PayLogOpenService.php
application/api_broker/service/PayLogOpenService.php
+9
-8
No files found.
application/api_broker/service/PayLogOpenService.php
View file @
3374e720
...
@@ -86,7 +86,8 @@ class PayLogOpenService
...
@@ -86,7 +86,8 @@ class PayLogOpenService
$leaderId
=
$verifyService
->
getLeaderIdByAgentId
(
$agent_id
);
$leaderId
=
$verifyService
->
getLeaderIdByAgentId
(
$agent_id
);
if
(
$leaderId
>
0
)
{
if
(
$leaderId
>
0
)
{
$push_service
=
new
PushMessageService
();
$push_service
=
new
PushMessageService
();
$push_service
->
record
(
13
,
0
,
[
$leaderId
],
$operation_id
,
[
'message'
=>
"有业务员提交了开业申请,请及时审核"
]);
$message
=
"有人提交了[
{
$house_address
}
]开业申请,快去审核吧!"
;
$push_service
->
record
(
13
,
0
,
[
$leaderId
],
$operation_id
,
[
'message'
=>
$message
]);
}
}
}
}
return
$return_id
;
return
$return_id
;
...
@@ -143,20 +144,20 @@ class PayLogOpenService
...
@@ -143,20 +144,20 @@ class PayLogOpenService
*/
*/
private
function
pushCheck
(
$open_id
,
$status
)
private
function
pushCheck
(
$open_id
,
$status
)
{
{
$push_agent
=
$this
->
payLogOpenModel
->
getFind
(
'agent_id'
,
$open_id
);
$push_agent
=
$this
->
payLogOpenModel
->
getFind
(
'
house_address,
agent_id'
,
$open_id
);
if
(
!
$push_agent
)
{
if
(
!
$push_agent
)
{
return
false
;
return
false
;
}
}
$message
=
""
;
$message
=
"
[
{
$push_agent
[
'house_address'
]
}
]
"
;
switch
(
$status
)
{
switch
(
$status
)
{
case
1
:
case
1
:
$message
=
"你的开业申请总监审核通过"
;
$message
.=
"的开业申请总监通过"
;
break
;
case
2
:
$message
=
"你的开业申请财务一审通过"
;
break
;
break
;
// case 2:
// $message = "你的开业申请财务一审通过";
// break;
case
3
:
case
3
:
$message
=
"你的开业申请财务二审
通过"
;
$message
.=
"的开业申请财务审核
通过"
;
break
;
break
;
default
:
default
:
return
false
;
return
false
;
...
...
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