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

2
.env
View File

@@ -140,7 +140,7 @@ net = '</p>
<tbody> <tbody>
<tr style="font-family:sans-serif; vertical-align: top;font-size: 12px;"> <tr style="font-family:sans-serif; vertical-align: top;font-size: 12px;">
<td width="500" height="40" colspan="0" rowspan="0"> <td width="500" height="40" colspan="0" rowspan="0">
<a href="https://www.tmrjournals.com/afoor_con.html?&footer_id=6" target="_blank" <a href="https://www.tmrjournals.com/afoor_text.html?&footer_id=75" target="_blank"
style="color: #333;margin: 2px 0 0 30px;line-height: 20px;display: block"> style="color: #333;margin: 2px 0 0 30px;line-height: 20px;display: block">
Privacy policy Privacy policy
</a> </a>

View File

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