|
|
@ -32,9 +32,9 @@ class GameApiController extends Think {
|
|
|
|
foreach ($batches as $batch) {
|
|
|
|
foreach ($batches as $batch) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
$service->verify($batch);
|
|
|
|
$service->verify($batch);
|
|
|
|
echo 'SUCCESS [' . $batch->id . ']审核成功' . PHP_EOL;
|
|
|
|
echo 'SUCCESS [' . $batch['id'] . ']审核成功' . PHP_EOL;
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
echo 'ERROR [' . $batch->id . ']审核异常' . PHP_EOL;
|
|
|
|
echo 'ERROR [' . $batch['id'] . ']审核异常' . PHP_EOL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -53,9 +53,9 @@ class GameApiController extends Think {
|
|
|
|
foreach ($batches as $batch) {
|
|
|
|
foreach ($batches as $batch) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
$service->provide($batch);
|
|
|
|
$service->provide($batch);
|
|
|
|
echo 'SUCCESS [' . $batch->id . ']发放成功' . PHP_EOL;
|
|
|
|
echo 'SUCCESS [' . $batch['id'] . ']发放成功' . PHP_EOL;
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
} catch (\Exception $e) {
|
|
|
|
echo 'ERROR [' . $batch->id . ']发放异常' . PHP_EOL;
|
|
|
|
echo 'ERROR [' . $batch['id'] . ']发放异常' . PHP_EOL;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|