Commit 20d4952c authored by christ's avatar christ

用户订单被接单推送

parent 9c7dc56d
......@@ -165,7 +165,7 @@ class DescribeConst
const recieveWaitTitle='您有新的订单';
const recieveWaitContent='您有新的订单号为{0}的订单,是否需要接单';
//用户订单被接单
const recieveOrderTitle='您的订单有更新';
const recieveOrderTitle='您的订单已被接单';
const recieveOrderContent='您有新的订单号为{0}的订单,已被接单';
//消息按钮成功提示信息
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment