소스 검색

去除回车

zqwang 1 년 전
부모
커밋
69c730a826
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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();