【B站登录】

获取B站的client_id,和B站申请的。
redirect_uri:跳回的链接地址

点击登录按钮调用以下方法:

biliSub() {
	let url = "https://passport.bilibili.com/register/oauth.html?client_id=xxxxxxx&redirect_uri=xxxxxxxx?channel=bili&response_type=code&state=xyz";
	window.location.href = url;
}

你可能感兴趣的:(java,服务器,前端)