latex update
This commit is contained in:
@@ -437,7 +437,7 @@ class Base extends Controller
|
|||||||
$article_info = $this->article_obj->where('article_id', $article_id)->find();
|
$article_info = $this->article_obj->where('article_id', $article_id)->find();
|
||||||
|
|
||||||
$check = $this->article_main_obj->where("article_id",$article_id)->whereIn("state",[0,2])->find();
|
$check = $this->article_main_obj->where("article_id",$article_id)->whereIn("state",[0,2])->find();
|
||||||
if($check){
|
if($check){//防止重复添加
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user