搜索跟进记录
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2020-09-30 17:32:46
|
||||
* @LastEditTime: 2020-11-17 15:17:09
|
||||
* @LastEditors: kangkang
|
||||
* @LastEditTime: 2022-01-15 09:41:34
|
||||
* @LastEditors: Please set LastEditors
|
||||
* @Description: In User Settings Edit
|
||||
* @FilePath: /phptest/fastphp/base/Model.php
|
||||
*/
|
||||
@@ -71,6 +71,16 @@ class Model extends Sql
|
||||
{
|
||||
return $this->field($fields)->where($where)->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取一条数据
|
||||
* @param {type}
|
||||
* @return {type}
|
||||
*/
|
||||
public function getOneByStr($where = "", $fields = '*')
|
||||
{
|
||||
return $this->field($fields)->where($where)->fetch();
|
||||
}
|
||||
|
||||
/**
|
||||
* @description: 获取最新一条数据
|
||||
|
||||
Reference in New Issue
Block a user