完善使用样例
This commit is contained in:
@@ -4,7 +4,10 @@ jfinal-enjoy 5.2.2 的python 3.9.0 实现,基于jpype1实现。
|
||||
python port by mrzhou@miw.cn
|
||||
|
||||
### 使用样例
|
||||
```
|
||||
```python
|
||||
from enjoy import Enjoy
|
||||
|
||||
if __name__ == "__main__":
|
||||
# 1. 配置参数(必须修改为你的实际路径)
|
||||
JAR_PATH = "enjoy-5.2.2.jar" # enjoy-5.2.2.jar的绝对/相对路径
|
||||
TEMPLATE_BASE_PATH = "./templates" # 模板文件所在目录(如index.html放在这个目录下)
|
||||
|
||||
Reference in New Issue
Block a user