// 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://192.168.19.165:2222/";

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

  // static String URL = "http://192.168.19.165:2222/";

  // 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";

  /// 获取考核题库
  static String EXAMINE_QUESTIONS =
      "${URL + START_URL}exam/examPaper/getQuestions";

  /// 考核交卷
  static String EXAMINE_QUESTIONS_SUBMIT =
      "${URL + START_URL}exam/examPaper/submitPaper";

  /// 测试练习交卷
  static String EXAMINE_TEST_SUBMIT =
      "${URL + START_URL}/exam/practicePaper/submitPaper";

  /// 获取测试练习题库
  static String TEST_QUESTIONS =
      "${URL + START_URL}exam/practicePaper/getQuestions";

  /// 获取单位列表
  static String GET_UNIT_LIST =
      "${URL + START_URL}sys/office/findByGradeAndParentIds";

  /// 获取单位列表 设备类型
  static String GET_EQUIPMENT_LIST =
      "${URL + START_URL}sys/office/findDtoByOfficeIdAndTypeIdAndDel";

  /// 获取单位-人员（安全总监、安全员）
  static String GET_UNIT_PERSON =
      "${URL + START_URL}sys/user/selectByOfficeAndRole";

  /// 验证登录人是否有考试按钮
  static String CHECK_HAVE_EXAM =
      "${URL + START_URL}exam/examPerson/checkHaveExam";

  /// 获取默认题数
  static String FIND_QUESTION_NUM =
      "${URL + START_URL}exam/examQuestionNum/findQuestionNum";

  /// 获取考核列表
  static String GET_OVERSEER_LIST =
      "${URL + START_URL}exam/examPerson/findListApp";

  /// 获取考核列表 删除
  static String GET_OVERSEER_DELETE =
      "${URL + START_URL}exam/examPerson/deleteAllApp";

  /// 获取考核提交
  static String GET_OVERSEER_SAVE = "${URL + START_URL}exam/examPerson/saveApp";

  /// 根据设备类型获取总题数
  static String FINT_QUESTION_TYPE =
      "${URL + START_URL}exam/examQuestion/fintQuestionByType";

  /// 考核 是否显示答案
  static String SHOW_ANSWER = "${URL + START_URL}sys/dict/showAnswer";

  /// 监察记录 列表
  static String EXAM_SETUP_GET_PAPERS =
      "${URL + START_URL}exam/examSetup/getPapers";

  /// 获取详情基本信息
  static String GET_PAPERS_DETAIL =
      "${URL + START_URL}exam/examSetup/getPapersDetail";

  /// 监察记录 详情
  static String EXAM_PERSON_DATA =
      "${URL + START_URL}exam/examPerson/getDetail";

  /// 监察记录 删除
  static String EXAM_SETUP_DELETE = "${URL + START_URL}exam/examSetup/delete";

  /// 首页广告 banner
  static String BANNER = "${URL + START_URL}advertis/advertis/appAdvertisList";

  /// 获取考核信息
// static String EXAMINE_PERSON = "${URL + START_URL}/exam/examPerson/checkHaveExam";
}
