Refund.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 萤火商城系统 [ 致力于通过产品和服务,帮助商家高效化开拓市场 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2017~2024 https://www.yiovo.com All rights reserved.
  6. // +----------------------------------------------------------------------
  7. // | Licensed 这不是一个自由软件,不允许对程序代码以任何形式任何目的的再发行
  8. // +----------------------------------------------------------------------
  9. // | Author: 萤火科技 <admin@yiovo.com>
  10. // +----------------------------------------------------------------------
  11. declare (strict_types=1);
  12. namespace app\common\service\message\order;
  13. use app\common\service\message\Basics;
  14. /**
  15. * 消息通知服务 [订单售后]
  16. * Class Refund
  17. * @package app\common\service\message\order
  18. */
  19. class Refund extends Basics
  20. {
  21. /**
  22. * 参数列表
  23. * @var array
  24. */
  25. protected $param = [
  26. 'refund' => [], // 售后单信息
  27. 'order_no' => [], // 订单信息
  28. ];
  29. /**
  30. * 订单页面链接
  31. * @var array
  32. */
  33. private $pageUrl = 'pages/order/refund/index';
  34. /**
  35. * 发送消息通知
  36. * @param array $param
  37. * @return mixed|void
  38. * @throws \cores\exception\BaseException
  39. * @throws \think\Exception
  40. * @throws \think\db\exception\DataNotFoundException
  41. * @throws \think\db\exception\DbException
  42. * @throws \think\db\exception\ModelNotFoundException
  43. */
  44. public function send(array $param)
  45. {
  46. // 记录参数
  47. $this->param = $param;
  48. }
  49. }