// ignore_for_file: unnecessary_brace_in_string_interps, non_constant_identifier_names

class Api {
  static var IS_DEBUG = true;

  static String URL =
      IS_DEBUG ? "https://special.sxyztech.cn/" : "http://47.92.138.92:8009/";

  ///演示 ip
  // static String URL = "http://47.92.138.92:8009/";
  // static String URL = "http://192.168.19.189:8181/";
  // static String URL = "http://192.168.19.215:8181/";

  static String START_URL = "special/a/",
      END_URL = "__ajax=true&mobileLogin=true";

  /// 登录
  static String LOGIN_URL = "${URL + START_URL}login";

  /// 退出登录
  static String LOGIN_OUT = "${URL + START_URL}logoutApp";

  /// 版本更新
  static String VERSION_UPDATE_URL =
      "${URL + START_URL}apk/apkVersion/updateApk";

  /// 获取时间
  static String GET_SYSTEM_TIME = "${URL + START_URL}sys/user/getSystemTime";

  /// 获取日管控 数量
  static String GET_DAY_COUNT =
      "${URL + START_URL}task/daytask/taskDay/findUserAllTaskDayCount";

  /// 获取周排查 数量
  static String GET_WEEK_COUNT =
      "${URL + START_URL}task/weektask/taskWeek/findUserAllTaskWeekCount";

  /// 获取月调度 数量
  static String GET_MONTH_COUNT =
      "${URL + START_URL}task/monthtask/taskMonth/findUserAllTaskMonthCount";

  /// 使用单位\生产单位-已完成列表
  static String FIND_USER_ALLTASK_DAY_LIST =
      "${URL + START_URL}task/daytask/taskDay/findUserAllTaskDay";

  /// 使用单位\生产单位-日管控-已完成列表
  static String TASK_DAY_LIST_PAGE =
      "${URL + START_URL}task/daytask/taskDay/findAllTaskDayApp";

  /// 使用单位\生产单位-月排查-已完成列表
  static String TASK_WEEK_LIST_PAGE =
      "${URL + START_URL}task/weektask/taskWeek/findAllTaskWeekApp";

  /// 使用单位\生产单位-月排查-已完成列表
  static String TASK_MONTH_LIST_PAGE =
      "${URL + START_URL}task/monthtask/taskMonth/findAllTaskMonthApp";

  /// 使用单位-周排查、风险整改、已完成列表
  static String FIND_USER_ALLTASK_WEEK_LIST =
      "${URL + START_URL}task/weektask/taskWeek/findUserAllTaskWeek";

  /// 使用单位-月调度、风险整改、已完成列表
  static String FIND_USER_ALLTASK_MONTH_LIST =
      "${URL + START_URL}task/monthtask/taskMonth/findUserAllTaskMonth";

  /// 使用单位-日管控-已完成详情
  static String FIND_TASK_DAY_CHECK_LIST_TASKDAY =
      "${URL + START_URL}task/daytask/taskDayCheck/findTaskDayCheckListByTaskDay";

  /// 使用单位-周排查-已完成详情
  static String FIND_TASK_DAY_CHECK_LIST_TASKWEEK =
      "${URL + START_URL}task/weektask/taskWeekCheck/findTaskWeekCheckListByTaskWeek";

  /// 使用单位-月调度-已完成详情
  static String FIND_TASK_DAY_CHECK_LIST_TASKMONTH =
      "${URL + START_URL}task/monthtask/taskMonthCheck/findTaskMonthCheckListByTaskMonth";

  /// 使用单位-日管控、风险整改提交
  static String TASK_DAY_SAVE =
      "${URL + START_URL}task/daytask/taskDay/mySaveApp";

  /// 使用单位-周排查、风险整改提交
  static String TASK_WEEK_SAVE =
      "${URL + START_URL}task/weektask/taskWeek/mySaveApp";

  /// 使用单位-月调度、风险整改提交
  static String TASK_MONTH_SAVE =
      "${URL + START_URL}task/monthtask/taskMonth/mySaveApp";

  /// 图片上传
  static String UPLOAD_MULTIFILE =
      "${URL + START_URL}task/daytask/taskDay/handleFileUploadBase64App";

  /// list分页
  static String LIST_URL =
      "${URL + START_URL}safetymanagement/hiddentrouble/inspectControl/appList";

  /// 工序管理
  static String PROCESS_LIST_URL =
      "${URL + START_URL}safetymanagement/hiddentrouble/inspectControl/appList";

  /// 首页-日-统计图
  static String SEVEN_DAY_COUNT =
      "${URL + START_URL}task/daytask/taskDay/sevenDayCount";

  /// 首页-日-统计图
  static String SEVEN_WEEK_COUNT =
      "${URL + START_URL}task/weektask/taskWeek/sevenWeekCount";

  /// 首页-日-统计图
  static String SEVEN_MONTH_COUNT =
      "${URL + START_URL}task/monthtask/taskMonth/sevenMonthCount";

  /// 地址
  static String TREE_DATA = "${URL + START_URL}sys/area/treeData";

  /// 设备
  static String DEVICE_DATA = "${URL + START_URL}device/deviceType/data";

  /// 获取角色
  static String GET_APP_ROLES = "${URL + START_URL}sys/user/getDtoList";

  /// 获取用户设备
  static String GET_OFFICE = "${URL + START_URL}sys/office/getOffice";

  /// 单位注册提交
  static String REGISTER_APP_USER =
      "${URL + START_URL}sys/register/registerAppUser";

  /// 用户新建、修改提交接口
  static String USER_SAVE_APP = "${URL + START_URL}sys/user/saveApp";

  /// 用户删除
  static String USER_DETELE = "${URL + START_URL}sys/user/deleteApp";

  /// 设备新建、修改提交接口
  static String DEVICE_SAVE_APP = "${URL + START_URL}device/deviceInfo/saveApp";

  /// 单位提交接口
  static String UNIT_SAVE_APP = "${URL + START_URL}sys/office/saveApp";

  /// 设备删除
  static String DEVICE_DETELE = "${URL + START_URL}device/deviceInfo/deleteApp";

  /// 用户列表
  static String USER_LIST = "${URL + START_URL}sys/user/list";

  /// 设备列表 使用单位
  static String SY_DEVICE_LIST = "${URL + START_URL}device/deviceInfo/data";

  /// 设备列表 使用单位、生产单位
  static String GET_PRODUCE_APP_LIST =
      "${URL + START_URL}device/deviceInfo/getProduceAppList";

  /// 获取用户信息
  static String GET_APP_USER = "${URL + START_URL}sys/user/getAppUser";

  /// 获取单位 设备人员对比
  static String FIND_NATURE_DTO_LIST =
      "${URL + START_URL}sys/user/findNatureDtoList";

  /// 是否隐藏注册
  static String GET_APP_IS_OPEN = "${URL + START_URL}sys/register/getAppIsOpen";

  /// 公司账户-首页-设备对比表格 获取主要负责人
  static String FIND_CHARGE_LIST = "${URL + START_URL}sys/user/findChargeList";

  /// 公司账户-首页-设备对比表格 获取使用单位设备数量
  static String FIND_COUNT = "${URL + START_URL}device/deviceInfo/findCount";
}
