fix: no return in charge()

This commit is contained in:
7a1dd609-d238-4580-9d5f-ee8412b0f5bc committed 2025-01-25 11:37:04 +08:00
1 parent a526ea4f81
commit c74e539d60
1 file changed
+2
+2
View File
@@ -151,6 +151,8 @@ def charge(userId):
charge_result = json.loads(sdgb_api(data, "GetUserChargeApi", userId)) charge_result = json.loads(sdgb_api(data, "GetUserChargeApi", userId))
return charge_result
def get_ticket(userId): def get_ticket(userId):
data = json.dumps({ data = json.dumps({
"userId": userId, "userId": userId,