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
20d4952c
Commit
20d4952c
authored
Dec 01, 2018
by
christ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户订单被接单推送
parent
9c7dc56d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
DescribeConst.php
application/library/Our/DescribeConst.php
+1
-1
Push.php
application/library/Our/Push.php
+1
-1
No files found.
application/library/Our/DescribeConst.php
View file @
20d4952c
...
...
@@ -165,7 +165,7 @@ class DescribeConst
const
recieveWaitTitle
=
'您有新的订单'
;
const
recieveWaitContent
=
'您有新的订单号为{0}的订单,是否需要接单'
;
//用户订单被接单
const
recieveOrderTitle
=
'您的订单
有更新
'
;
const
recieveOrderTitle
=
'您的订单
已被接单
'
;
const
recieveOrderContent
=
'您有新的订单号为{0}的订单,已被接单'
;
//消息按钮成功提示信息
...
...
application/library/Our/Push.php
View file @
20d4952c
...
...
@@ -248,7 +248,7 @@ class Push
$fromAvatar
=
Common
::
getStaticFile
(
ImageConst
::
orderAvatarName
,
ImageConst
::
systemAvatar
);
$href
=
Common
::
format
(
PathConst
::
orderId
,
$orderId
);
// $buttons=$this->getComfirmRecieveButtons($orderId);
$message
=
$this
->
getMessageTemplate
(
ApiConst
::
reicieveOrderType
,
DescribeConst
::
recieveOrderTitle
,
$messageContent
,
''
,
''
,
$href
,
ApiConst
::
zero
,
$buttons
);
$message
=
$this
->
getMessageTemplate
(
ApiConst
::
reicieveOrderType
,
DescribeConst
::
recieveOrderTitle
,
$messageContent
,
''
,
''
,
$href
,
ApiConst
::
zero
);
$id
=
time
()
.
(
string
)
$this
->
orderIdStr
.
$orderId
;
$this
->
pushMessage
(
$id
,
$this
->
orderId
,
$orderDetail
[
'buyerId'
],
$this
->
orderId
,
$toUserId
,
$this
->
orderName
,
$store
[
'store_name'
],
ApiConst
::
orderMessageType
,
ApiConst
::
memberMessageType
,
$fromAvatar
,
$message
);
}
...
...
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