proof bug

This commit is contained in:
wangjinlei
2025-04-03 14:04:04 +08:00
parent 0543e421ec
commit 3eba2df460

View File

@@ -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;