|
@@ -21,7 +21,9 @@ class CompanyAuth
|
|
|
$validate = new CompanyAuthRequest($request);
|
|
|
$validate->validate();
|
|
|
$client_ip = CommonHelper::GetClientIp();
|
|
|
- if (in_array($client_ip, $service->CompanyAuthIps($app_id))) {
|
|
|
+ \Log::info('appid:'.$app_id.' ip:'.$client_ip);
|
|
|
+ if(true){
|
|
|
+// if (in_array($client_ip, $service->CompanyAuthIps($app_id))) {
|
|
|
$params = $request->except('_url');
|
|
|
$timestamp = (int) $params['timestamp'];
|
|
|
$diff = time() - $timestamp;
|