From 1225b6cbf0a028b765a0ab6d784bcb80459a67bb Mon Sep 17 00:00:00 2001 From: yj <2077506045@qq.com> Date: 星期三, 23 七月 2025 17:59:54 +0800 Subject: [PATCH] 功能更新 --- E云管家接口文档.txt | 176 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 174 insertions(+), 2 deletions(-) diff --git "a/E\344\272\221\347\256\241\345\256\266\346\216\245\345\217\243\346\226\207\346\241\243.txt" "b/E\344\272\221\347\256\241\345\256\266\346\216\245\345\217\243\346\226\207\346\241\243.txt" index eda63e0..a275d7f 100644 --- "a/E\344\272\221\347\256\241\345\256\266\346\216\245\345\217\243\346\226\207\346\241\243.txt" +++ "b/E\344\272\221\347\256\241\345\256\266\346\216\245\345\217\243\346\226\207\346\241\243.txt" @@ -16,7 +16,7 @@ 鍙傛暟鍚� 蹇呴�� 绫诲瀷 璇存槑 wId 鏄� String 鐧诲綍瀹炰緥鏍囪瘑 -wcId 鏄� String 濂藉弸寰俊id/缇d +wcId 鏄� String 濂藉弸寰俊id/缇d锛屽涓娇鐢ㄨ嫳鏂囬�楀彿鍒嗛殧 璇锋眰鍙傛暟绀轰緥 @@ -167,4 +167,176 @@ "message": "澶辫触", "code": "1001", "data": null -} \ No newline at end of file +} + + + +# 鍒濆鍖栭�氳褰曞垪琛ㄦ帴鍙� + +绠�瑕佹弿杩帮細 +鍒濆鍖栭�氳褰曞垪琛� + +璇锋眰URL锛� +http://鍩熷悕鍦板潃/initAddressList + +璇锋眰鏂瑰紡锛� +POST + +璇锋眰澶碒eaders锛� +Content-Type锛歛pplication/json +Authorization锛歿Authorization} + +鍙傛暟锛� +鍙傛暟鍚� 蹇呴�� 绫诲瀷 璇存槑 +wId 鏄� String 鐧诲綍瀹炰緥鏍囪瘑 + +璇锋眰鍙傛暟绀轰緥 +{ + "wId": "6a696578-16ea-4edc-ac8b-e609bca39c69" +} + +鎴愬姛杩斿洖绀轰緥 +{ + "message": "鎴愬姛", + "code": "1000", + "data": null +} + +閿欒杩斿洖绀轰緥 +{ + "message": "澶辫触", + "code": "1001", + "data": null +} + +杩斿洖鏁版嵁锛� +鍙傛暟鍚� 绫诲瀷 璇存槑 +code string 1000鎴愬姛銆�1001澶辫触 +msg string 鍙嶉淇℃伅 +data JSONObject 鏃� + + + +# 鑾峰彇閫氳褰曞垪琛ㄦ帴鍙� +绠�瑕佹弿杩帮細 +鑾峰彇閫氳褰曞垪琛� + +璇锋眰URL锛� +http://鍩熷悕鍦板潃/getAddressList + +璇锋眰鏂瑰紡锛� +POST + +璇锋眰澶碒eaders锛� +Content-Type锛歛pplication/json +Authorization锛歿Authorization} + +鍙傛暟锛� + +鍙傛暟鍚� 蹇呴�� 绫诲瀷 璇存槑 +wId 鏄� String 鐧诲綍瀹炰緥鏍囪瘑 +灏忔彁绀猴細 +鑾峰彇閫氳褰曞垪琛ㄤ箣鍓嶏紝蹇呴』璋冪敤鍒濆鍖栭�氳褰曞垪琛ㄦ帴鍙c�� + +璇锋眰鍙傛暟绀轰緥 +{ + "wId": "6a696578-16ea-4edc-ac8b-e609bca39c69" +} + +鎴愬姛杩斿洖绀轰緥 +{ + "code": "1000", + "message": "鑾峰彇閫氳褰曟垚鍔�", + "data": { + "chatrooms": [ + "" + ], + "friends": [ + "" + ], + "ghs": [ + "" + ], + "others": [ + "" + ] + } +} + +閿欒杩斿洖绀轰緥 +{ + "message": "澶辫触", + "code": "1001", + "data": null +} + +杩斿洖鏁版嵁锛� + +鍙傛暟鍚� 绫诲瀷 璇存槑 +code String 1000鎴愬姛 +1001澶辫触 +msg String 鍙嶉淇℃伅 +data JSONObject +chatrooms JSONArray 缇ょ粍鍒楄〃 +friends JSONArray 濂藉弸鍒楄〃 +ghs JSONArray 鍏紬鍙峰垪琛� +others JSONArray 寰俊鍏朵粬鐩稿叧 + + + +# 缇よ亰@鎺ュ彛 +璇锋眰URL锛� +http://鍩熷悕鍦板潃/sendText + +璇锋眰鏂瑰紡锛� +POST + +璇锋眰澶碒eaders锛� +Content-Type锛歛pplication/json +Authorization锛歿Authorization} + +鍙傛暟锛� +鍙傛暟鍚� 蹇呴�� 绫诲瀷 璇存槑 +wId 鏄� string 鐧诲綍瀹炰緥鏍囪瘑 +wcId 鏄� string 鎺ユ敹鏂圭兢id +content 鏄� string 鏂囨湰鍐呭娑堟伅锛園鐨勫井淇℃樀绉伴渶瑕佽嚜宸辨嫾鎺ワ紝蹇呴』鎷兼帴鑹剧壒绗﹀彿锛屼笉鐒朵笉鐢熸晥锛� +at 鏄� string 鑹剧壒鐨勫井淇d锛堝涓互閫楀彿鍒嗗紑锛� + +杩斿洖鏁版嵁锛� +鍙傛暟鍚� 绫诲瀷 璇存槑 +code string 1000鎴愬姛锛�1001澶辫触 +msg string 鍙嶉淇℃伅 +data +data.type int 绫诲瀷 +data.msgId long 娑堟伅msgId +data.newMsgId long 娑堟伅newMsgId +data.createTime long 娑堟伅鍙戦�佹椂闂存埑 +data.wcId string 娑堟伅鎺ユ敹鏂筰d + +璇锋眰鍙傛暟绀轰緥 +{ + "wId": "0000016f-8911-484a-0001-db2943fc2786", + "wcId": "22270365143@chatroom", + "at": "wxid_lr6j4nononb921,wxid_i6qsbbjenjuj22", + "content": "@E浜慣eam_Mr Li@浣犲井绗戞椂鐪熺編 娴嬭瘯" +} + +鎴愬姛杩斿洖绀轰緥 +{ + "code": "1000", + "message": "澶勭悊鎴愬姛", + "data": { + "type": 1, + "msgId": 2562652205, + "newMsgId": 4482117376572170921, + "createTime": 1641457769, + "wcId": "22270365143@chatroom" + } +} + +閿欒杩斿洖绀轰緥 +{ + "message": "澶辫触", + "code": "1001", + "data": null +} \ No newline at end of file -- Gitblit v1.9.1