Skip to content

Commit

Permalink
fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sunmking committed Oct 26, 2017
1 parent b2b525d commit 5e68432
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sms.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function sendSms($signName, $templateCode, $phoneNumbers, $templateParam

// 打印请求结果
$acsResponse = self::object_array($acsResponse);
if(array_key_exists('Message', $acsResponse) && $acsResponse['Code']=='Ok'){
if(array_key_exists('Message', $acsResponse) && $acsResponse['Code']=='OK'){
return json_encode([
'code' => 200,
'message' => '验证码发送成功'
Expand Down

0 comments on commit 5e68432

Please sign in to comment.