Преглед изворни кода

修复点击关键词回复

zqwang пре 1 година
родитељ
комит
a3fa8d9837
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      modules/WechatPlatform/Services/WechatMenuService.php

+ 1 - 1
modules/WechatPlatform/Services/WechatMenuService.php

@@ -359,7 +359,7 @@ class WechatMenuService extends BaseService
      */
      */
     public static function getClickInfoContent($wechatAppId,$key)
     public static function getClickInfoContent($wechatAppId,$key)
     {
     {
-        $info = WechatAccountMenuDetail::query()::where([
+        $info = WechatAccountMenuDetail::query()->where([
             'status' => 1,
             'status' => 1,
             'wechat_authorization_info_id' => $wechatAppId,
             'wechat_authorization_info_id' => $wechatAppId,
         ])->first();
         ])->first();