淘宝退款、用户提现筛选

This commit is contained in:
wanyongkang
2020-12-07 17:35:27 +08:00
parent 24ff580958
commit 9c816fadb7
5 changed files with 196 additions and 38 deletions

View File

@@ -8,6 +8,14 @@ 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();
}
}