feat: add payment
This commit is contained in:
@@ -19,12 +19,16 @@ class ShopApiProvider {
|
||||
required String kind,
|
||||
required String productId,
|
||||
required String token,
|
||||
String purchaseData = '',
|
||||
String signature = '',
|
||||
}) =>
|
||||
_api.post('/shop/purchase', body: {
|
||||
'store': store,
|
||||
'kind': kind,
|
||||
'product_id': productId,
|
||||
'token': token,
|
||||
'purchase_data': purchaseData,
|
||||
'signature': signature,
|
||||
});
|
||||
|
||||
Future<Response> adReward(String token) =>
|
||||
|
||||
Reference in New Issue
Block a user