Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -961,4 +961,20 @@ class Board extends Base {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/**
|
||||||
|
* 获取编委信息-新
|
||||||
|
*/
|
||||||
|
public function getBoardInfo(){
|
||||||
|
$data = $this->request->post();
|
||||||
|
$rule = new Validate([
|
||||||
|
"btj_id"=>"require",
|
||||||
|
]);
|
||||||
|
if(!$rule->check($data)){
|
||||||
|
return jsonError($rule->getError());
|
||||||
|
}
|
||||||
|
//查询数据
|
||||||
|
$aWhere = ['btj_id' => $data['btj_id'],'state' => 0];
|
||||||
|
$board_to_journal = $this->board_to_journal_obj->where($aWhere)->find();
|
||||||
|
return jsonSuccess($board_to_journal);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user