Commit bfa5dc10 authored by liuyuzhen's avatar liuyuzhen

测试短信

parent 03fffacc
......@@ -99,9 +99,11 @@ class ShortMessageModel {
$templateId = $template['templateId'];
// $param = $template['parameters'];
$result = \AliyunSms\Sms::sendSms($mobile, $templateId, $params);
if($result['status']){
return true;
}
\Our\Log::getInstance()->write($result['msg'],'/data/log/apptest');
}
return false;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment