公共退款界面

This commit is contained in:
wanyongkang
2020-12-03 16:57:30 +08:00
parent 57d7d3d185
commit 8d5dc77038
4 changed files with 92 additions and 2 deletions

View File

@@ -4,8 +4,8 @@
* @version:
* @Author: kangkang
* @Date: 2020-10-16 14:44:02
* @LastEditors: kangkang
* @LastEditTime: 2020-10-16 15:53:03
* @LastEditors: Please set LastEditors
* @LastEditTime: 2020-12-03 16:45:11
*/
namespace app\order\model;
@@ -15,4 +15,14 @@ use fastphp\base\Model;
class ProductOrder extends Model
{
protected $table = 'product_order';
/**
* @description: 获取退款数据
* @param {*}
* @return {*}
*/
public function openGetList($where = [], $fields = '*', $order = 'id desc', $limit = '50', $where2 = '')
{
return $this->field($fields)->where($where)->where($where2)->order($order)->limit($limit)->fetchAll();
}
}