升级
This commit is contained in:
13
application/common/ReviewerToJournal.php
Normal file
13
application/common/ReviewerToJournal.php
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
namespace app\common;
|
||||||
|
|
||||||
|
use think\Model;
|
||||||
|
|
||||||
|
class ReviewerToJournal extends Model
|
||||||
|
{
|
||||||
|
// 绑定数据表(如果表名与模型名不一致需要指定)
|
||||||
|
protected $table = 't_reviewer_to_journal';
|
||||||
|
|
||||||
|
// 允许批量赋值的字段(必须设置,否则批量更新会失败)
|
||||||
|
protected $fillable = ['reviewer_id','journal_id','account','grade','is_yboard','ctime','state'];
|
||||||
|
}
|
||||||
13
application/common/UserReviewerInfo.php
Normal file
13
application/common/UserReviewerInfo.php
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<?php
|
||||||
|
namespace app\common;
|
||||||
|
|
||||||
|
use think\Model;
|
||||||
|
|
||||||
|
class UserReviewerInfo extends Model
|
||||||
|
{
|
||||||
|
// 绑定数据表(如果表名与模型名不一致需要指定)
|
||||||
|
protected $table = 't_user_reviewer_info';
|
||||||
|
|
||||||
|
// 允许批量赋值的字段(必须设置,否则批量更新会失败)
|
||||||
|
protected $fillable = ['reviewer_info_id','reviewer_id','major','country','test_from'];
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user