Minestore.php
528 字节
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2020/4/29
* Time: 16:57
*/
namespace app\index\model;
use think\Model;
class Minestore extends Model
{
public function findData($where){
$data = $this->where($where)->find();
return $data;
}
public function updateData($where,$data){
$result = $this->where($where)->update($data);
return $result;
}
public function insertData($data){
$result = $this->insert($data);
return $result;
}
}