shish 4 anni fa
parent
commit
a847dd8687
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      app-pt/controllers/WxController.php

+ 2 - 1
app-pt/controllers/WxController.php

@@ -12,6 +12,7 @@ use bizHd\wx\services\WxOpenService;
 use bizHd\wx\services\WxSceneService;
 use common\components\dirUtil;
 use common\components\miniUtil;
+use common\components\noticeUtil;
 use Yii;
 use common\services\xhMerchantExtendService;
 use common\services\xhShopService;
@@ -112,7 +113,7 @@ class WxController extends PublicController
         $MediaId = $postObj->MediaId;//图片媒体id
         $Content = trim($postObj->Content); // 消息内容
 
-        Yii::info('openId:' . $this->fromUsername);
+        noticeUtil::push('关注者openId ' . $this->fromUsername, '15280215347');
 
         if ($style == dict::getDict('ptStyle', 'hd')) {
             //零售