20240926-0007

This commit is contained in:
zjq
2024-09-26 16:15:18 +08:00
parent 5ee082df4c
commit e47bf33341
2 changed files with 3 additions and 2 deletions
+3 -1
View File
@@ -19,7 +19,9 @@
在开始之前,请确保安装了以下库。可以使用 `pip` 来安装这些依赖:
```bash
pip install Flask flask-cors cryptography requests
pip install Flask flask-cors cryptography requests
pip install pandas
pip install numpy
```
## 使用说明
-1
View File
@@ -72,7 +72,6 @@ def register_user():
'Timestamp': timestamp
}
# 确保所有数据类型都是 JSON 可序列化的
json_serializable_data = {k: (str(v) if isinstance(v, (pd.Timestamp, datetime)) else v) for k, v in response_data.items()}
return jsonify(json_serializable_data), 200