作者 刘锟

update

@@ -198,7 +198,7 @@ public function uploadAmpVerifyFile(Request $request) @@ -198,7 +198,7 @@ public function uploadAmpVerifyFile(Request $request)
198 */ 198 */
199 public function websiteHtml(Request $request){ 199 public function websiteHtml(Request $request){
200 $domain = $request->getHost(); 200 $domain = $request->getHost();
201 - $token = env("WEB_SITE_TOKEN"); 201 + $token = env("SECRET_TOKEN");
202 $apiUrl = env("API_URL"); 202 $apiUrl = env("API_URL");
203 $requestUrl = $apiUrl."api/get_url_verify_token/?domain=".$domain."&token=".$token; 203 $requestUrl = $apiUrl."api/get_url_verify_token/?domain=".$domain."&token=".$token;
204 @file_put_contents(storage_path('logs/notify_get_url.log'), date('Y-m-d H:i:s') . "接收到通知:". $requestUrl . PHP_EOL, FILE_APPEND); 204 @file_put_contents(storage_path('logs/notify_get_url.log'), date('Y-m-d H:i:s') . "接收到通知:". $requestUrl . PHP_EOL, FILE_APPEND);