INNER CODE UNIT · Dart

DeptApi

cairuoyu/flutter_admin · lib/api/dept_api.dart:12

class DeptApi {
  static Future<ResponseBodyApi> list(data) async {
    ResponseBodyApi responseBodyApi = await HttpUtil.post('/dept/list', data: data);
    return responseBodyApi;
  }

  static Future<ResponseBodyApi> saveOrUpdate(data) async {
    ResponseBodyApi responseBodyApi = await HttpUtil.post('/dept/saveOrUpdate', data: data);
    return responseBodyApi;
  }

  static removeByIds(data) {
    return HttpUtil.post('/dept/removeByIds', data: data);
  }
}

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…