修改alipay地址

This commit is contained in:
wanyongkang
2020-10-14 20:20:49 +08:00
parent 7d7d8f09ad
commit 91a914bcc4
1102 changed files with 217 additions and 26 deletions

View File

@@ -2,8 +2,8 @@
/*
* @Author: your name
* @Date: 2020-09-30 17:32:46
* @LastEditTime: 2020-10-12 11:16:10
* @LastEditors: Please set LastEditors
* @LastEditTime: 2020-10-14 20:02:14
* @LastEditors: kangkang
* @Description: In User Settings Edit
* @FilePath: /phptest/fastphp/base/Model.php
*/
@@ -47,10 +47,19 @@ class Model extends Sql
* @param $limit = '100' 限制查询100条
* $limit = '2,100' 查询第二页 100条数据
*/
public function getListPage($where = [],$fields = '*', $order = 'id desc', $limit = '50')
public function getListPage($where = [], $fields = '*', $order = 'id desc', $limit = '50')
{
return $this->field($fields)->where($where)->order($order)->limit($limit)->fetchAll();
}
/**
* @description: 获取一条数据
* @param {type}
* @return {type}
*/
public function getOne($where = [], $fields = '*')
{
return $this->field($fields)->where($where)->limit('1')->fetch();
}
}