1
This commit is contained in:
@@ -54,6 +54,23 @@ class Web extends Base
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return void
|
||||
*/
|
||||
public function getBoardsByIssn(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"issn"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$journal_info = $this->journal_obj->where('issn',$data['issn'])->find();
|
||||
$boards = $this->getBoardsForJournal($journal_info['journal_id']);
|
||||
$re['boards'] = $boards;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
public function getRefers(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
|
||||
Reference in New Issue
Block a user