示例#1
0
文件: wechat.php 项目: ptphp/ptphp
 static function media_get($media_id)
 {
     require_once PATH_LIBS . "/wechat/jssdk.php";
     $jssdk = new JSSDK(Model_Setting::get("WX_APPID"), Model_Setting::get("WX_APPSECRET"));
     $url = $jssdk->media_get($media_id);
     return $url;
 }