30 lines
629 B
PHP
30 lines
629 B
PHP
<?php
|
|
/*
|
|
* @Descripttion:
|
|
* @version:
|
|
* @Author: kangkang
|
|
* @Date: 2020-10-14 09:56:09
|
|
* @LastEditors: Please set LastEditors
|
|
* @LastEditTime: 2020-12-07 15:10:54
|
|
*/
|
|
|
|
namespace app\order\model;
|
|
|
|
use fastphp\base\Model;
|
|
|
|
class TbRefund extends Model
|
|
{
|
|
protected $table = 'sell_taobao_refund';
|
|
|
|
/**
|
|
* @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();
|
|
}
|
|
|
|
}
|