v4.0,新增云盘上传接口以及二维码登录相关接口和相关demo,升级部分接口加密方法 #70 , #121 ,#121 , #153 ,#248 , #705 , #716 , #745 , #1055

This commit is contained in:
binaryify
2021-01-03 20:17:26 +08:00
parent 77775b25f5
commit 75cb79fc6a
22 changed files with 543 additions and 195 deletions
+7 -7
View File
@@ -23,36 +23,36 @@
$.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)
},
error: function (err) {
console.log(err)
}
},
})
},
error: function (err) {
console.log(err)
}
},
})
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)
})
@@ -60,4 +60,4 @@
</script>
</body>
</html>
</html>