mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-12-02 12:01:20 +00:00
9c208f7b4c
添加自动签到相关请求和定时任务 并没写插件 )
12 lines
325 B
Python
12 lines
325 B
Python
from utils.apps.manager import listener_service
|
|
from utils.mysql import MySQL
|
|
from .repositories import SignRepository
|
|
from .services import SignServices
|
|
|
|
|
|
@listener_service()
|
|
def create_game_strategy_service(mysql: MySQL):
|
|
_repository = SignRepository(mysql)
|
|
_service = SignServices(_repository)
|
|
return _service
|