20201112
This commit is contained in:
@@ -20,6 +20,7 @@ class Journal extends Controller {
|
||||
protected $journal_stage_obj = '';
|
||||
protected $journal_notices_obj = '';
|
||||
protected $journal_abs_obj = '';
|
||||
protected $journal_cfp_obj = '';
|
||||
protected $article_to_topic_obj = '';
|
||||
|
||||
public function __construct(\think\Request $request = null) {
|
||||
@@ -32,6 +33,7 @@ class Journal extends Controller {
|
||||
$this->journal_stage_obj = Db::name('journal_stage');
|
||||
$this->journal_notices_obj = Db::name('journal_notices');
|
||||
$this->journal_abs_obj = Db::name('journal_abstracting');
|
||||
$this->journal_cfp_obj = Db::name('journal_cfp');
|
||||
$this->article_to_topic_obj = Db::name('article_to_topic');
|
||||
}
|
||||
|
||||
@@ -290,4 +292,23 @@ class Journal extends Controller {
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 获取期刊cfp
|
||||
* @description 获取期刊cfp
|
||||
* @author wangjinlei
|
||||
* @url /api/Journal/getJournalCfp
|
||||
* @method POST
|
||||
*
|
||||
* @param name:journal_id type:int require:1 desc:期刊id
|
||||
*
|
||||
* @return cfps:期刊cfps#
|
||||
*/
|
||||
public function getJournalCfp(){
|
||||
$data = $this->request->post();
|
||||
$list = $this->journal_cfp_obj->where('journal_id',$data['journal_id'])->where('state',0)->select();
|
||||
|
||||
$re['cfps'] = $list;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user