master
ELF 4 years ago
parent fb12b1345e
commit 9f37c6db3c

@ -175,12 +175,12 @@ class ApplyService {
'message' => '参数异常',
];
}
if ($data['type'] != $type) {
/* if ($data['type'] != $type) {
return [
'status' => false,
'message' => '参数异常',
];
}
} */
if ($data['expires_in'] > 0 && time() > (strtotime($data['created_at']) + $data['expires_in'])) {
return [
'status' => false,

Loading…
Cancel
Save