wechatStart method

Future<EasyPacket<Map<String, dynamic>?>> wechatStart({
  1. required int goodsNo,
})

微信充值下单

Implementation

Future<EasyPacket<Map<String, dynamic>?>> wechatStart({required int goodsNo}) async {
  final response = await _aliveClient.httpRequest('$host/wechatStart', data: {'bsid': bsid, 'uid': user.id, 'goodsNo': goodsNo});
  if (response.ok) {
    return response.cloneExtra(response.data!['result']);
  } else {
    return response.cloneExtra(null);
  }
}