Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
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
chenchuanwen
my-yaf-project
Commits
6d1e2267
Commit
6d1e2267
authored
Sep 28, 2018
by
wwccw0591
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
jpush
parent
eb9ab830
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
DescribeConst.php
application/library/Our/DescribeConst.php
+2
-2
OrderService.php
application/models/Business/Order/OrderService.php
+6
-1
No files found.
application/library/Our/DescribeConst.php
View file @
6d1e2267
...
...
@@ -148,8 +148,8 @@ class DescribeConst
const
refundRetund
=
'退货'
;
//用户订单送达消息
const
reacheRemindTitle
=
'你的订单卖家已经
发货
'
;
const
reacheRemindContent
=
'你有新的订单号为{0}的订单已经
发货
'
;
const
reacheRemindTitle
=
'你的订单卖家已经
送达
'
;
const
reacheRemindContent
=
'你有新的订单号为{0}的订单已经
已经送达
'
;
//店铺有新订单
const
recieveWaitTitle
=
'你有新的定单'
;
...
...
application/models/Business/Order/OrderService.php
View file @
6d1e2267
...
...
@@ -447,7 +447,12 @@ class OrderServiceModel extends \Business\AbstractModel
do
{
$orders
=
$orderDao
->
getRecieveOrders
(
ApiConst
::
orderStateWaitRecieve
,
$addTime
,
$pageBegin
,
PageConst
::
taskPageSize
,
'send_time'
);
foreach
(
$orders
[
'list'
]
as
$order
)
{
$push
->
reacheRemind
(
$order
[
'buyerId'
],
$order
[
'orderId'
],
$order
[
'orderSn'
]);
if
(
$order
[
'shippingType'
]
==
ApiConst
::
bySelf
){
$push
->
reacheRemind
(
$order
[
'buyerId'
],
$order
[
'orderId'
],
$order
[
'orderSn'
]);
}
if
(
$order
[
'shippingType'
]
!=
ApiConst
::
bySelf
&&
$order
[
'shippingOver'
]
==
ApiConst
::
shippingOver
){
$push
->
reacheRemind
(
$order
[
'buyerId'
],
$order
[
'orderId'
],
$order
[
'orderSn'
]);
}
}
$pageBegin
++
;
}
while
(
!
empty
(
$orders
[
'list'
]));
...
...
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