更新
This commit is contained in:
parent
c04d4d19d6
commit
d004a8ad16
@ -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)
|
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){
|
->field('coupon_id,start_time,end_time,title')->select()->each(function ($item){
|
||||||
if($item['title']==['无门槛实物通用红包']){
|
if($item['title']=='无门槛实物通用红包'){
|
||||||
$item['title'] = '用户推荐拉新活动';
|
$item['title'] = '用户推荐拉新活动';
|
||||||
}else{
|
}else{
|
||||||
$item['title'] = '用户消费补贴活动';
|
$item['title'] = '用户消费补贴活动';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user