postUserSearchFunTree static method

Future<DataResult> postUserSearchFunTree({
  1. required NewModel model,
})

Implementation

static Future<DataResult> postUserSearchFunTree(
    {required NewModel model}) async {
  model.appPackage = Address.packageName;
  var res = await BaseDao.fromBaseEncryptV3(
    model.toJson(),
    NowAddress.searchFunTree(),
  );
  if (res.result) {
    return DataResult(res.data, true);
  }
  return res;
}