Change-Id: I59353a44dd08de691ee351d47d57aad3e1f3acb2
This commit is contained in:
vguanyiwgd 2024-05-30 11:31:32 +08:00
parent a1689a5dc8
commit b65056510c
2 changed files with 36 additions and 33 deletions

View File

@ -294,7 +294,7 @@ function send_sms($phone, $msg)
} }
send_sms_dx($phone, $msg); send_sms_dx($phone, $msg);
} }
if(!function_exists("send_sms_ek")) {
function send_sms_ek($mobile, $msg) function send_sms_ek($mobile, $msg)
{ {
$appid = 'svcXhqBFtbvNS6GUVumSM8k0WarOLiOZ'; $appid = 'svcXhqBFtbvNS6GUVumSM8k0WarOLiOZ';
@ -313,6 +313,8 @@ function send_sms_ek($mobile, $msg)
curl_exec($c); curl_exec($c);
curl_close($c); curl_close($c);
} }
}
function get_code($table, $zd, $len, $type, $pre = '') { function get_code($table, $zd, $len, $type, $pre = '') {
global $db; global $db;
while(1) { while(1) {

View File

@ -689,8 +689,8 @@ function send_yzm_atom($cellphone, $yzm) {
//echo $s; //echo $s;
} }
function send_sms_ek($mobile, $msg) if(!function_exists("send_sms_ek")) {
{ function send_sms_ek($mobile, $msg) {
$appid = 'svcXhqBFtbvNS6GUVumSM8k0WarOLiOZ'; $appid = 'svcXhqBFtbvNS6GUVumSM8k0WarOLiOZ';
$appkey = 'ex1JUa3xO3JFXB9k5OqULKYYoJz7A2nV'; $appkey = 'ex1JUa3xO3JFXB9k5OqULKYYoJz7A2nV';
$msg = '【云中美食】' . $msg; $msg = '【云中美食】' . $msg;
@ -707,3 +707,4 @@ function send_sms_ek($mobile, $msg)
curl_exec($c); curl_exec($c);
curl_close($c); curl_close($c);
} }
}