Update ExtendService.php

This commit is contained in:
Anyon 2019-09-23 14:44:05 +08:00
parent ad50d6469f
commit 31b9d90441

View File

@ -59,7 +59,9 @@ class ExtendService
'password' => md5(md5(sysconf('sms_zt_password')) . $tkey),
]);
list($code, $msg) = explode(',', $result . ',');
Db::name('StoreMemberSmsHistory')->insert(['mid' => $mid, 'phone' => $phone, 'content' => $content, 'result' => $result]);
Db::name('StoreMemberSmsHistory')->insert([
'mid' => $mid, 'phone' => $phone, 'content' => $content, 'result' => $result
]);
return intval($code) === 1;
}