修改表名

This commit is contained in:
liuxiaoquan 2023-03-01 03:20:55 +08:00
parent 46c9611d48
commit b7b2353591

View File

@ -178,7 +178,7 @@ class PublicBenefitEnroll extends ArticleCommon{
$pid = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $id)->value('id');
if (!empty($pid)) {
$res2 = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $pid)->delete();
$pid = Db::table(self::ARTICLE_PUBLIC_BENEFIT)->where('article_id', $pid)->delete();
}else{
$pid = true;
}