Browse Source

fix: 短信判断

master
liyang 6 days ago
parent
commit
f609232744
  1. 2
      app/utility/SendSms.php

2
app/utility/SendSms.php

@ -58,7 +58,7 @@ class SendSms
'title' => $from,
]);
trace('短信发送结果:' . json_encode([$result]), 'error');
if ($result['success'] !== 0) {
if (!$result['success']) {
trace('短信发送失败:' . json_encode($result), 'error');
return false;
}

Loading…
Cancel
Save