淘宝退款

This commit is contained in:
wanyongkang
2020-10-15 14:03:09 +08:00
parent 91a914bcc4
commit 729b32f0a4
6 changed files with 78 additions and 15 deletions

View File

@@ -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);
}
}