This commit is contained in:
wangjinlei
2023-05-06 14:04:32 +08:00
parent abc75d4520
commit f36ecc804a
2 changed files with 0 additions and 26 deletions

View File

@@ -18,34 +18,16 @@ class Auto extends Base
{ {
//put your code here //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 $rev_to_jour_obj = '';
protected $reviewer_obj = ''; protected $reviewer_obj = '';
protected $journal_obj = '';
protected $login_auto_obj = '';
protected $article_msg_obj = '';
protected $user_log_obj = '';
protected $reviewer_info_obj = ''; protected $reviewer_info_obj = '';
protected $user_cv_obj = '';
public function __construct(\think\Request $request = null) public function __construct(\think\Request $request = null)
{ {
parent::__construct($request); 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->rev_to_jour_obj = Db::name('reviewer_to_journal');
$this->journal_obj = Db::name('journal');
$this->reviewer_obj = Db::name('article_reviewer'); $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->reviewer_info_obj = Db::name('user_reviewer_info');
$this->user_cv_obj = Db::name('user_cv');
} }

View File

@@ -179,14 +179,6 @@ class Production extends Base
return jsonSuccess([]); return jsonSuccess([]);
} }
public function mytest()
{
$p_info = $this->production_article_obj->where('p_article_id', 10)->find();
dump(json_decode($p_info['main']));
}
/** /**
* 编辑生产实例 * 编辑生产实例
*/ */