From 31b9d904416bd7cd2f954bbb76f8118a5dd42398 Mon Sep 17 00:00:00 2001 From: Anyon Date: Mon, 23 Sep 2019 14:44:05 +0800 Subject: [PATCH] Update ExtendService.php --- application/store/service/ExtendService.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/store/service/ExtendService.php b/application/store/service/ExtendService.php index cbf87740c..eea3799bd 100644 --- a/application/store/service/ExtendService.php +++ b/application/store/service/ExtendService.php @@ -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; }