diff --git a/FlyCube/Api/Controller/PublicController.class.php b/FlyCube/Api/Controller/PublicController.class.php index c6c73ef..8a45133 100644 --- a/FlyCube/Api/Controller/PublicController.class.php +++ b/FlyCube/Api/Controller/PublicController.class.php @@ -55,15 +55,6 @@ class PublicController extends Controller $jsoninfo = json_decode($output, true); return $jsoninfo; } - /** - * @description: 构建 用户订阅对应主题的前缀 - * @param {*} openid 微信用户唯一凭证 - * @return {*} topicPrefix 主题前缀 - */ - protected function makeTopicPrefix($openid) - { - return substr(md5($openid . date("j")), 0, 8); //用户id+当天日 加密 截取前8位 - } /** * @description: 构建token * @param {*} openid 微信用户唯一凭证 diff --git a/FlyCube/Common/Common/functions.php b/FlyCube/Common/Common/functions.php index 8dcf2c0..cf28b82 100644 --- a/FlyCube/Common/Common/functions.php +++ b/FlyCube/Common/Common/functions.php @@ -1,8 +1,5 @@ display(); } }