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
18e4bc7a
Commit
18e4bc7a
authored
Dec 01, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc
parent
20d4952c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
DescribeConst.php
application/library/Our/DescribeConst.php
+1
-1
Push.php
application/library/Our/Push.php
+1
-1
ShopkeeperService.php
application/models/Business/Store/ShopkeeperService.php
+1
-1
No files found.
application/library/Our/DescribeConst.php
View file @
18e4bc7a
...
@@ -166,7 +166,7 @@ class DescribeConst
...
@@ -166,7 +166,7 @@ class DescribeConst
const
recieveWaitContent
=
'您有新的订单号为{0}的订单,是否需要接单'
;
const
recieveWaitContent
=
'您有新的订单号为{0}的订单,是否需要接单'
;
//用户订单被接单
//用户订单被接单
const
recieveOrderTitle
=
'您的订单已被接单'
;
const
recieveOrderTitle
=
'您的订单已被接单'
;
const
recieveOrderContent
=
'您有
新的
订单号为{0}的订单,已被接单'
;
const
recieveOrderContent
=
'您有订单号为{0}的订单,已被接单'
;
//消息按钮成功提示信息
//消息按钮成功提示信息
const
recieveOrderSuccess
=
'接单成功'
;
const
recieveOrderSuccess
=
'接单成功'
;
...
...
application/library/Our/Push.php
View file @
18e4bc7a
...
@@ -235,7 +235,7 @@ class Push
...
@@ -235,7 +235,7 @@ class Push
}
}
//用户被接单消息
//用户被接单消息
public
function
R
ecievedOrder
(
$storeId
,
$orderId
,
$orderSn
)
public
function
r
ecievedOrder
(
$storeId
,
$orderId
,
$orderSn
)
{
{
$storeDao
=
\DAO\StoreModel
::
getInstance
();
$storeDao
=
\DAO\StoreModel
::
getInstance
();
$condition
[
'store_id'
]
=
$storeId
;
$condition
[
'store_id'
]
=
$storeId
;
...
...
application/models/Business/Store/ShopkeeperService.php
View file @
18e4bc7a
...
@@ -260,7 +260,7 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
...
@@ -260,7 +260,7 @@ class ShopkeeperServiceModel extends \Business\AbstractModel
$type
=
ApiConst
::
messageWaitSend
;
$type
=
ApiConst
::
messageWaitSend
;
}
}
$push
=
\Our\Push
::
getInstance
();
$push
=
\Our\Push
::
getInstance
();
$push
->
R
ecievedOrder
(
$order
[
'store_id'
],
$order
[
'order_id'
],
$order
[
'orderSn'
]);
$push
->
r
ecievedOrder
(
$order
[
'store_id'
],
$order
[
'order_id'
],
$order
[
'orderSn'
]);
$pushData
=
array
(
'storeId'
=>
$order
[
'store_id'
],
$pushData
=
array
(
'storeId'
=>
$order
[
'store_id'
],
'type'
=>
ApiConst
::
messageWaitReceive
,
'type'
=>
ApiConst
::
messageWaitReceive
,
'waitReceiveCount'
=>
ApiConst
::
reduceOne
,
'waitReceiveCount'
=>
ApiConst
::
reduceOne
,
...
...
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