Browse Source

测试

develop
lemon 4 years ago
parent
commit
ebc9d3282b
  1. 2
      app/Service/SmsService.php
  2. 2
      config/sms.php

2
app/Service/SmsService.php

@ -44,7 +44,7 @@ class SmsService
$this->client = new SmsClient($cred, 'ap-guangzhou', $clientProfile);
}
public function send($templateId, $templateParamSet, $phoneNumberSet, $signName = '易游天下')
public function send($templateId, $templateParamSet, $phoneNumberSet, $signName = '')
{
//if (!config('sms.debug') || config('sms.debug') == 'yes') {
// Log::debug([$templateId, $templateParamSet, $phoneNumberSet, $signName]);

2
config/sms.php

@ -8,7 +8,7 @@ return [
'sms_sdk_app_id'=> env('SMS_SDK_APP_ID'),
'secret_id' => env('SECRET_ID'),
'secret_key' => env('SECRET_KEY'),
'sign_name' => '易游天下',
'sign_name' => env('SIGN_NAME','易游天下'),
'templates' => [
'bidding' => '1120251', //{竞标人的公司名称}]参与了您发起的竞标{编号},详情请登录{系统名称}查看。
'demand' => '1120254', //恭喜您中标啦!竞标[{编号}]已成功中标!详情请登录{系统名称}查看。

Loading…
Cancel
Save