first commit
This commit is contained in:
52
王凯私活/TsxVueClassApi/index.html
Normal file
52
王凯私活/TsxVueClassApi/index.html
Normal file
@@ -0,0 +1,52 @@
|
||||
<!--
|
||||
~ Copyright (c) 2024. bmy
|
||||
~ Email:2271608011@qq.com
|
||||
~ Github:https://github.com/helpcode
|
||||
-->
|
||||
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
|
||||
name="viewport">
|
||||
<meta content="ie=edge" http-equiv="X-UA-Compatible">
|
||||
<title>Document</title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
||||
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
|
||||
<script>
|
||||
$.ajax({
|
||||
url: "http://8.140.20.241:8080/menu/getMenus",
|
||||
type: "POST",
|
||||
contentType: 'application/json; charset=utf-8',
|
||||
headers: {
|
||||
adminId: 7,
|
||||
token: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6IjE5YmY4OWNjOTU1ZTc1NjE2MjQ0ZTE5OTVlNjQ5OTgyIiwiZXhwIjoxNzA1MDQ0OTExLCJ1c2VybmFtZSI6ImFkbWluIn0.7Mhqx8dkgYOqCQEPJZVoUBeg9nuXo_7qyn4qxraUiKQ"
|
||||
},
|
||||
data: JSON.stringify({}),
|
||||
success: function (res) {
|
||||
console.log(res)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<!--<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>-->
|
||||
<!--<script>-->
|
||||
<!-- axios.post('http://8.140.20.241:8080/menu/getMenus',-->
|
||||
<!-- {},-->
|
||||
<!-- {-->
|
||||
<!-- headers: {-->
|
||||
<!-- adminId: 7,-->
|
||||
<!-- token:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXNzd29yZCI6IjE5YmY4OWNjOTU1ZTc1NjE2MjQ0ZTE5OTVlNjQ5OTgyIiwiZXhwIjoxNzA1MDQ0OTExLCJ1c2VybmFtZSI6ImFkbWluIn0.7Mhqx8dkgYOqCQEPJZVoUBeg9nuXo_7qyn4qxraUiKQ"-->
|
||||
<!-- }-->
|
||||
<!-- })-->
|
||||
<!-- .then(function (response) {-->
|
||||
<!-- console.log(response);-->
|
||||
<!-- })-->
|
||||
<!-- .catch(function (error) {-->
|
||||
<!-- console.log(error);-->
|
||||
<!-- });-->
|
||||
<!--</script>-->
|
||||
</html>
|
||||
Reference in New Issue
Block a user