This commit is contained in:
zhouyangyang 2022-04-20 11:23:33 +08:00
parent 54f571028a
commit 94347446b6

View File

@ -10,7 +10,7 @@ class HogeDriver extends AbstractDriver
{
const SEND_URL = '/api/sms/send';
const USECASE_URL = '/api/sms/usecase';
const USE_CASE_URL = '/api/sms/usecase';
public function send(SmsableInterface $smsable): array
{
@ -65,7 +65,7 @@ class HogeDriver extends AbstractDriver
public function serivce()
{
$url = $this->config->get('sms_api_url').self::USECASE_URL;
$url = $this->config->get('sms_api_url').self::USE_CASE_URL;
$response = $this->client->get($url, [
'custom_appid' => $this->config->get('sms_appid'),