修改检测赠送的回合数和周期1
This commit is contained in:
parent
ee557bfd7c
commit
484f60b761
@ -1202,7 +1202,7 @@ class InquiryService extends BaseService
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 检测赠送的回合数和周期
|
// 检测赠送的回合数和周期
|
||||||
if (!in_array($duration, [3 * 24 * 60, 7 * 24 * 60, 5 * 24 * 60])) {
|
if (!in_array($duration, [3 * 24 * 60, 7 * 24 * 60, 15 * 24 * 60])) {
|
||||||
return fail(HttpEnumCode::HTTP_ERROR, "请重新选择周期");
|
return fail(HttpEnumCode::HTTP_ERROR, "请重新选择周期");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user