소스 검색

Merge branch 'wx-kw' into test

zqwang 1 년 전
부모
커밋
b4758faa2a
2개의 변경된 파일1개의 추가작업 그리고 8개의 파일을 삭제
  1. 1 1
      modules/WechatPlatform/Models/WechatOfficialUserInfo.php
  2. 0 7
      modules/WechatPlatform/Services/WechatCommonService.php

+ 1 - 1
modules/WechatPlatform/Models/WechatOfficialUserInfo.php

@@ -10,7 +10,7 @@ class WechatOfficialUserInfo extends BaseModel
     protected $table = 'wechat_official_user_info';
 
     protected $fillable = [
-        'id', 'uid', 'gzh_appid', "unsubscribe_at", 'user_id', 'puser_id', 'mp_openid', 'unionid', 'is_subscribe', 'subscribe_time', 'subscribe_time_str', 'active_end', 'updated_at', 'created_at',
+        'id', 'uid', 'gzh_appid', "active_at", "unsubscribe_at", 'user_id', 'puser_id', 'mp_openid', 'unionid', 'is_subscribe', 'subscribe_time', 'subscribe_time_str', 'active_end', 'updated_at', 'created_at',
     ];
 
 }

+ 0 - 7
modules/WechatPlatform/Services/WechatCommonService.php

@@ -177,13 +177,6 @@ class WechatCommonService extends BaseService
         ];
     }
 
-    //
-    private static function handleSubscribeMessage($wechatAppId)
-    {
-        $back = WechatSubscribeService::getContent($wechatAppId);
-        return $back ?: "";
-    }
-
     /**
      *  处理事件消息
      * name: handleEvent