overtrue / easy-sms

📲 一款满足你的多种发送需求的短信发送组件
MIT License
3.11k stars 543 forks source link

聚合数据 JuheGateway.php 代码更新 #288

Closed lvjie1996 closed 3 years ago

lvjie1996 commented 3 years ago

@overtrue 超哥, 聚合数据中请求地址以及请求参数已修改

    const ENDPOINT_URL = 'http://v.juhe.cn/vercodesms/send.php';

    $params = [
        'mobile' => $to->getNumber(),
        'tplId' => $message->getTemplate($this),
        'tplValue' => $this->formatTemplateVars($message->getData($this)),
        'dtype' => self::ENDPOINT_FORMAT,
        'key' => $config->get('app_key'),
    ];
overtrue commented 3 years ago

其实用的是这个:https://www.juhe.cn/docs/api/id/54 , 如果要用那个验证码短信应该就发不了自定义内容了吧

lvjie1996 commented 3 years ago

其实用的是这个:https://www.juhe.cn/docs/api/id/54 , 如果要用那个验证码短信应该就发不了自定义内容了吧

好的,感谢超哥解答,之前公司买的是 验证码短信 https://www.juhe.cn/docs/api/id/486 ,我就直接看的那个,