/** * 初始化 * @param string $appkey * @param string $appsecret */ public static function init($appkey, $appsecret) { self::$client_id = $appkey; self::$client_secret = $appsecret; }
/** * 初始化 * @param string $appid * @param string $appkey */ public static function init($appid, $appkey) { self::$client_id = $appid; self::$client_secret = $appkey; }