Browse Source

Merge branch 'wx-kw' into test

zqwang 1 năm trước cách đây
mục cha
commit
e7b7bab8c5

+ 2 - 2
modules/WechatPlatform/Services/WechatKeywordsService.php

@@ -276,8 +276,8 @@ class WechatKeywordsService extends BaseService
     public static function getKeywordsByWords($keyword, $wechatAppId)
     public static function getKeywordsByWords($keyword, $wechatAppId)
     {
     {
         // 匹配关键词
         // 匹配关键词
-        $info = WechatAccountKeywordLog::where(["
-            keyword" => $keyword,
+        $info = WechatAccountKeywordLog::where([
+            "keyword" => $keyword,
             'status' => 1,
             'status' => 1,
             'wechat_authorization_info_id' => $wechatAppId,
             'wechat_authorization_info_id' => $wechatAppId,
         ])->first();
         ])->first();