proof bug
This commit is contained in:
@@ -121,12 +121,12 @@ class Article extends Base
|
||||
|
||||
//对于接受的文章查询后续状态
|
||||
$proof_state = 0;
|
||||
if ($val['state'] == 5) {
|
||||
if ($val['state'] == 5||$val['state'] == 6) {
|
||||
proofState($val['article_id']);
|
||||
$p_info = $this->production_article_obj->where('article_id', $val['article_id'])->where('state', 0)->find();
|
||||
if ($p_info && $p_info['proof_state'] == 1) {
|
||||
$proof_state = 1;
|
||||
$res[$key]['state'] = 7;
|
||||
// $res[$key]['state'] = 7;
|
||||
}
|
||||
}
|
||||
$res[$key]['proof'] = $proof_state;
|
||||
|
||||
Reference in New Issue
Block a user