fix import error

This commit is contained in:
baiqwerdvd
2024-05-28 12:15:01 +08:00
parent 035c48ca81
commit bc308ba716

View File

@ -5,8 +5,9 @@ from typing import List
from msgspec import convert from msgspec import convert
from msgspec import json as msgjson from msgspec import json as msgjson
from service.gachaLogic import GachaService
from service.models import ( from .service.gachaLogic import GachaService
from .service.models import (
GachaDetailTable, GachaDetailTable,
GachaPoolClientData, GachaPoolClientData,
GachaTable, GachaTable,
@ -115,8 +116,3 @@ async def testTenAdvancedGacha(
char_get.append(bundle.id_) char_get.append(bundle.id_)
state.history.append(f"{bundle.id_}&{bundle.rarity}&{now}") # &{charGet.isNew}") state.history.append(f"{bundle.id_}&{bundle.rarity}&{now}") # &{charGet.isNew}")
return char_get return char_get
import asyncio
asyncio.run(gacha("100000000"))