Browse Source

去除回车

zqwang 1 năm trước cách đây
mục cha
commit
69c730a826
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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)
     {
         // 匹配关键词
-        $info = WechatAccountKeywordLog::where(["
-            keyword" => $keyword,
+        $info = WechatAccountKeywordLog::where([
+            "keyword" => $keyword,
             'status' => 1,
             'wechat_authorization_info_id' => $wechatAppId,
         ])->first();