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