纠正查询表名
This commit is contained in:
parent
5492e6e26b
commit
46c9611d48
@ -53,7 +53,7 @@ class PublicBenefitEnroll extends ArticleCommon{
|
|||||||
$this->addArticle($params, function($aid)use($params){
|
$this->addArticle($params, function($aid)use($params){
|
||||||
$params['article_id'] = $aid;
|
$params['article_id'] = $aid;
|
||||||
// 更新文章相关的报名信息
|
// 更新文章相关的报名信息
|
||||||
return Db::table(ARTICLE_EDUCATION_LIVE)->strict(false)->field(true)->insertGetId(['article_id'=>$aid,'promoter'=>$params['promoter'],'enrolled_num'=>$params['enrolled_num']]);
|
return Db::table(self::ARTICLE_PUBLIC_BENEFIT)->strict(false)->field(true)->insertGetId(['article_id'=>$aid,'promoter'=>$params['promoter'],'enrolled_num'=>$params['enrolled_num']]);
|
||||||
});
|
});
|
||||||
}else{
|
}else{
|
||||||
View::assign('editor', get_system_config('other','editor'));
|
View::assign('editor', get_system_config('other','editor'));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user