| 123456789101112131415161718 |
- <?php
- namespace app\common\model\external;
- use app\common\model\BaseModel;
- class DouyinRefundOrder extends BaseModel
- {
- protected $name = 'douyin_refund_order';
- public function getRefundStatusTextAttr($value,$data)
- {
- $status = [0=>'申请中',1=>'申请不通过',2=>'退款中',3=>'退款失败'];
- return $status[$data['refund_status']??0];
- }
- }
|