SRCMS V2.0.1开发版
修复 荣誉榜排行顺序问题 修复 站点名称和简介无法配置的问题 修复 荣誉榜团队无法编辑的问题 删除 Ueditor存在漏洞的截屏插件
This commit is contained in:
@@ -49,7 +49,7 @@ class PostController extends BaseController
|
||||
if (IS_POST) {
|
||||
//如果用户提交数据
|
||||
$model = D("Post");
|
||||
$model->time = time();
|
||||
$model->create_time = time();
|
||||
$data = I();
|
||||
if (!$model->field('title,user_id,cate_id,content')->create()) {
|
||||
// 如果创建失败 表示验证没有通过 输出错误提示信息
|
||||
|
||||
Reference in New Issue
Block a user