作者 刘锟

update

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