配合测试,修改错误提示
This commit is contained in:
@@ -49,7 +49,7 @@ class BlindBoxTurntableGiftDraw extends Model
|
||||
$xlhIsPiaoPing = $precomputeResult['data']['xlh_is_piao_ping'];
|
||||
if(count($precomputedResults) != count(explode(',', $gift_user_ids)) * $num){
|
||||
Log::record('抽奖结果数量与预期数量不一致,请重试! ('.count($precomputedResults).'): ' . $room_id."【数据】".var_export($precomputedResults, true),"infos-mhzp");
|
||||
return ['code' => 0, 'msg' => '抽奖结果数量与预期数量不一致,请重试!', 'data' => null];
|
||||
return ['code' => 0, 'msg' => '抽奖结果数量与预期数量不一致,请重试! ', 'data' => null];
|
||||
}
|
||||
|
||||
//兼容送礼判断,主持人比例设置为100% 送礼方法里报错,快速解决,把送礼方法前置,送完礼再处理盲盒转盘记录
|
||||
@@ -88,7 +88,7 @@ class BlindBoxTurntableGiftDraw extends Model
|
||||
return $this->buildDrawResult($boxTurntableLog, $giftCounts);
|
||||
|
||||
} catch (\Exception $e) {
|
||||
return ['code' => 0, 'msg' => "网络请求错误,请重试!", 'data' => null];
|
||||
return ['code' => 0, 'msg' => "网络加载失败,请重试!", 'data' => null];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user