Browse Source

modiry simple pay

tomoya 1 week ago
parent
commit
b9ce525829

+ 1 - 1
backend/app/app/crud/crud_simplepay.py

@@ -32,4 +32,4 @@ class CRUDSimplePay(CRUDBase[SimplePay, SimplePayCreate, SimplePayUpdate]):
             .all()
         )
         
-simpleypay = CRUDSimplePay(SimplePay)
+simplepay = CRUDSimplePay(SimplePay)

+ 1 - 1
backend/app/app/models/__init__.py

@@ -6,6 +6,6 @@ from .serial_number import SerialNumber
 from .voice import Voice
 from .payment import Payment
 from .ytviews import YTViews
-from .simplay import SimplePay
+from .simplepay import SimplePay
 #from .bind_character import BindCharacter
 #from .bind_frame import BindFrame

+ 1 - 1
backend/app/app/models/simplepay.py

@@ -23,7 +23,7 @@ class SimplePay(Base):
   target = Column(String(50))
   theme = Column(String(20))
   taxID = Column(String(20))
-  tradeDesc = Column(string(20))
+  tradeDesc = Column(String(20))
   item = Column(String(20), nullable=False)
   amount = Column(Integer, nullable=False)
   created_datetime = Column(DateTime(timezone=True), default=func.now())