Files
juipphp/app/order/model/CashOut.php

22 lines
450 B
PHP
Raw Normal View History

2020-10-11 19:23:42 +08:00
<?php
namespace app\order\model;
use fastphp\base\Model;
class CashOut extends Model
{
protected $table = 'cash_out';
2020-12-07 17:35:27 +08:00
/**
* @description: 处理搜索
* @param {*}
* @return {*}
*/
public function search($where = [], $fields = '*', $order = 'id desc', $limit = '50', $where_str = '')
{
return $this->field($fields)->where($where)->where($where_str)->order($order)->limit($limit)->fetchAll();
}
2020-10-11 19:23:42 +08:00
}