/**  ----------------角色接口----------------   */
export const getRoleList = '/web/role/getAllRoleList'

/** ------------------------------------------ */




/**  ----------------用户接口----------------   */
// 登录
export const userLogin = '/web/user/login'
// 权限
export const userperInfo = '/web/user/getPerInfo'
// 注册
export const userReg = '/web/user/register'
// 发送注册短信
export const sendUserMsg = '/web/user/getMsgAuthCode'
// 修改密码
export const updatePsw = '/web/user/changePassword'
// 新增用户
export const userAdd = '/web/user/addUser'
//修改用户
export const userEdit = '/web/user/editUser'
// 删除用户
export const deleUser = '/web/user/delUser'
// 获取用户信息
export const getUserInfo = '/web/user/getUserInfo'



// 登出
export const userLogout = '/web/user/logout'
// 获取用户列表
export const getUserList = '/web/user/getUserList'
// 修改用户信息
export const updateUser = '/web/user/changDeptAndRole'
// 获取验证码
export const getCode = '/web/user/getRandCode'
// 修改用户状态
export const changeUserStatus = '/web/user/changeStatus'
export const updateUserPWD = ''
/** ------------------------------------------ */



/**  ----------------楼盘接口----------------   */
// 根据条件拉取所有楼盘
export const getEstateList = '/fcb/project/project/queryOrSearchList'
// 修改楼盘信息
export const updateEstate = '/fcb/project/project/updateEstate'
// 增加楼盘信息
export const insertEstate = '/fcb/project/project/addEstate'
// 删除楼盘信息
export const deleteEstate = '/fcb/project/project/deleteEstate'
// 通过房源id获取楼盘信息
export const getEstateByHouseId = '/fcb/project/house/getEstateDetail'
/** ------------------------------------------ */


/**  ----------------房源接口----------------   */
// 根据条件拉取所有房源
export const getHouseList = '/fcb/project/house/queryOrSearchList'
// 修改房源信息
export const updateHouse = '/fcb/project/house/updateHouse'
// 删除房源信息
export const deleteHouse = '/fcb/project/house/deleteHouse'
// 提审房源
export const auditHouse = '/fcb/project/house/submitAudit'
// 撤回审核房源
export const dismissHouse = '/fcb/project/house/dismissAudit'
// 添加房源
export const insertHouse = '/fcb/project/house/addHouse'
// 上传logo制作二维码
export const uploadHouseLogo = '/fcb/project/house/uploadImage'
// 获取房源二维码
export const getHouseQrImg = '/fcb/project/house/getQrImage'
// 获取房源所有分享链接
export const getHouseShares = '/fcb/project/house/getShareLinks'
/** ------------------------------------------ */


/**  ----------------审核接口----------------   */
// 根据条件拉取所有审核记录
export const getExamineList = '/fcb/project/audit/queryOrSearchList'
// 获取审核页面的审核记录
export const getExamineViewList = '/fcb/project/house/getAuditHouseList'
// 审核
export const estateExamine = '/fcb/project/audit/doAudit'
// 上下线
export const estateOnline = '/fcb/project/audit/online'
/** ------------------------------------------ */


/** ----------------部门接口---------------- */
// 获取公司列表
export const getCompanyList = '/web/department/getAll'
/** ------------------------------------------ */




/** ----------------VR模型接口---------------- */
// 获取场景列表
export const getSceneList = '/web/scene/getScenePage'
// 通过场景标题模糊搜索场景
export const getSceneByTitle = '/web/scene/getLocalScenes'
// 通过相机获取场景列表
export const getSceneListByCamera = '/web/scene/getSceneList'
// 同步场景
export const asyncScene = '/web/scene/synchronizeScene'
// 删除场景
export const deleteScene = '/web/scene/delete'
/** ------------------------------------------ */




/** ----------------相机接口---------------- */
// 获取相机列表
export const getCameraList = '/web/camera/getUserCameraList'
// 获取相机选项
export const getCameraOptions = '/web/camera/getUserCameraList?pageNum=1&pageSize=100000&type=1'
// 获取相机选项(自己)
export const getCameraListByUser = '/web/camera/getCameraListByUser?pageNum=1&pageSize=100000'
// 添加相机
export const insertCamera = '/web/camera/bindNew'
// 添加相机管理人员
export const getUserListSelect = '/web/user/getUserListSelect'
// 修改相机
export const updateCamera = '/api/scene/camera/update'
// 删除相机
export const deleteCamera = '/api/scene/camera/delete'
// 相机绑定设备
export const bindCamera = '/api/scene/camera/bindCamera'
// 相机解除绑定设备
export const unbindCamera = '/web/camera/unbind'
/** ------------------------------------------ */

/** ----------------组织架构---------------- */

export const getTreeselect = '/web/department/treeselect'
export const delTreeitem = '/web/department/del/'
export const editTreeitem = '/web/department/edit'
export const addTreeitem = '/web/department/add'

/** ----------------火调项目---------------- */
// 获取火调列表
export const getFireList = '/web/fireProject/queryProject'
// 新增火调
export const insertFire = '/web/fireProject/addNewProject'
export const getFirePsw = '/web/fireProject/getRandCode'
// 修改火调
export const updateFire = '/web/fireProject/updateProject'
// 火调设置为教学
export const setTeach = '/web/fireProject/setTeach'
// 火调链接地址设置密码
export const fireSetPsw = '/web/fireProject/updateRandomCode'
// 获取火调详情
export const fireDetail = '/web/fireProject/getProjectDetail'
// 获取火调详情
// export const fireDetailByPsw = '/web/fireProject/getDetailWithoutAuth'

// 获取火调详情
export const fireDetailByPsw = '/web/fireProject/getDetailWithoutAuth' //wxAnonGetDetail
/** ------------------------------------------ */


/** ----------------留言管理---------------- */
// 获取留言列表
export const getMessageList = '/web/message/getList'
// 新增火调
export const insertMessage = '/web/message/addNew'


/** ----------------火调附件---------------- */
// 获取火调列表
export const getAttachList = '/web/attachment/getListByProject'
// export const getAttachListByPsw = '/web/attachment/getListByAnon'

export const getAttachListByPsw = '/web/attachment/getListByAnon' // wxAnonGetList

// 新增火调
export const insertAttach = '/web/attachment/addNew'
// 删除附件
export const deleteAttachFile = '/web/attachment/deleteById'
// 火调设置为教学
export const deleteAttach = '/web/fireProject/setTeach'
// 取消教学
export const setUnTeach = '/web/fireProject/setUnTeach'
// 火调上传word,pdf文件
export const uploadAttachFile = '/web/fireProject/uploadFile'
// 火调上传jpg,png文件
export const uploadAttachImage = '/web/fireProject/uploadImage'
/** ------------------------------------------ */


  // 下载校验
  export const checkHasDownload = '/web/scene/checkDownload/'
  // 下载获取进度条
  export const getDownloadProcess = '/web/scene/downloadProcess'
  // 下载
  export const downloadScene = '/web/scene/downloadScene/'

// 不需要登录就能请求的接口
export const notLoginUrls = [userLogin, getCode, sendUserMsg, userReg, updatePsw, getCompanyList, fireDetailByPsw, getAttachListByPsw]
// 需要用表单提交的数据
export const fromUrls = [auditHouse, dismissHouse]
// 带文件的请求
export const fileUrls = [uploadHouseLogo, uploadAttachFile, uploadAttachImage]
// 需要限定卫GET请求方式的url
export const GetUrls = [getRoleList, getCompanyList]
// 需要限定请求方式的url
export const PostUrls = [getFireList, getMessageList ]
// 恒大接口
export const HdUrls = []