Client/寇百盛/log/日志_寇百盛_0624.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Client/徐蔓云/log/日志_徐蔓云_0625.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Client/陈豪/log/日志_陈豪_250624.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Client/魏强/log/日志_魏强_0625.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/common_type.h | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/刘斌/log/~$_刘斌_20250623.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/刘斌/log/日志_刘斌_20250624.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/徐逸凡/log/日志_徐逸凡_250624.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/林余杰/log/日志_林余杰_20250624.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/梁博/log/~WRL1314.tmp | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/梁博/log/日志_梁博_0624.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/汪卫军/log/1.2.doc | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Server/王鹏哲/log/日志_王鹏哲_20250625.doc | 补丁 | 查看 | 原始文档 | blame | 历史 |
Client/¿Ü°ÙÊ¢/log/ÈÕÖ¾_¿Ü°ÙÊ¢_0624.docBinary files differ
Client/ÐìÂûÔÆ/log/ÈÕÖ¾_ÐìÂûÔÆ_0625.docBinary files differ
Client/³ÂºÀ/log/ÈÕÖ¾_³ÂºÀ_250624.docBinary files differ
Client/κǿ/log/ÈÕÖ¾_κǿ_0625.docBinary files differ
Server/common_type.h
New file @@ -0,0 +1,72 @@ #ifndef TCPDATATYPE_H #define TCPDATATYPE_H /*请æ±ç±»å*/ enum class ActionType { HeartCheck = 100, Login = 110, Register = 120, Msg = 200, Download = 300 }; /*åèHTTPçååºç */ enum class ResponseCode { ResponseOK = 200, // è¯·æ±æåã BadRequest = 400, // 客æ·ç«¯è¯·æ±çè¯æ³éè¯¯ï¼æå¡å¨æ æ³çè§£ Unauthorized = 401, // 请æ±è¦æ±ç¨æ·çèº«ä»½è®¤è¯ Forbidden = 403, // æå¡å¨ç解请æ±å®¢æ·ç«¯ç请æ±ï¼ä½æ¯æç»æ§è¡æ¤è¯·æ± NotFound = 404, // æå¡å¨æ æ³æ¾å°è¯·æ±çèµæº MethodNotAllowed = 405 // 客æ·ç«¯è¯·æ±ä¸çæ¹æ³è¢«ç¦æ¢ }; /*æ¶æ¯ä½*/ struct Head { ActionType type; int len; int version; Head(ActionType ptype, int plen, int pversion) { len = plen; type = ptype; version = pversion; } }; struct HeartCheckReq // å¿è·³è¯·æ±å { ActionType type; int len; HeartCheckReq() { type = ActionType::HeartCheck; len = sizeof(HeartCheckReq); } }; struct HeartCheckRes // å¿è·³ååºå { ActionType type; int len; HeartCheckRes() { type = ActionType::HeartCheck; len = sizeof(HeartCheckRes); } }; struct RegisterRequest { Head head; char name[64]; char password[64]; char email[32]; char phone[32]; }; struct LoginRequest { Head head; char name[64]; char password[64]; }; #endif Server/Áõ±ó/log/~$_Áõ±ó_20250623.docBinary files differ
Server/Áõ±ó/log/ÈÕÖ¾_Áõ±ó_20250624.docBinary files differ
Server/ÐìÒÝ·²/log/ÈÕÖ¾_ÐìÒÝ·²_250624.docBinary files differ
Server/ÁÖÓà½Ü/log/ÈÕÖ¾_ÁÖÓà½Ü_20250624.docBinary files differ
Server/Áº²©/log/~WRL1314.tmpBinary files differ
Server/Áº²©/log/ÈÕÖ¾_Áº²©_0624.docBinary files differ
Server/ÍôÎÀ¾ü/log/1.2.docBinary files differ
Server/ÍõÅôÕÜ/log/ÈÕÖ¾_ÍõÅôÕÜ_20250625.docBinary files differ