sendGiftTemp static method

Future<DataResult> sendGiftTemp(
  1. String? price
)

送礼物-花钱

Implementation

static Future<DataResult> sendGiftTemp(String? price) async {
  Map other = {'price': price};
  var res = await BaseDao.fromBaseJson(other, Address.sendGiftTemp());
  if (res.result) {
    var entity = TokenEntity.fromJson(res.data);
    return DataResult(entity, true);
  }
  return res;
}