|
@@ -360,13 +360,6 @@ class PayorderBusiness
|
|
|
if ($goodsData->type == 1) {
|
|
if ($goodsData->type == 1) {
|
|
|
if (!empty($goodsData->bonus)) {
|
|
if (!empty($goodsData->bonus)) {
|
|
|
|
|
|
|
|
- $event_time = '1764518340';
|
|
|
|
|
- if (time() <= $event_time) {
|
|
|
|
|
- $is_activity = 2;
|
|
|
|
|
- } else {
|
|
|
|
|
- $event_time = 0;
|
|
|
|
|
- $is_activity = 0;
|
|
|
|
|
- }
|
|
|
|
|
Db::table('wa_cron_task')->insert([
|
|
Db::table('wa_cron_task')->insert([
|
|
|
'user_id' => $data['user_id'],
|
|
'user_id' => $data['user_id'],
|
|
|
'goods_id' => $goodsData->id,
|
|
'goods_id' => $goodsData->id,
|
|
@@ -382,8 +375,6 @@ class PayorderBusiness
|
|
|
'created_at' => $thisDay,
|
|
'created_at' => $thisDay,
|
|
|
'updated_at' => $thisDay,
|
|
'updated_at' => $thisDay,
|
|
|
'my_good_id' => $myGoodsId,
|
|
'my_good_id' => $myGoodsId,
|
|
|
- 'event_time' => $event_time,
|
|
|
|
|
- 'is_activity' => $is_activity,
|
|
|
|
|
]);
|
|
]);
|
|
|
StreamBusiness::addStream($data['user_id'], $goodsData->bonus, streamType9, moldType7, moldTypefild7, $data['id']);
|
|
StreamBusiness::addStream($data['user_id'], $goodsData->bonus, streamType9, moldType7, moldTypefild7, $data['id']);
|
|
|
|
|
|