This commit is contained in:
wangjinlei
2022-11-01 09:13:15 +08:00
parent cf6b6004ba
commit 6814f788ed
3 changed files with 327 additions and 19 deletions

View File

@@ -143,6 +143,7 @@ class Article extends Controller {
$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]['proof'] = $proof_state;
@@ -155,17 +156,17 @@ class Article extends Controller {
/**
* 获取proof的详情
*/
public function getProofDetail(){
$data = $this->request->post();
$rule = new Validate([]);
if(!$rule->check($data)){
return jsonError($rule->getError());
}
// public function getProofDetail(){
// $data = $this->request->post();
// $rule = new Validate([]);
// if(!$rule->check($data)){
// return jsonError($rule->getError());
// }
}
// }
/**
* @title 获取文章列表(编辑)