This commit is contained in:
wangjinlei
2025-04-01 13:20:26 +08:00
parent 88f68aea1c
commit 46564d36d2

View File

@@ -215,6 +215,9 @@ class Article extends Base
return jsonError($rule->getError());
}
$article_info = $this->article_obj->where("article_id",$data['article_id'])->find();
if($article_info['is_buy']==0){
return jsonError("Unpaid");
}
$journal_info = $this->journal_obj->where("journal_id",$article_info['journal_id'])->find();
$user_info = $this->user_obj->where('user_id',$article_info['user_id'])->find();
$editor_info = $this->user_obj->where('user_id',$article_info['editor_id'])->find();