mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-07-15 21:02:20 +08:00
短信发送处理中增加描述对照
This commit is contained in:
parent
f04c23e90f
commit
703d5cbc3d
@ -24,7 +24,7 @@ class ConsultReply extends LogicService
|
||||
$wechatNoticeEnabled = $this->wechatNoticeEnabled();
|
||||
$smsNoticeEnabled = $this->smsNoticeEnabled();
|
||||
|
||||
$consultId = $task->item_info['consult']['id'];
|
||||
$consultId = $task->item_id;
|
||||
|
||||
$consultRepo = new ConsultRepo();
|
||||
|
||||
|
@ -23,7 +23,7 @@ class OrderFinish extends LogicService
|
||||
$wechatNoticeEnabled = $this->wechatNoticeEnabled();
|
||||
$smsNoticeEnabled = $this->smsNoticeEnabled();
|
||||
|
||||
$orderId = $task->item_info['order']['id'];
|
||||
$orderId = $task->item_id;
|
||||
|
||||
$orderRepo = new OrderRepo();
|
||||
|
||||
|
@ -23,7 +23,7 @@ class PointGoodsDeliver extends LogicService
|
||||
$wechatNoticeEnabled = $this->wechatNoticeEnabled();
|
||||
$smsNoticeEnabled = $this->smsNoticeEnabled();
|
||||
|
||||
$redeemId = $task->item_info['redeem']['id'];
|
||||
$redeemId = $task->item_id;
|
||||
|
||||
$redeemRepo = new PointGiftRedeemRepo();
|
||||
|
||||
|
@ -23,7 +23,7 @@ class RefundFinish extends LogicService
|
||||
$wechatNoticeEnabled = $this->wechatNoticeEnabled();
|
||||
$smsNoticeEnabled = $this->smsNoticeEnabled();
|
||||
|
||||
$refundId = $task->item_info['refund']['id'];
|
||||
$refundId = $task->item_id;
|
||||
|
||||
$refundRepo = new RefundRepo();
|
||||
|
||||
|
@ -29,6 +29,9 @@ class ConsultReply extends Smser
|
||||
|
||||
$templateId = $this->getTemplateId($this->templateCode);
|
||||
|
||||
/**
|
||||
* {1} 回复了你的咨询,课程名称:{2},请登录系统查看详情。
|
||||
*/
|
||||
$params = [
|
||||
$params['replier']['name'],
|
||||
$params['course']['title'],
|
||||
|
@ -31,6 +31,9 @@ class GoodsDeliver extends Smser
|
||||
|
||||
$params['deliver_time'] = date('Y-m-d H:i', $params['deliver_time']);
|
||||
|
||||
/**
|
||||
* 发货成功,商品名称:{1},订单序号:{2},发货时间:{3},请注意查收。
|
||||
*/
|
||||
$params = [
|
||||
$params['goods_name'],
|
||||
$params['order_sn'],
|
||||
|
@ -29,6 +29,9 @@ class LiveBegin extends Smser
|
||||
|
||||
$params['live']['start_time'] = date('H:i', $params['live']['start_time']);
|
||||
|
||||
/**
|
||||
* 直播预告,课程名称:{1},章节名称:{2},开播时间:{3}
|
||||
*/
|
||||
$params = [
|
||||
$params['course']['title'],
|
||||
$params['chapter']['title'],
|
||||
|
@ -29,6 +29,9 @@ class OrderFinish extends Smser
|
||||
|
||||
$templateId = $this->getTemplateId($this->templateCode);
|
||||
|
||||
/**
|
||||
* 下单成功,商品名称:{1},订单序号:{2},订单金额:{3}元
|
||||
*/
|
||||
$params = [
|
||||
$params['order']['subject'],
|
||||
$params['order']['sn'],
|
||||
|
@ -29,6 +29,9 @@ class RefundFinish extends Smser
|
||||
|
||||
$templateId = $this->getTemplateId($this->templateCode);
|
||||
|
||||
/**
|
||||
* 退款成功,商品名称:{1},退款序号:{2},退款金额:{3}元
|
||||
*/
|
||||
$params = [
|
||||
$params['refund']['subject'],
|
||||
$params['refund']['sn'],
|
||||
|
@ -29,6 +29,9 @@ class Verify extends SmserService
|
||||
|
||||
$templateId = $this->getTemplateId($this->templateCode);
|
||||
|
||||
/**
|
||||
* 验证码:{1},{2} 分钟内有效,如非本人操作请忽略。
|
||||
*/
|
||||
$params = [$code, $minutes];
|
||||
|
||||
return $this->send($phone, $templateId, $params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user