淘宝退款
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2020-09-30 17:32:46
|
||||
* @LastEditTime: 2020-10-14 20:02:14
|
||||
* @LastEditTime: 2020-10-14 20:40:36
|
||||
* @LastEditors: kangkang
|
||||
* @Description: In User Settings Edit
|
||||
* @FilePath: /phptest/fastphp/base/Model.php
|
||||
@@ -61,5 +61,14 @@ class Model extends Sql
|
||||
{
|
||||
return $this->field($fields)->where($where)->limit('1')->fetch();
|
||||
}
|
||||
/**
|
||||
* @description: 更新一条数据
|
||||
* @param {type}
|
||||
* @return {type}
|
||||
*/
|
||||
public function updateOne($where = [], $data = [])
|
||||
{
|
||||
return $this->where($where)->update($data);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user