123456789101112131415161718192021222324252627282930 |
- <?php
- namespace app\admin\model\unishop;
- use think\Model;
- class OrderRefund extends Model
- {
-
- protected $name = 'unishop_order_refund';
-
- protected $autoWriteTimestamp = 'int';
-
- protected $createTime = 'createtime';
- protected $updateTime = 'updatetime';
- public function getReceivingStatusTextAttr()
- {
- return ['0' => '未收到', '1' => '已收到'];
- }
- public function getServiceTypeTextAttr()
- {
- return ['0' => '我要退款(无需退货)', '1' => '我要退货退款', '2' => '换货'];
- }
- }
|