Files
juipphp/app/order/model/CashOut.php
2020-12-07 17:35:27 +08:00

22 lines
450 B
PHP

<?php
namespace app\order\model;
use fastphp\base\Model;
class CashOut extends Model
{
protected $table = 'cash_out';
/**
* @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();
}
}