mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix broken iwinv SMS driver due to incompatible API URL
iwinv 문자 API가 업데이트되면서 URL이 쥐도새도 모르게 변경되어 기존 사용자는 현행 매뉴얼의 API URL을 사용할 수 없고 (에러 코드 14) 신규 사용자는 기존 라이믹스 드라이버를 사용할 수 없는 현상이 발생하여 어느 쪽 사용자인지 수동으로 선택하도록 변경함. 기존에 API key를 입력해 둔 사용자는 설정 화면 접근시 자동으로 기존 URL이 선택되고, 그렇지 않으면 신규 URL이 선택되도록 함. 카페24에 이어 iwinv까지;;; 국내 업체들은 도대체 REST API 운영에 대한 개념이 있는 건가요?
This commit is contained in:
parent
81882e8420
commit
4196d42b06
5 changed files with 44 additions and 4 deletions
|
|
@ -245,6 +245,20 @@
|
|||
|
||||
{@ $conf_value = escape(config("sms.$driver_name.$conf_name"))}
|
||||
|
||||
<!--@if($conf_name === 'api_url')-->
|
||||
<div class="x_control-group hidden-by-default show-for-{$driver_name}">
|
||||
<label class="x_control-label" for="sms_{$driver_name}_api_key">{$lang->cmd_advanced_mailer_api_url}</label>
|
||||
<div class="x_controls">
|
||||
{@ $conf_exists = config("sms.$driver_name.api_key")}
|
||||
<select type="select" name="sms_{$driver_name}_api_url" id="sms_{$driver_name}_api_url">
|
||||
<!--@foreach($driver_definition['api_urls'] as $api_url => $api_url_name)-->
|
||||
<option value="{$api_url}" selected="selected"|cond="$conf_value === $api_url || (!$conf_value && $conf_exists && $api_url === array_last_key($driver_definition['api_urls']))">{$api_url_name}</option>
|
||||
<!--@endforeach-->
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($conf_name === 'api_user')-->
|
||||
<div class="x_control-group hidden-by-default show-for-{$driver_name}">
|
||||
<label class="x_control-label" for="sms_{$driver_name}_api_user">{$lang->cmd_advanced_mailer_api_user}</label>
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ $lang->cmd_advanced_mailer_smtp_security_tls = 'TLS (STARTTLS)';
|
|||
$lang->cmd_advanced_mailer_smtp_security_none = 'None';
|
||||
$lang->cmd_advanced_mailer_smtp_user = 'Username';
|
||||
$lang->cmd_advanced_mailer_smtp_pass = 'Password';
|
||||
$lang->cmd_advanced_mailer_api_url = 'API URL';
|
||||
$lang->cmd_advanced_mailer_api_key = 'API key';
|
||||
$lang->cmd_advanced_mailer_api_secret = 'API secret';
|
||||
$lang->cmd_advanced_mailer_api_domain = 'Domain';
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ $lang->cmd_advanced_mailer_smtp_security_tls = 'TLS (STARTTLS)';
|
|||
$lang->cmd_advanced_mailer_smtp_security_none = '사용하지 않음';
|
||||
$lang->cmd_advanced_mailer_smtp_user = '아이디';
|
||||
$lang->cmd_advanced_mailer_smtp_pass = '비밀번호';
|
||||
$lang->cmd_advanced_mailer_api_url = 'API URL';
|
||||
$lang->cmd_advanced_mailer_api_key = 'API 키';
|
||||
$lang->cmd_advanced_mailer_api_secret = 'API 비밀';
|
||||
$lang->cmd_advanced_mailer_api_domain = '도메인';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue