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