作者 赵彬吉

update

@@ -106,7 +106,7 @@ class postInquiry extends Command @@ -106,7 +106,7 @@ class postInquiry extends Command
106 ])->getBody()->getContents(); 106 ])->getBody()->getContents();
107 $site_array = json_decode($site_array, true); 107 $site_array = json_decode($site_array, true);
108 $mail_urls = array_column($site_array, 'main_url'); 108 $mail_urls = array_column($site_array, 'main_url');
109 - $key = array_search($detail['re_website'], $mail_urls); 109 + $key = array_search('https://' . $detail['re_website'] . '/', $mail_urls);
110 if ($key !== false) { 110 if ($key !== false) {
111 // 分离项目 推送到测试链接 111 // 分离项目 推送到测试链接
112 $website = $site_array[$key]['test_url']; 112 $website = $site_array[$key]['test_url'];