123456789101112131415 |
- <?php
- namespace app\api\model;
- use think\Model;
- class QueueModel extends Model
- {
- protected $name = 'queue_log';
- public function getPayTypeAttr($value)
- {
- $status = ['1' => '余额支付', '2' => '微信支付', '3' => '支付宝支付'];
- return $status[$value];
- }
- }
|