Skip to content

Commit 71b807b

Browse files
committed
调整订单完成及金币查询接口返回值
1 parent 72109d7 commit 71b807b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

linkv_sdk/live/live.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def SuccessOrderByLiveOpenID(live_open_id, order_type, gold, money, expr, platfo
132132
if int(result['status']) == 200:
133133
return {
134134
'status': True,
135-
'golds': int(result['data']['livemeTokens']),
135+
'golds': int(result['data']['tokens']),
136136
}
137137

138138
if int(result['status']) == 500:
@@ -238,7 +238,7 @@ def GetGoldByLiveOpenID(live_open_id):
238238
if int(result['status']) == 200:
239239
return {
240240
'status': True,
241-
'golds': int(result['data']['livemeTokens']),
241+
'golds': int(result['data']['tokens']),
242242
}
243243

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

0 commit comments

Comments
 (0)