Refund.php 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | 萤火商城系统 [ 致力于通过产品和服务,帮助商家高效化开拓市场 ]
  4. // +----------------------------------------------------------------------
  5. // | Copyright (c) 2017~2021 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. use app\common\model\store\Setting as SettingModel;
  15. /**
  16. * 消息通知服务 [订单售后]
  17. * Class Refund
  18. * @package app\common\service\message\order
  19. */
  20. class Refund extends Basics
  21. {
  22. /**
  23. * 参数列表
  24. * @var array
  25. */
  26. protected $param = [
  27. 'refund' => [], // 退款单信息
  28. 'order_no' => [], // 订单信息
  29. ];
  30. /**
  31. * 订单页面链接
  32. * @var array
  33. */
  34. private $pageUrl = 'pages/order/refund/index';
  35. /**
  36. * 发送消息通知
  37. * @param array $param
  38. * @return mixed|void
  39. * @throws \app\common\exception\BaseException
  40. * @throws \think\Exception
  41. * @throws \think\db\exception\DataNotFoundException
  42. * @throws \think\db\exception\DbException
  43. * @throws \think\db\exception\ModelNotFoundException
  44. */
  45. public function send(array $param)
  46. {
  47. // 记录参数
  48. $this->param = $param;
  49. }
  50. }