mirror of
https://github.com/WhaleFell/SMSBoom.git
synced 2026-02-03 18:33:21 +08:00
🐞 fix: Flask app中引用API模型路径
感谢 issue 提出者:[#16](https://github.com/WhaleFell/SMSBoom/issues/16)
This commit is contained in:
@@ -6,7 +6,7 @@ from pathlib import Path
|
||||
import json
|
||||
from flask_app import db, app
|
||||
from flask_app.model import Apis
|
||||
from utils import API
|
||||
from utils.models import API
|
||||
|
||||
json_path = Path(app.root_path).parent.joinpath(
|
||||
"api.json")
|
||||
|
||||
Reference in New Issue
Block a user