getDeviceRecipeMenuInfoByDeviceId static method

Future<String> getDeviceRecipeMenuInfoByDeviceId(
  1. String menuId,
  2. int pageNo,
  3. int pageSize,
  4. String version,
)

根据菜单id获取分类列表

Implementation

static Future<String> getDeviceRecipeMenuInfoByDeviceId(String menuId,int pageNo,int pageSize,String version) async {
  Map<String, dynamic> body = _generateCommBody();
  body["menuId"] =  menuId;
  body["version"] =  version;
  body["pageNo"] =  pageNo;
  body["pageSize"] =  pageSize;
  var result = await HttpUtils.post(false, Api.PATH_GET_RECIPE_CLASS_BY_MENU_ID, data: body);
  return formatResponse(result);
}