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
d7da4903
Commit
d7da4903
authored
Aug 13, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款成功文案
parent
3374e720
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
PushMessageService.php
application/api_broker/service/PushMessageService.php
+4
-0
Finance.php
application/index/controller/Finance.php
+7
-0
No files found.
application/api_broker/service/PushMessageService.php
View file @
d7da4903
...
@@ -425,6 +425,10 @@ class PushMessageService
...
@@ -425,6 +425,10 @@ class PushMessageService
$title
=
'财务日报提醒'
;
$title
=
'财务日报提醒'
;
$type
=
''
;
$type
=
''
;
break
;
break
;
case
16
:
$title
=
'退款成功'
;
$type
=
''
;
break
;
}
}
$this
->
pushAgentAllDeviceId
(
$v
[
'addressee_id'
],
$title
,
$v
[
'message'
],
$type
,
$id
,
$is_forbidden
,
$v
[
'house_id'
],
$v
[
'order_id'
]);
$this
->
pushAgentAllDeviceId
(
$v
[
'addressee_id'
],
$title
,
$v
[
'message'
],
$type
,
$id
,
$is_forbidden
,
$v
[
'house_id'
],
$v
[
'order_id'
]);
...
...
application/index/controller/Finance.php
View file @
d7da4903
...
@@ -4903,6 +4903,13 @@ class Finance extends Basic
...
@@ -4903,6 +4903,13 @@ class Finance extends Basic
if
(
$check_num
>=
2
)
{
if
(
$check_num
>=
2
)
{
$save_data
[
'status'
]
=
$status
=
2
;
//已审核
$save_data
[
'status'
]
=
$status
=
2
;
//已审核
$num
=
$id
=
$m_refund_log
->
insertData
(
$save_data
);
$num
=
$id
=
$m_refund_log
->
insertData
(
$save_data
);
$push
=
new
PushMessageService
();
$m_order
=
new
OrderModel
();
$house_title
=
$m_order
->
getOrderById
(
'house_id,house_title'
,
$refund_data
[
0
][
'order_id'
]);
$record_data
[
'message'
]
=
'['
.
$house_title
[
'house_title'
]
.
']退款成功'
;
$record_data
[
'order_id'
]
=
$refund_data
[
0
][
'order_id'
];
$push
->
record
(
16
,
$house_title
[
'house_id'
],
[
$refund_data
[
0
][
'agent_id'
]],
$this
->
userId
,
$record_data
);
}
}
if
(
$id
>
0
&&
is_array
(
$this
->
params
[
'img_arr'
]))
{
if
(
$id
>
0
&&
is_array
(
$this
->
params
[
'img_arr'
]))
{
$m_img
=
new
OImg
();
$m_img
=
new
OImg
();
...
...
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