1
This commit is contained in:
@@ -18,34 +18,16 @@ class Auto extends Base
|
||||
{
|
||||
|
||||
//put your code here
|
||||
protected $article_obj = '';
|
||||
protected $article_reviewer_obj = '';
|
||||
protected $user_obj = '';
|
||||
protected $user_reviewer_info_obj = '';
|
||||
protected $rev_to_jour_obj = '';
|
||||
protected $reviewer_obj = '';
|
||||
protected $journal_obj = '';
|
||||
protected $login_auto_obj = '';
|
||||
protected $article_msg_obj = '';
|
||||
protected $user_log_obj = '';
|
||||
protected $reviewer_info_obj = '';
|
||||
protected $user_cv_obj = '';
|
||||
|
||||
public function __construct(\think\Request $request = null)
|
||||
{
|
||||
parent::__construct($request);
|
||||
$this->article_obj = Db::name('article');
|
||||
$this->article_reviewer_obj = Db::name('article_reviewer');
|
||||
$this->user_obj = Db::name('user');
|
||||
$this->user_reviewer_info_obj = Db::name('user_reviewer_info');
|
||||
$this->login_auto_obj = Db::name('login_auto');
|
||||
$this->rev_to_jour_obj = Db::name('reviewer_to_journal');
|
||||
$this->journal_obj = Db::name('journal');
|
||||
$this->reviewer_obj = Db::name('article_reviewer');
|
||||
$this->article_msg_obj = Db::name('article_msg');
|
||||
$this->user_log_obj = Db::name('user_log');
|
||||
$this->reviewer_info_obj = Db::name('user_reviewer_info');
|
||||
$this->user_cv_obj = Db::name('user_cv');
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -179,14 +179,6 @@ class Production extends Base
|
||||
return jsonSuccess([]);
|
||||
}
|
||||
|
||||
|
||||
public function mytest()
|
||||
{
|
||||
$p_info = $this->production_article_obj->where('p_article_id', 10)->find();
|
||||
dump(json_decode($p_info['main']));
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 编辑生产实例
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user