|
@@ -28,7 +28,7 @@ class ChuanglanSmsApi {
|
|
|
'phone' => $mobile,
|
|
|
'report' => $needstatus,
|
|
|
);
|
|
|
- $deny_list = ["jjrcw.test", "jjrcw.test:8080","report.com"]; //拒绝短信名单
|
|
|
+ $deny_list = ["jjrcw.test", "jjrcw.test:8080","report.com","report.jinjianghc.com"]; //拒绝短信名单
|
|
|
if (in_array($_SERVER["HTTP_HOST"], $deny_list))
|
|
|
return false; //测试不发送信息
|
|
|
$result = $this->curlPost(self::API_SEND_URL, $postArr);
|