QueueModel.php 299 B

123456789101112131415
  1. <?php
  2. namespace app\api\model;
  3. use think\Model;
  4. class QueueModel extends Model
  5. {
  6. protected $name = 'queue_log';
  7. public function getPayTypeAttr($value)
  8. {
  9. $status = ['1' => '余额支付', '2' => '微信支付', '3' => '支付宝支付'];
  10. return $status[$value];
  11. }
  12. }