|
@@ -213,7 +213,10 @@ class ApiController extends Controller
|
|
$result = 'ok';
|
|
$result = 'ok';
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-// $result = 'ok';
|
|
|
|
|
|
+ $check_position = Setting::where('key', 'check_position')->first();
|
|
|
|
+ if(!empty($check_position) && empty($check_position->value)) {
|
|
|
|
+ $result = 'ok';
|
|
|
|
+ }
|
|
$now = Carbon::today()->toDateTimeString();
|
|
$now = Carbon::today()->toDateTimeString();
|
|
$checkCard = CheckCard::where([
|
|
$checkCard = CheckCard::where([
|
|
['begin_date_time', '>', $now]
|
|
['begin_date_time', '>', $now]
|