소스 검색

搜索条件更新

zqwang 1 년 전
부모
커밋
1ebaf8c382
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      modules/WechatPlatform/Services/WechatKeywordsService.php

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

@@ -65,8 +65,8 @@ class WechatKeywordsService extends BaseService
         if (getProp($param, 'keyword')) {
             $sql->where('keyword', "like", "%" . $param['keyword'] . "%");
         }
-        if(getProp($param,'account_appid')){
-            $sql->whereJsonContains('wechat_accounts->appid',$param['account_appid']);
+        if(getProp($param,'wechat_authorization_info_id')){
+            $sql->whereJsonContains('wechat_accounts->id',$param['wechat_authorization_info_id']);
         }
         return $sql;
     }