Browse Source

去除回车

zqwang 1 year ago
parent
commit
69c730a826
1 changed files with 2 additions and 2 deletions
  1. 2 2
      modules/WechatPlatform/Services/WechatKeywordsService.php

+ 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();