作者 刘锟

update

@@ -199,8 +199,9 @@ public function uploadAmpVerifyFile(Request $request) @@ -199,8 +199,9 @@ public function uploadAmpVerifyFile(Request $request)
199 public function websiteHtml(Request $request){ 199 public function websiteHtml(Request $request){
200 $domain = $request->getHost(); 200 $domain = $request->getHost();
201 $token = env("SECRET_TOKEN"); 201 $token = env("SECRET_TOKEN");
  202 + $pid = env("MERCHANT_NUMBER");
202 $apiUrl = env("API_URL"); 203 $apiUrl = env("API_URL");
203 - $requestUrl = $apiUrl."api/get_url_verify_token/?domain=".$domain."&token=".$token; 204 + $requestUrl = $apiUrl."api/get_url_verify_token/?pid=".$pid."&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); 205 @file_put_contents(storage_path('logs/notify_get_url.log'), date('Y-m-d H:i:s') . "接收到通知:". $requestUrl . PHP_EOL, FILE_APPEND);
205 206
206 try { 207 try {