first commit
This commit is contained in:
28
shop_Frontend/static/index.html
Executable file
28
shop_Frontend/static/index.html
Executable file
@@ -0,0 +1,28 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Title</title>
|
||||
<script src="https://cdn.bootcss.com/jquery/2.1.3/jquery.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<script>
|
||||
$.ajax({
|
||||
url: 'http://127.0.0.1:9090/shop/index',
|
||||
type: 'get',
|
||||
data: {
|
||||
page: 1
|
||||
},
|
||||
success: function (res) {
|
||||
console.log(res)
|
||||
},
|
||||
error: function (err) {
|
||||
console.log(err)
|
||||
}
|
||||
})
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user