mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 08:01:23 +08:00
feat: 补充播客上传声音接口 #1789
This commit is contained in:
+4
-4
@@ -23,14 +23,14 @@
|
||||
$.ajax({
|
||||
url: `/login/cellphone?phone=${phone}&password=${password}`,
|
||||
xhrFields: {
|
||||
withCredentials: true, //关键
|
||||
withCredentials: true, //跨域的话必须设置
|
||||
},
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
$.ajax({
|
||||
url: `/recommend/resource `,
|
||||
xhrFields: {
|
||||
withCredentials: true, //关键
|
||||
withCredentials: true, //跨域的话必须设置
|
||||
},
|
||||
success: function (data) {
|
||||
console.log(data)
|
||||
@@ -47,12 +47,12 @@
|
||||
|
||||
axios({
|
||||
url: `/login/cellphone?phone=${phone}&password=${password}`,
|
||||
withCredentials: true, //关键
|
||||
withCredentials: true, //跨域的话必须设置
|
||||
}).then(function (res) {
|
||||
console.log(res.data)
|
||||
axios({
|
||||
url: `/recommend/resource`,
|
||||
withCredentials: true, //关键
|
||||
withCredentials: true, //跨域的话必须设置
|
||||
}).then(function (res) {
|
||||
console.log(res.data)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user