元后台

This commit is contained in:
wanyongkang
2020-10-30 16:59:31 +08:00
parent 93825fa01a
commit debb294ac2
3 changed files with 115 additions and 54 deletions

View File

@@ -0,0 +1,29 @@
<?php
/*
* @Descripttion:
* @version:
* @Author: kangkang
* @Date: 2020-10-22 16:13:41
* @LastEditors: kangkang
* @LastEditTime: 2020-10-30 14:44:17
*/
namespace app\api\model;
use fastphp\base\Model;
class FinanceOperation extends Model
{
protected $table = 'finance_op';
/**
* @description: 单独写
* @param {*}
* @return {*}
*/
public function getListSearch($where1, $where2, $fields = '*', $order = 'id desc', $limit = '50')
{
return $this->field($fields)->where($where1)->where($where2)->order($order)->limit($limit)->fetchAll();
}
}