1
This commit is contained in:
@@ -225,6 +225,19 @@ class Journal extends Controller
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
|
||||
public function publishArticleForSubmission(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
"article_id"=>"require"
|
||||
]);
|
||||
if(!$rule->check($data)){
|
||||
return jsonError($rule->getError());
|
||||
}
|
||||
$this->article_obj->where("article_id",$data['article_id'])->update(['lx_online'=>1]);
|
||||
return jsonSuccess([]);
|
||||
}
|
||||
|
||||
public function getCiteListForSubmission(){
|
||||
$data = $this->request->post();
|
||||
$rule = new Validate([
|
||||
|
||||
Reference in New Issue
Block a user