/**
  * 初始化
  * @param string $appkey
  * @param string $appsecret
  */
 public static function init($appkey, $appsecret)
 {
     self::$_appkey = $appkey;
     self::$_appsecret = $appsecret;
 }
示例#2
0
 /**
  * 初始化
  * @param string $appid
  * @param string $appkey
  */
 public static function init($appid, $appkey)
 {
     self::$_appkey = $appid;
     self::$_appsecret = $appkey;
 }