Esempio n. 1
0
 public static function generateEntryUrl($text = '个人中心')
 {
     $openid = ImWx::getRequestUserId();
     return '<a href="' . SITE_URL . 'index/wechat_entrance/wechat_id/' . $openid . '">' . $text . '</a>(链接包含您的登录信息,请不要分享)';
 }
 public function get_sign_package()
 {
     $this->responseSuccess(ImWx::getSignPackage($_REQUEST['url']));
 }