BalancePlan.php 378 B

123456789101112131415161718192021
  1. <?php
  2. namespace app\api\model\user;
  3. use app\common\model\user\BalancePlan as BalancePlanModel;
  4. /**
  5. * 充值模型
  6. */
  7. class BalancePlan extends BalancePlanModel
  8. {
  9. /**
  10. * 列表
  11. */
  12. public function getList()
  13. {
  14. return $this->where('is_delete', '=', 0)
  15. ->order(['sort' => 'asc', 'create_time' => 'desc'])
  16. ->select();
  17. }
  18. }