Explorar o código

Merge branch 'wx-kw' into test

zqwang hai 1 ano
pai
achega
3fa4f0de2a
Modificáronse 1 ficheiros con 4 adicións e 2 borrados
  1. 4 2
      modules/WechatPlatform/Services/WechatCommonService.php

+ 4 - 2
modules/WechatPlatform/Services/WechatCommonService.php

@@ -83,8 +83,10 @@ class WechatCommonService extends BaseService
         if ($content == "pk"){
             return $msg['FromUserName'] ;
         }
-        $content =  WechatKeywordsService::getKeywordsByWords($content,$wechatAppId);
-        return $content ?: "";
+        $back  =  WechatKeywordsService::getKeywordsByWords($content,$wechatAppId);
+        $back = $back  ?: "";
+        myLog("wx-xiaoxi")->info(['title' => "拉取用户信息",'wechatAppId' => $wechatAppId,'msg' =>  $content,'back' => $back]);
+        return  $back;
     }
 
     private static function updateUserActivityTime($app, $openId)