bug修改
This commit is contained in:
@@ -69,7 +69,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
'precomputedResults' => $precomputedResults,
|
||||
];
|
||||
$this->redis->setex($key, 86400 * 7, "超出数量".json_encode($errorData));
|
||||
return ['code' => 0, 'msg' => '网络加载失败,请重试!', 'data' => null];
|
||||
return ['code' => 0, 'msg' => '活动火爆,请稍后重试!', 'data' => null];
|
||||
}
|
||||
$giftCounts = $this->countGifts($precomputedResults);
|
||||
foreach ($giftCounts as $giftId => $count) {
|
||||
@@ -85,7 +85,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
'giftUserCountsJianCha' => $count,
|
||||
];
|
||||
$this->redis->setex($key, 86400 * 7, "礼物数量超出限制 ".json_encode($errorData));
|
||||
return ['code' => 0, 'msg' => '网络加载失败,请重试!', 'data' => null];
|
||||
return ['code' => 0, 'msg' => '活动火爆,请稍后重试!', 'data' => null];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
if ($this->redis) {
|
||||
$this->redis->setex($key, 86400 * 7, $e->getMessage() . ' ' . json_encode($errorData));
|
||||
}
|
||||
return ['code' => 0, 'msg' => "网络加载失败,请重试!", 'data' => null];
|
||||
return ['code' => 0, 'msg' => "活动火爆,请稍后重试!", 'data' => null];
|
||||
}
|
||||
}
|
||||
/**
|
||||
@@ -1600,7 +1600,7 @@ class BlindBoxTurntableGiftDrawWorldNew extends Model
|
||||
$this->redis->setex($key, 86400 * 7, $e->getMessage() . ' ' . json_encode($error_data));
|
||||
}
|
||||
|
||||
return ['code' => 0, 'msg' => "网络加载失败,请重试!", 'data' => null];
|
||||
return ['code' => 0, 'msg' => "活动火爆,请稍后重试!", 'data' => null];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user