config.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450
  1. /** ----------------用户接口---------------- */
  2. export const userLogin = '/back/login'
  3. /** ----------------场景管理接口---------------- */
  4. // 获取场景列表
  5. export const getSceneList = '/back/scene/list'
  6. export const getFilterFolerSceneList = '/back/scene/allList'
  7. // 删除场景
  8. export const deleteScene = '/back/scene/delete'
  9. // 获取文件夹树
  10. export const getFolerTreeList = '/back/scene/findListTree'
  11. // 新建文件夹
  12. export const insertFoler = '/back/scene/folderSave'
  13. // 更新文件夹
  14. export const updateFoler = '/back/scene/folderUpdate'
  15. // 删除文件夹
  16. export const deleteFoler = '/back/scene/folderDelete'
  17. // 移动文件夹
  18. export const moveFoler = '/back/scene/move'
  19. /** ------------------------------------------ */
  20. /** ----------------店铺管理接口---------------- */
  21. // 获取店铺列表
  22. export const getShopList = '/back/shop/list'
  23. // 添加店铺
  24. export const insertShop = '/back/shop/saveOrUpdate'
  25. // 更新店铺
  26. export const updateShop = '/back/shop/saveOrUpdate'
  27. // 删除店铺
  28. export const deleteShop = '/back/shop/delete'
  29. /** ----------------店铺分类接口---------------- */
  30. export const getCategoryList = '/back/category/allList'
  31. //店鋪分類列表
  32. export const getShopCategoryList = '/back/category/list'
  33. // 添加分類
  34. export const insertCategory = '/back/category/saveOrUpdate'
  35. // 更新分類
  36. export const updateCategory = '/back/category/saveOrUpdate'
  37. // 删除分類
  38. export const deleteCategory = '/back/category/delete'
  39. //外框列表
  40. export const getBorderList = '/back/hotOutline/list'
  41. //外框列表
  42. export const addBorder = '/back/hotOutline/add'
  43. //删除外框
  44. export const delBorderApi = '/back/hotOutline/del'
  45. //品牌列表
  46. export const getBrandList = '/back/brand/list'
  47. //品牌列表
  48. export const exporBrandList = '/back/brand/downBrandExcel'
  49. //更新品牌信息
  50. export const getBrandupdateBrandInfo = '/back/brand/updateBrandInfo'
  51. //下载导入模版
  52. export const downTemplate = '/back/excel/downTemplate'
  53. //校验上传文件
  54. export const checkFile = '/back/excel/checkFile'
  55. //上传
  56. export const uploadExcel = '/back/excel/uploadExcel'
  57. /** ----------------开场视频接口---------------- */
  58. // 获取视频列表
  59. export const getVideoList = '/back/video/list'
  60. // 添加视频
  61. export const insertVideo = '/back/video/saveOrUpdate'
  62. // 更新视频
  63. export const updateVideo = '/back/video/saveOrUpdate'
  64. // 删除视频
  65. export const deleteVideo = '/back/video/delete'
  66. /** ----------------部门接口---------------- */
  67. // 获取公司列表
  68. export const getDeptList = '/back/dept/allList'
  69. // 获取公司列表(log)
  70. export const getDeptLogList = '/back/dept/allListLog'
  71. // 获取公司列表树
  72. export const getCompanyThree = '/api/manage/department/listTree'
  73. // 新增公司
  74. export const insertCompany = '/back/dept/saveOrUpdate'
  75. // 删除公司
  76. export const deleteCompany = '/back/dept/delete'
  77. // 新增公司
  78. export const updateCompany = '/back/dept/saveOrUpdate'
  79. /** ----------------用户接口---------------- */
  80. // 登录
  81. // 登出
  82. export const userLogout = '/back/logout'
  83. // 获取用户列表
  84. export const getUserList = '/back/user/list'
  85. // 修改用户信息
  86. export const updateUser = '/back/user/saveOrUpdate'
  87. // 新增用户
  88. export const insertUser = '/back/user/saveOrUpdate'
  89. // 删除用户
  90. export const deleteUser = '/back/user/delete'
  91. // 修改用户密码
  92. export const updateUserPWD = '/back/user/updatePassword'
  93. // 重置用户密码
  94. export const resetUserPWD = '/back/user/rePassword'
  95. // 获取获取新建用户所属部门
  96. export const getCreateUserDept = '/back/user/getCreateUserDept'
  97. // 校验验证码
  98. export const checkCode = '/api/manage/user/checkVerify'
  99. // 获取验证码
  100. export const getCode = '/api/manage/user/getVerify'
  101. /** ------------------------------------------ */
  102. /** ----------------角色接口---------------- */
  103. export const getRoleList = '/back/role/allList'
  104. /** ----------------日志接口---------------- */
  105. // 获取日志列表
  106. export const getLogList = '/back/log/list'
  107. /** ------------------------------------------ */
  108. /** ----------------上传接口---------------- */
  109. export const uploadFile = '/back/upload/file'
  110. // 以下是旧的
  111. /** ------------------------------------------ */
  112. /** ----------------楼盘接口---------------- */
  113. // 根据条件拉取所有楼盘
  114. export const getEstateList = '/fcb/project/project/queryOrSearchList'
  115. // 修改楼盘信息
  116. export const updateEstate = '/fcb/project/project/updateEstate'
  117. // 增加楼盘信息
  118. export const insertEstate = '/fcb/project/project/addEstate'
  119. // 删除楼盘信息
  120. export const deleteEstate = '/fcb/project/project/deleteEstate'
  121. // 通过房源id获取楼盘信息
  122. export const getEstateByHouseId = '/fcb/project/house/getEstateDetail'
  123. /** ------------------------------------------ */
  124. /** ----------------房源接口---------------- */
  125. // 根据条件拉取所有房源
  126. export const getHouseList = '/fcb/project/house/queryOrSearchList'
  127. // 获取所有房源id
  128. export const getHouseIdAll = '/fcb/project/house/listEstate'
  129. // 导出指定房源列表
  130. export const exportHouseList = '/fcb/project/house/exportProjectList'
  131. // 修改房源信息
  132. export const updateHouse = '/fcb/project/house/updateHouse'
  133. // 删除房源信息
  134. export const deleteHouse = '/fcb/project/house/deleteHouse'
  135. // 提审房源
  136. export const auditHouse = '/fcb/project/house/submitAudit'
  137. // 撤回审核房源
  138. export const dismissHouse = '/fcb/project/house/dismissAudit'
  139. // 添加房源
  140. export const insertHouse = '/fcb/project/house/addHouse'
  141. // 上传logo制作二维码
  142. export const uploadHouseLogo = '/fcb/project/house/uploadImage'
  143. // 获取房源二维码
  144. export const getHouseQrImg = '/fcb/project/house/getQrImage'
  145. // 获取房源所有分享链接上线
  146. export const getHouseUpShares = '/fcb/project/house/getVrAndIndex'
  147. // 获取房源所有分享链接
  148. export const getHouseShares = '/fcb/project/house/getShareLinks'
  149. /** ------------------------------------------ */
  150. /** ----------------新房审核接口---------------- */
  151. // 根据条件拉取所有审核记录
  152. export const getExamineList = '/fcb/project/audit/queryAuditLogList'
  153. // 获取审核页面的审核记录
  154. export const getExamineViewList = '/fcb/project/house/getAuditHouseList'
  155. // 审核
  156. export const estateExamine = '/fcb/project/audit/doAudit'
  157. // 上下线
  158. export const estateOnline = '/fcb/project/audit/online'
  159. // 导出审核记录
  160. export const exporrtAuditEstate = '/fcb/project/house/exportAuditHouseList'
  161. /** ------------------------------------------ */
  162. /** ----------------二手房小区接口---------------- */
  163. // 获取所有城市列表
  164. export const getVrCityList = '/fcb/project/redirct/101_getVrCityList'
  165. // 获取所有物业列表
  166. export const getPropertyList = '/fcb/project/redirct/101_propertySortList'
  167. // 获取片区列表
  168. export const getRegionList = '/fcb/project/redirct/101_getRegionList'
  169. // 获取小区总数统计
  170. export const getCommunityTotal = '/fcb/project/redirct/101_getVrGardenCountByStatus'
  171. // 获取小区列表
  172. export const getCommunityList = '/fcb/project/redirct/101_gardenVrList'
  173. export const getCommunityList1 = '/fcb/project/redirct/101_gardenVrListForAll'
  174. // 添加小区
  175. export const insertCommunity = '/fcb/project/redirct/101_saveVrGarden'
  176. // 删除小区
  177. export const deleteCommunity = '/fcb/project/redirct/101_deleteVrGarden'
  178. // 提审房源
  179. export const auditCommunity = '/fcb/project/redirct/101_gardenVrAudit'
  180. // 撤回审核房源
  181. export const dismissCommunity = '/fcb/project/redirct/101_gardenVrAudit'
  182. // 房源所有分享链接
  183. export const getCommunityShares = '/fcb/project/usedestate/getShareLinks'
  184. // 获取所有房源id
  185. export const getCommunityIdAll = '/fcb/project/usedestate/listEstate'
  186. // 通过房源id获取楼盘信息
  187. export const getCommunityByHouseId = '/fcb/project/redirct/101_getFrontEndVrGardenDetailById'
  188. /** ------------------------------------------ */
  189. /** ----------------二手房房源接口---------------- */
  190. // 获取小区列表
  191. export const getSecondHouseList = '/fcb/project/redirct/101_getVrRoomListByGardenId'
  192. // 获取小区列表
  193. export const getSecondHouseList1 = '/fcb/project/redirct/101_getVrReviewList'
  194. // 获取小区总数统计
  195. export const getSecondHouseTotal = '/fcb/project/redirct/101_getReviewListTotalNumber'
  196. // 添加小区
  197. export const insertSecondHouse = '/fcb/project/redirct/101_saveVrGarden'
  198. // 提审房源
  199. export const auditSecondHouse = '/fcb/project/redirct/101_setVrRoomStatus'
  200. // 撤回审核房源
  201. export const dismissSecondHouse = '/fcb/project/redirct/101_setVrRoomStatus'
  202. // 删除小区
  203. export const deleteSecondHouse = '/fcb/project/redirct/101_deleteVrGarden'
  204. // 获取房源所有分享链接
  205. export const getSecondHouseShares = '/fcb/project/usedhouse/getShareLinks'
  206. /** ------------------------------------------ */
  207. /** ----------------二手房小区审核---------------- */
  208. // 根据条件拉取所有审核记录
  209. export const getCommunityExamineList = '/fcb/project/usedaudit/queryAuditLogList'
  210. // 获取审核页面的审核记录
  211. export const getCommunityExamineViewList = '/fcb/project/redirct/101_getVrGardenAuditRecordList'
  212. // 审核
  213. export const communityExamine = '/fcb/project/redirct/101_gardenVrAudit'
  214. // 上下线
  215. export const communityOnline = '/fcb/project/redirct/101_getVrGardenAuditRecordList'
  216. // 导出审核记录
  217. export const exporrtCommunityAuditEstate = '/fcb/project/redirct/101_getVrGardenExportList'
  218. /** ------------------------------------------ */
  219. /** ----------------二手房房间审核---------------- */
  220. // 根据条件拉取所有审核记录
  221. export const getSecondHouseExamineList = '/fcb/project/usedaudit/queryAuditLogList'
  222. // 获取审核页面的审核记录
  223. export const getSecondHouseExamineViewList = '/fcb/project/redirct/101_getVrReviewLogList'
  224. // 审核
  225. export const secondHouseExamine = '/fcb/project/redirct/101_setVrRoomStatus'
  226. // 上下线
  227. export const secondHouseOnline = '/fcb/project/redirct/101_setVrRoomStatus'
  228. // 导出审核记录
  229. export const exporrtSecondHouseAuditEstate = '/fcb/project/redirct/101_exportVrReviewList'
  230. /** ------------------------------------------ */
  231. /** ----------------相机接口---------------- */
  232. // 获取相机列表
  233. export const getCameraList = '/api/scene/camera/findListPage'
  234. // 添加相机
  235. export const insertCamera = '/api/scene/camera/save'
  236. // 修改相机
  237. export const updateCamera = '/api/scene/camera/update'
  238. // 删除相机
  239. export const deleteCamera = '/api/scene/camera/delete'
  240. // 相机绑定设备
  241. export const bindCamera = '/api/scene/camera/bindCamera'
  242. // 相机解除绑定设备
  243. export const unbindCamera = '/api/scene/camera/unbind'
  244. /** ------------------------------------------ */
  245. /** ----------------获取恒大签名---------------- */
  246. export const getAuthConfig = '/fcb/project/api/query/authCode'
  247. /** ------------------------------------------- */
  248. /** ----------------恒大接口---------------- */
  249. // 获取恒大所有楼盘信息
  250. export const getHdEstateNames = '/vr/prodvr/prod/v1/prodinfo'
  251. // 获取恒大所有二手房源信息
  252. export const getHdCommunityNames = '/fcb/project/redirct/101_searchGardenVrList'
  253. // 判断恒大VR连接是否删除
  254. // export const hasHouseIsDel = '/vr/prodvr/prod/v1/isOffline'
  255. export const hasHouseIsDel = '/omc/external/prod/v1/isOffline'
  256. // export const hasHouseIsDel = 'https://broker-sit2-api.fcb.com.cn/omc/external/prod/v1/isOffline'
  257. // 判断恒大VR小区连接是否删除
  258. export const hasCommunityIsDel = '/vr/prodvr/prod/v1/isOffline'
  259. // 判断恒大VR连接是否删除
  260. export const hasSecondHouseIsDel = '/vr/prodvr/prod/v1/isOffline'
  261. /** ------------------------------------------- */
  262. // 转发类型接口
  263. export const RedirctUrls = [
  264. getVrCityList,
  265. getPropertyList,
  266. getRegionList,
  267. getCommunityList,
  268. insertCommunity,
  269. deleteCommunity,
  270. auditCommunity,
  271. getHdCommunityNames,
  272. getSecondHouseList1,
  273. dismissCommunity,
  274. getCommunityShares,
  275. getCommunityIdAll,
  276. getCommunityByHouseId,
  277. getSecondHouseList,
  278. insertSecondHouse,
  279. auditSecondHouse,
  280. getCommunityTotal,
  281. getCommunityList1,
  282. getSecondHouseTotal,
  283. dismissSecondHouse,
  284. deleteSecondHouse,
  285. getSecondHouseShares,
  286. getCommunityExamineList,
  287. getCommunityExamineViewList,
  288. communityExamine,
  289. communityOnline,
  290. exporrtCommunityAuditEstate,
  291. getSecondHouseExamineList,
  292. getSecondHouseExamineViewList,
  293. secondHouseExamine,
  294. secondHouseOnline,
  295. exporrtSecondHouseAuditEstate
  296. ]
  297. export const RedirctPageUrls = [
  298. getCommunityList,
  299. getCommunityList1,
  300. getSecondHouseList,
  301. getCommunityExamineList,
  302. getSecondHouseList1,
  303. getCommunityExamineViewList,
  304. getSecondHouseExamineList,
  305. getSecondHouseExamineViewList
  306. ]
  307. // 不需要登录就能请求的接口
  308. export const notLoginUrls = [userLogin, checkCode, getCode]
  309. // 需要用表单提交的数据
  310. export const fromUrls = [auditHouse, dismissHouse]
  311. // 带文件的请求
  312. export const fileUrls = [uploadFile]
  313. // 需要限定卫GET请求方式的url
  314. export const GetUrls = []
  315. // 需要限定请求方式的url
  316. export const PostUrls = [
  317. getSceneList,
  318. getFilterFolerSceneList,
  319. getCameraList,
  320. getUserList,
  321. getCommunityList,
  322. getCommunityShares,
  323. getCommunityIdAll,
  324. getCommunityByHouseId,
  325. getSecondHouseList,
  326. getSecondHouseShares,
  327. getCommunityExamineList,
  328. getCommunityExamineViewList,
  329. ].concat(RedirctUrls)
  330. // 恒大接口
  331. export const HdUrls = [getHdEstateNames, hasHouseIsDel]
  332. // 文件流接口
  333. export const FileFlow = [exporrtAuditEstate, exporrtSecondHouseAuditEstate]