1
This commit is contained in:
@@ -69,6 +69,20 @@ class Journal extends Base {
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
|
||||
public function editJournalLeftZc(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"journal_id"=>"require",
|
||||
"ethics"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$this->journal_obj->where("journal_id",$data['journal_id'])->update(["ethics"=>$data['ethics']]);
|
||||
return jsonSuccess([]);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取期刊列表
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user