修改检测赠送的回合数和周期

This commit is contained in:
wucongxing 2024-02-19 16:49:14 +08:00
parent 9bdf66723c
commit ee557bfd7c

View File

@ -1202,7 +1202,7 @@ class InquiryService extends BaseService
}
// 检测赠送的回合数和周期
if (!in_array($duration, [3 * 60, 7 * 60, 5 * 60])) {
if (!in_array($duration, [3 * 24 * 60, 7 * 24 * 60, 5 * 24 * 60])) {
return fail(HttpEnumCode::HTTP_ERROR, "请重新选择周期");
}