Skip to content

Commit a1e283b

Browse files
committed
调整订单完成及金币查询接口返回值
1 parent ef951d6 commit a1e283b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linkv_sdk/live/live.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def SuccessOrderByLiveOpenID(live_open_id: str, order_type: int, gold: int, mone
133133
if int(result['status']) == 200:
134134
return {
135135
'status': True,
136-
'golds': int(result['data']['livemeTokens']),
136+
'golds': int(result['data']['tokens']),
137137
}
138138

139139
if int(result['status']) == 500:
@@ -236,7 +236,7 @@ def GetGoldByLiveOpenID(live_open_id: str) -> dict:
236236
if int(result['status']) == 200:
237237
return {
238238
'status': True,
239-
'golds': int(result['data']['livemeTokens']),
239+
'golds': int(result['data']['tokens']),
240240
}
241241

242242
if int(result['status']) == 500:

0 commit comments

Comments
 (0)