This commit is contained in:
mkm 2024-01-21 20:40:21 +08:00
parent c04d4d19d6
commit d004a8ad16

View File

@ -27,7 +27,7 @@ class StoreConsumptionDao extends BaseDao
{
return StoreConsumption::whereIn('type', [StoreConsumption::TYPE_OWNER_CONSUMPTION, StoreConsumption::TYPE_PULL_CONSUMPTION])->where('status', StoreConsumption::STATUS_ENABLE)
->field('coupon_id,start_time,end_time,title')->select()->each(function ($item){
if($item['title']==['无门槛实物通用红包']){
if($item['title']=='无门槛实物通用红包'){
$item['title'] = '用户推荐拉新活动';
}else{
$item['title'] = '用户消费补贴活动';