| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <?php
- namespace app\admin\model;
- use think\Model;
- /**
- * 欢迎语模型
- */
- class Reply extends Model
- {
- /**
- * find数据筛选
- *
- * @access public
- * @param mixed $where 数据
- * @return array 返回类型
- */
- public function findReply($where)
- {
- $result = $this->where($where)->find();
- return $result;
- }//end findReply()
- /**
- * 数据修改
- *
- * @access public
- * @param mixed $data 数据
- * @param mixed $where 条件
- * @return array 返回类型
- */
- public function updateReply($where, $data)
- {
- $result = $this->where($where)->update($data);
- return $result;
- }//end updateReply()
- }
|