OrderExpressLog.php 754 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. namespace app\common\model;
  3. use think\Model;
  4. /**
  5. * 模型
  6. */
  7. class OrderExpressLog extends Model
  8. {
  9. protected $name = 'shop_order_express_log';
  10. protected $type = [
  11. ];
  12. // 追加属性
  13. protected $append = [
  14. 'status_text'
  15. ];
  16. public function statusList()
  17. {
  18. return [
  19. 'noinfo' => '',
  20. 'collect' => '已揽件',
  21. 'transport' => '运输中',
  22. 'delivery' => '派送中',
  23. 'signfor' => '已签收',
  24. 'refuse' => '用户拒收',
  25. 'difficulty' => '问题件',
  26. 'invalid' => '无效件',
  27. 'timeout' => '超时单',
  28. 'fail' => '签收失败',
  29. 'back' => '退回',
  30. ];
  31. }
  32. }