diff --git a/app/admin/controller/nk/PublicBenefitEnroll.php b/app/admin/controller/nk/PublicBenefitEnroll.php index f8aef46..ca1efb8 100644 --- a/app/admin/controller/nk/PublicBenefitEnroll.php +++ b/app/admin/controller/nk/PublicBenefitEnroll.php @@ -53,7 +53,7 @@ class PublicBenefitEnroll extends ArticleCommon{ $this->addArticle($params, function($aid)use($params){ $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{ View::assign('editor', get_system_config('other','editor'));