1 Star 1 Fork 1

王朔/鸿蒙租房app

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
租房项目.apifox.json 20.69 KB
一键复制 编辑 原始数据 按行查看 历史
王朔 提交于 2024-11-07 18:16 . 1233
{"apifoxProject":"1.0.0","$schema":{"app":"apifox","type":"project","version":"1.2.0"},"info":{"name":"租房项目","description":"","mockRule":{"rules":[],"enableSystemRule":true}},"apiCollection":[{"name":"根目录","id":35305505,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"methodAndPath","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"房源","id":38018548,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"inherit","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"搜索房源","api":{"id":"194803943","method":"GET","path":"/house/search","parameters":{"path":[],"query":[{"id":"6xnSyMR6L0","name":"page","required":true,"description":"","example":"3","type":"string"},{"id":"kwt8hvsL8X","name":"limit","required":true,"description":"","example":"20","type":"string"},{"id":"qFta5SGP4j","name":"provinceCode","required":true,"description":"","example":"","type":"string"},{"id":"B9UHwafrPj","name":"cityCode","required":true,"description":"","example":"","type":"string"},{"id":"fSCs0hxzVy","name":"districtCode","required":true,"description":"","example":"110102","type":"string"},{"id":"PqcAHJ9lwr","name":"minRent","required":true,"description":"","example":"","type":"string"},{"id":"2p2RLltW0L","name":"maxRent","required":true,"description":"","example":"","type":"string"},{"id":"enmMrSyb5N","name":"paymentType","required":true,"description":"","example":"年付","type":"string"},{"id":"Ys8dywoV5H","name":"orderBy","required":true,"description":"只能传递两种值 : area | price","example":"area","type":"string"},{"id":"XZU93Xw11q","name":"orderType","required":true,"description":"排序方式 如果orderby没指定或者给错了就默认升序,如果传值为desc就降序。","example":"","type":"string"}],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382496","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382497","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382496,"ordering":1},{"name":"成功示例","data":"","responseId":491382497,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":0,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"房屋详情","api":{"id":"194803944","method":"GET","path":"/house/detail","parameters":{"path":[],"query":[{"id":"Au64hNBLkj","name":"id","required":true,"description":"","example":"BJ1827549448671068160","type":"string"}],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382498","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382499","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382498,"ordering":1},{"name":"成功示例","data":"","responseId":491382499,"ordering":2}],"requestBody":{"type":"none","parameters":[]},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":6,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"附近8个房源","api":{"id":"194803945","method":"GET","path":"/house/nearbyHouses","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382500","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382501","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382500,"ordering":1},{"name":"成功示例","data":"","responseId":491382501,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":12,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}}]},{"name":"地区联动","id":38018549,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"inherit","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"根据省份code获取city","api":{"id":"194803946","method":"GET","path":"/city","parameters":{"path":[],"query":[{"id":"WOr4Ifmcd2","name":"provinceCode","required":true,"description":"","example":"11","type":"string"}],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382502","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382503","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382502,"ordering":1},{"name":"成功示例","data":"","responseId":491382503,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":0,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"根据城市code获取区县","api":{"id":"194803947","method":"GET","path":"/area","parameters":{"path":[],"query":[{"id":"X7So9biQ6F","name":"cityCode","required":true,"description":"","example":"1101","type":"string"}],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382504","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382505","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382504,"ordering":1},{"name":"成功示例","data":"","responseId":491382505,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":6,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"获取所有省份","api":{"id":"194803948","method":"GET","path":"/province","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382506","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382507","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382506,"ordering":1},{"name":"成功示例","data":"","responseId":491382507,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":12,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}}]},{"name":"租房","id":38018550,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"inherit","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"预约租房","api":{"id":"194803949","method":"POST","path":"/auth/house/reservation","parameters":{"path":[],"query":[],"cookie":[],"header":[{"id":"SEk1sa52G8","name":"token","required":true,"description":"","example":"{{token}}","type":"string"}]},"auth":{},"commonParameters":{},"responses":[{"id":"491382508","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382509","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382508,"ordering":1},{"name":"成功示例","data":"","responseId":491382509,"ordering":2}],"requestBody":{"type":"application/json","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":"{\r\n \"name\": \"xiong\",\r\n \"date\": \"2024-01-19\",\r\n \"houseId\": \"BJ1831290689866956800\",\r\n \"phone\": \"13181812485\",\r\n \"comment\": \"速约\"\r\n}"},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":0,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"查询预约记录","api":{"id":"194803950","method":"GET","path":"/auth/house/history","parameters":{"path":[],"query":[],"cookie":[],"header":[{"id":"Y9Gi3miHQ8","name":"token","required":true,"description":"","example":"{{token}}","type":"string"}]},"auth":{},"commonParameters":{},"responses":[{"id":"491382510","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382511","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382510,"ordering":1},{"name":"成功示例","data":"","responseId":491382511,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":6,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}}]},{"name":"首页","id":38018551,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"inherit","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"获取首页信息","api":{"id":"194803951","method":"GET","path":"/home/info","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382512","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382513","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"{}","responseId":491382512,"ordering":1},{"name":"成功示例","data":"","responseId":491382513,"ordering":2}],"requestBody":{"type":"none","parameters":[]},"description":"","tags":[],"status":"released","serverId":"","operationId":"","sourceUrl":"","ordering":0,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}}]},{"name":"用户","id":38018552,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"inherit","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"模拟发送验证码","api":{"id":"194803952","method":"POST","path":"/sendSMSCode","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382514","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382515","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382514,"ordering":1},{"name":"成功示例","data":"","responseId":491382515,"ordering":2}],"requestBody":{"type":"application/json","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":"{\r\n \"phone\": \"13013131313\"\r\n}"},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":0,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"登录","api":{"id":"194803953","method":"POST","path":"/login","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382516","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382517","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382516,"ordering":1},{"name":"成功示例","data":"","responseId":491382517,"ordering":2}],"requestBody":{"type":"application/json","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":"{\r\n \"phone\": \"13181812485\",\r\n \"code\": \"447941\"\r\n}"},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":6,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[{"type":"customScript","data":"if (response.json['data']['token']) {\r\n apt.globals.set(\"token\",response.json['data']['token'] );\r\n}","defaultEnable":true,"enable":true,"id":"owGkeVvSAp8ZGCKZ2mVliABSu5hNgvw5"}],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"查询用户信息(token)","api":{"id":"194803954","method":"GET","path":"/auth/user/userInfo","parameters":{"path":[],"query":[],"cookie":[],"header":[{"id":"q2yZZQrycj","name":"token","required":true,"description":"","example":"{{token}}","type":"string"}]},"auth":{},"commonParameters":{},"responses":[{"id":"491382518","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382519","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382518,"ordering":1},{"name":"成功示例","data":"","responseId":491382519,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":12,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}}]},{"name":"服务","id":38018553,"auth":{},"parentId":0,"serverId":"","description":"","identityPattern":{"httpApi":{"type":"inherit","bodyType":"","fields":[]}},"preProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"postProcessors":[{"id":"inheritProcessors","type":"inheritProcessors","data":{}}],"inheritPostProcessors":{},"inheritPreProcessors":{},"items":[{"name":"服务页信息","api":{"id":"194803955","method":"GET","path":"/service/info","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382520","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382521","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382520,"ordering":1},{"name":"成功示例","data":"","responseId":491382521,"ordering":2}],"requestBody":{"type":"none","parameters":[]},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":0,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}},{"name":"发现页信息","api":{"id":"194803956","method":"GET","path":"/discover/info","parameters":{"path":[],"query":[],"cookie":[],"header":[]},"auth":{},"commonParameters":{},"responses":[{"id":"491382522","name":"成功","code":200,"contentType":"json","jsonSchema":{}},{"id":"491382523","name":"失败","code":404,"contentType":"json","jsonSchema":{}}],"responseExamples":[{"name":"成功示例","data":"","responseId":491382522,"ordering":1},{"name":"成功示例","data":"","responseId":491382523,"ordering":2}],"requestBody":{"type":"multipart/form-data","parameters":[],"jsonSchema":{"type":"object","x-apifox-orders":[]},"example":""},"description":"","tags":[],"status":"developing","serverId":"","operationId":"","sourceUrl":"","ordering":6,"cases":[],"mocks":[],"customApiFields":"{}","advancedSettings":{"disabledSystemHeaders":{}},"mockScript":{},"codeSamples":[],"commonResponseStatus":{},"responseChildren":[],"preProcessors":[],"postProcessors":[],"inheritPostProcessors":{},"inheritPreProcessors":{}}}]}]}],"socketCollection":[],"docCollection":[],"responseCollection":[{"_databaseId":4609362,"name":"根目录","type":"root","children":[],"parentId":0,"id":4609362,"items":[]}],"schemaCollection":[],"requestCollection":[{"name":"根目录","children":[],"items":[]}],"apiTestCaseCollection":[{"name":"根目录","children":[],"items":[]}],"testCaseReferences":[],"environments":[{"name":"默认环境","parameters":{"cookie":[],"query":[],"header":[],"body":[]},"variables":[],"type":"normal","visibility":"protected","ordering":0,"tags":[{"name":"","color":"#9373EE"}],"id":"22687166","baseUrl":"http://localhost:6060","baseUrls":{"default":"http://localhost:6060"}}],"commonScripts":[],"databaseConnections":[],"globalVariables":[{"id":"4596987","variables":[]}],"commonParameters":{"id":616189,"createdAt":"2024-07-17T05:53:19.000Z","updatedAt":"2024-07-17T05:53:19.000Z","deletedAt":null,"parameters":{"header":[{"type":"string","name":"","defaultValue":"","enable":false,"description":""}],"query":[{"type":"string","name":"","defaultValue":"","enable":false,"description":""}],"body":[{"type":"string","name":"","defaultValue":"","enable":false,"description":""}]},"projectId":4596987,"creatorId":899751,"editorId":899751},"projectSetting":{"id":"4606391","auth":{},"servers":[{"id":"default","name":"默认服务"}],"gateway":[],"language":"zh-CN","apiStatuses":["developing","testing","released","deprecated"],"mockSettings":{},"preProcessors":[{"type":"customScript","data":"","defaultEnable":false,"enable":false,"id":"mvFSK18MnIW3d82u0fCZx"}],"postProcessors":[{"type":"customScript","data":"","defaultEnable":false,"enable":false,"id":"M01wK7_lk4zgC9hORmz9_"}],"advancedSettings":{},"initialDisabledMockIds":[],"cloudMock":{"security":"free","enable":false,"tokenKey":"apifoxToken"}},"customFunctions":[],"projectAssociations":[]}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/absolute822/hongmeng-rental-app.git
git@gitee.com:absolute822/hongmeng-rental-app.git
absolute822
hongmeng-rental-app
鸿蒙租房app
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385