1
This commit is contained in:
@@ -121,6 +121,20 @@ class Web extends Base
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
|
||||
public function getJournalEthics(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"issn"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$info = $this->journal_obj->where("issn",$data['issn'])->find();
|
||||
$re['ethics'] = $info['ethics'];
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
public function getRefers(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
|
||||
Reference in New Issue
Block a user