api10.31
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
font-family: Arial, sans-serif;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
background-color: #f4f4f9;
|
||||
background-color: #ffffff;
|
||||
}
|
||||
h1 {
|
||||
text-align: center;
|
||||
@@ -70,7 +70,7 @@
|
||||
<script>
|
||||
// 定义一个函数用于请求数据并更新表格
|
||||
function fetchAndUpdateOrders() {
|
||||
fetch('/readkafka') // Flask API 路径
|
||||
fetch('/api/rawdata') // Flask API 路径
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
const tableBody = document.querySelector('#orders-table tbody');
|
||||
|
Reference in New Issue
Block a user