sms sign
This commit is contained in:
parent
54f571028a
commit
94347446b6
|
@ -10,7 +10,7 @@ class HogeDriver extends AbstractDriver
|
||||||
{
|
{
|
||||||
const SEND_URL = '/api/sms/send';
|
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
|
public function send(SmsableInterface $smsable): array
|
||||||
{
|
{
|
||||||
|
@ -65,7 +65,7 @@ class HogeDriver extends AbstractDriver
|
||||||
|
|
||||||
public function serivce()
|
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, [
|
$response = $this->client->get($url, [
|
||||||
'custom_appid' => $this->config->get('sms_appid'),
|
'custom_appid' => $this->config->get('sms_appid'),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user