This commit is contained in:
wangjinlei
2022-11-25 11:00:07 +08:00
parent 4bb2c9af5a
commit e0e3955380
2 changed files with 4 additions and 1 deletions

View File

@@ -390,6 +390,9 @@ class Production extends Controller
}
// $data['p_article_id'] = 7;
$p_info = $this->production_article_obj->where('p_article_id',$data['p_article_id'])->find();
if($p_info['state']!=0){
return jsonError("Non repeatable submission");
}
if($p_info['proof_state']!=2){
return jsonError('Warning: It is a violation to publish your article online without completing PROOF.
The ONLINE step will only continue if you have completed the PROOF step.');