creditrating-wcq/合并说明.md

19 lines
515 B
Markdown
Raw Permalink Normal View History

2023-02-20 09:58:04 +08:00
1. 将各项目内部的代码引用加上项目文件夹名前缀 如IndexCalculation项目
```python
# IndexCalculation项目
from 基本信用评级指标 import *
->
from IndexCalculation.基本信用评级指标 import *
```
2023-02-20 16:36:56 +08:00
2.将各项目的DataBase写在公共Utils文件夹里面,并修改各自项目对Database的引用
2023-02-20 09:58:04 +08:00
```python
2023-02-20 16:36:56 +08:00
# IndexStore项目
from Utils.DataBase import SqlAlchemyUtils
->
from Utils.DataBase.IndexStore import SqlAlchemyUtils
2023-02-20 09:58:04 +08:00
```
2023-02-20 16:36:56 +08:00
3.将各app的router合并到一个main.py内