diff --git a/docs/README.md b/docs/README.md index 23100c1..c6249ce 100644 --- a/docs/README.md +++ b/docs/README.md @@ -486,7 +486,7 @@ $ sudo docker run -d -p 3000:3000 netease-music-api 因网易增加了网易云盾验证,密码登录暂时不要使用,尽量使用短信验证码登录和二维码登录,否则调用某些接口会触发需要验证的错误 -#### 1. 手机登录 +#### 1. 手机登录(现在要求验证,暂时绕不过,请使用二维码登录) **必选参数 :** `phone`: 手机号码 @@ -504,7 +504,7 @@ $ sudo docker run -d -p 3000:3000 netease-music-api **调用例子 :** `/login/cellphone?phone=xxx&password=yyy` `/login/cellphone?phone=xxx&md5_password=yyy` `/login/cellphone?phone=xxx&captcha=1234` -#### 2. 邮箱登录 +#### 2. 邮箱登录(现在要求验证,暂时绕不过,请使用二维码登录) **必选参数 :** diff --git a/public/avatar_update.html b/public/avatar_update.html index c87c901..02eed7d 100644 --- a/public/avatar_update.html +++ b/public/avatar_update.html @@ -51,7 +51,7 @@ const imgSize = await getImgSize(file) const res = await axios({ method: 'post', - url: `http://localhost:3000/avatar/upload?cookie=${cookieToken}&imgSize=${ + url: `/avatar/upload?cookie=${cookieToken}&imgSize=${ imgSize.width }&imgX=0&imgY=0×tamp=${Date.now()}`, headers: { diff --git a/public/cloud.html b/public/cloud.html index a1323f1..9459185 100644 --- a/public/cloud.html +++ b/public/cloud.html @@ -50,7 +50,7 @@ formData.append('songFile', file) axios({ method: 'post', - url: `http://localhost:3000/cloud?time=${Date.now()}&cookie=${cookieToken}`, + url: `/cloud?time=${Date.now()}&cookie=${cookieToken}`, headers: { 'Content-Type': 'multipart/form-data', }, diff --git a/public/index.html b/public/index.html index 487a99a..848e995 100644 --- a/public/index.html +++ b/public/index.html @@ -17,6 +17,7 @@