1
This commit is contained in:
@@ -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 获取文章列表(编辑)
|
||||
|
||||
Reference in New Issue
Block a user