更新内核

This commit is contained in:
2016-11-18 11:14:26 +08:00
parent 9074eb1d89
commit 860da138c9
36 changed files with 754 additions and 330 deletions

View File

@@ -14,11 +14,17 @@ namespace app\common\model;
*/
class Base extends \think\Model{
protected $param;
protected $type = array(
'id' => 'integer',
'cover_id' => 'integer',
);
public function initialize(){
parent::initialize();
$this->param = \think\Request::instance()->param();
}
/**
* 数据修改
* @return [bool] [是否成功]