From 46c9611d48bd9b43ff1973c39dc9c5555a7fceae Mon Sep 17 00:00:00 2001 From: liuxiaoquan Date: Wed, 1 Mar 2023 02:58:14 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A0=E6=AD=A3=E6=9F=A5=E8=AF=A2=E8=A1=A8?= =?UTF-8?q?=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/nk/PublicBenefitEnroll.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'));