Skip to content

Commit

Permalink
refactor(all): separate services and handlers from same file
Browse files Browse the repository at this point in the history
將Service與Handler從相同檔案分離,方便後續閱讀與修改

Closes #8

[skip ci]
  • Loading branch information
tobiichi3227 committed Aug 8, 2023
1 parent 88a05ec commit 59e1e06
Show file tree
Hide file tree
Showing 137 changed files with 3,979 additions and 3,901 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
__pycache__/

# 敏感文件
config.py
src/config.py
pgoj.sql
sql
NTOJ_installer/sql
*.sql
deploy.sh
*.map
Expand Down
4 changes: 2 additions & 2 deletions auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

from msgpack import packb, unpackb

from req import RequestHandler, reqenv
from req import Service
from utils.req import RequestHandler, reqenv
from utils.req import Service

class AutoService:
def __init__(self, db, rs) -> None:
Expand Down
74 changes: 0 additions & 74 deletions code.py

This file was deleted.

Loading

0 comments on commit 59e1e06

Please sign in to comment.