| xqd
@@ -214,7 +214,7 @@ class ApiController extends Controller
|
|
|
}
|
|
|
}
|
|
|
$check_position = Setting::where('key', 'check_position')->first();
|
|
|
- if(!empty($check_position) && empty($check_position->value)) {
|
|
|
+ if(!empty($check_position) && $check_position->value == 2) {
|
|
|
$result = 'ok';
|
|
|
}
|
|
|
$now = Carbon::today()->toDateTimeString();
|