Compare commits
2 Commits
0029b96308
...
63a89b4af7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63a89b4af7 | ||
|
|
fd6d9de32f |
@@ -437,7 +437,7 @@ class Base extends Controller
|
||||
$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();
|
||||
if($check){
|
||||
if($check){//防止重复添加
|
||||
return ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user