ygq
2025-06-26 b13fa9a8c7e1cdd397cdcbbc76365bf140eb54bd
Merge branch 'master' of ssh://115.28.86.8:29418/~admin/智能网联_25-0305_617_v1
37个文件已添加
1个文件已修改
1个文件已删除
145 ■■■■■ 已修改文件
Client/于文龙/log/日志-于文龙-250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/寇百盛/log/日志_寇百盛_0624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/寇百盛/log/日志_寇百盛_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/师浩/log/日志_师浩_250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/师浩/log/日志_师浩_250626.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/徐蔓云/log/日志_徐蔓云_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/徐蔓云/log/日志_徐蔓云_0626.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/牛彦江/log/日志_牛彦江_250624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/牛彦江/log/日志_牛彦江_250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/王国壮/log/日志_王国壮_0623.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/王国壮/log/日志_王国壮_0624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/王国壮/log/日志_王国壮_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/舒海林/log/日志_舒海林_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/陈豪/log/日志_陈豪_250624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/陈豪/log/日志_陈豪_250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Client/魏强/log/日志_魏强_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/common_type.h 72 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Server/刘斌/log/日志_刘斌_20250624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/刘斌/log/日志_刘斌_20250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/徐逸凡/log/日志_徐逸凡_250624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/徐逸凡/log/日志_徐逸凡_250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/林余杰/log/日志_林余杰_20250624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/林余杰/log/日志_林余杰_20250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/梁博/log/~$_梁博_0624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/梁博/log/~WRL0005.tmp 补丁 | 查看 | 原始文档 | blame | 历史
Server/梁博/log/日志_梁博_0624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/梁博/log/日志_梁博_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/段延冲/log/日志_段延冲_0623.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/段延冲/log/日志_段延冲_0624 .doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/段延冲/log/日志_段延冲_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/汪卫军/code/ImageStorage.cpp 54 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Server/汪卫军/code/ImageStorage.h 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Server/汪卫军/code/需求分析文档.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/汪卫军/log/1.2.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/汪卫军/log/日志_汪卫军_0625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/王鹏哲/log/日志_王鹏哲_20250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/胡重阳/log/数据模型预处理日志_胡重阳_20250624.doc 补丁 | 查看 | 原始文档 | blame | 历史
Server/胡重阳/log/数据模型预处理日志_胡重阳_20250625.doc 补丁 | 查看 | 原始文档 | blame | 历史
智能网联_25-0305_617_v1 @ 89d19a 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
Client/ÓÚÎÄÁú/log/ÈÕÖ¾-ÓÚÎÄÁú-250625.doc
Binary files differ
Client/¿Ü°ÙÊ¢/log/ÈÕÖ¾_¿Ü°ÙÊ¢_0624.doc
Binary files differ
Client/¿Ü°ÙÊ¢/log/ÈÕÖ¾_¿Ü°ÙÊ¢_0625.doc
Binary files differ
Client/ʦºÆ/log/ÈÕÖ¾_ʦºÆ_250625.doc
Binary files differ
Client/ʦºÆ/log/ÈÕÖ¾_ʦºÆ_250626.doc
Binary files differ
Client/ÐìÂûÔÆ/log/ÈÕÖ¾_ÐìÂûÔÆ_0625.doc
Binary files differ
Client/ÐìÂûÔÆ/log/ÈÕÖ¾_ÐìÂûÔÆ_0626.doc
Binary files differ
Client/Å£Ñå½­/log/ÈÕÖ¾_Å£Ñå½­_250624.doc
Binary files differ
Client/Å£Ñå½­/log/ÈÕÖ¾_Å£Ñå½­_250625.doc
Binary files differ
Client/Íõ¹ú׳/log/ÈÕÖ¾_Íõ¹ú׳_0623.doc
Binary files differ
Client/Íõ¹ú׳/log/ÈÕÖ¾_Íõ¹ú׳_0624.doc
Binary files differ
Client/Íõ¹ú׳/log/ÈÕÖ¾_Íõ¹ú׳_0625.doc
Binary files differ
Client/Êæº£ÁÖ/log/ÈÕÖ¾_Êæº£ÁÖ_0625.doc
Binary files differ
Client/³ÂºÀ/log/ÈÕÖ¾_³ÂºÀ_250624.doc
Binary files differ
Client/³ÂºÀ/log/ÈÕÖ¾_³ÂºÀ_250625.doc
Binary files differ
Client/κǿ/log/ÈÕÖ¾_κǿ_0625.doc
Binary 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/ÈÕÖ¾_Áõ±ó_20250624.doc
Binary files differ
Server/Áõ±ó/log/ÈÕÖ¾_Áõ±ó_20250625.doc
Binary files differ
Server/ÐìÒÝ·²/log/ÈÕÖ¾_ÐìÒÝ·²_250624.doc
Binary files differ
Server/ÐìÒÝ·²/log/ÈÕÖ¾_ÐìÒÝ·²_250625.doc
Binary files differ
Server/ÁÖÓà½Ü/log/ÈÕÖ¾_ÁÖÓà½Ü_20250624.doc
Binary files differ
Server/ÁÖÓà½Ü/log/ÈÕÖ¾_ÁÖÓà½Ü_20250625.doc
Binary files differ
Server/Áº²©/log/~$_Áº²©_0624.doc
Binary files differ
Server/Áº²©/log/~WRL0005.tmp
Binary files differ
Server/Áº²©/log/ÈÕÖ¾_Áº²©_0624.doc
Binary files differ
Server/Áº²©/log/ÈÕÖ¾_Áº²©_0625.doc
Binary files differ
Server/¶ÎÑÓ³å/log/ÈÕÖ¾_¶ÎÑÓ³å_0623.doc
Binary files differ
Server/¶ÎÑÓ³å/log/ÈÕÖ¾_¶ÎÑÓ³å_0624 .doc
Binary files differ
Server/¶ÎÑÓ³å/log/ÈÕÖ¾_¶ÎÑÓ³å_0625.doc
Binary files differ
Server/ÍôÎÀ¾ü/code/ImageStorage.cpp
New file
@@ -0,0 +1,54 @@
// ImageStorage.cpp - ç…§ç‰‡å­˜å‚¨æ¨¡å—实现
#include "stdafx.h"
#include "ImageStorage.h"
#include <fstream>
#include <opencv2/opencv.hpp>
ImageStorage::ImageStorage() {}
ImageStorage::~ImageStorage() {}
bool ImageStorage::SaveImage(const std::string& filePath, const unsigned char* imageData,
    int width, int height) {
    try {
        // åˆ›å»ºOpenCV图像
        cv::Mat image(height, width, CV_8UC3, const_cast<unsigned char*>(imageData));
        // ä¿å­˜å›¾åƒ
        return cv::imwrite(filePath, image);
    }
    catch (const std::exception& e) {
        std::cerr << "保存图像失败: " << e.what() << std::endl;
        return false;
    }
}
bool ImageStorage::LoadImage(const std::string& filePath, unsigned char*& imageData,
    int& width, int& height) const {
    try {
        // åŠ è½½å›¾åƒ
        cv::Mat image = cv::imread(filePath, cv::IMREAD_COLOR);
        if (image.empty()) {
            return false;
        }
        // åˆ†é…å†…存并复制数据
        width = image.cols;
        height = image.rows;
        size_t dataSize = width * height * 3;
        imageData = new unsigned char[dataSize];
        memcpy(imageData, image.data, dataSize);
        return true;
    }
    catch (const std::exception& e) {
        std::cerr << "加载图像失败: " << e.what() << std::endl;
        return false;
    }
}
bool ImageStorage::DeleteImage(const std::string& filePath) {
    return (remove(filePath.c_str()) == 0);
}
Server/ÍôÎÀ¾ü/code/ImageStorage.h
New file
@@ -0,0 +1,17 @@
// ImageStorage.h - ç…§ç‰‡å­˜å‚¨æ¨¡å—
#pragma once
#include <string>
#include <vector>
#include "FaceImageManager.h"
class ImageStorage {
public:
    ImageStorage();
    ~ImageStorage();
    bool SaveImage(const std::string& filePath, const unsigned char* imageData,
        int width, int height);
    bool LoadImage(const std::string& filePath, unsigned char*& imageData,
        int& width, int& height) const;
    bool DeleteImage(const std::string& filePath);
};
Server/ÍôÎÀ¾ü/code/ÐèÇó·ÖÎöÎĵµ.doc
Binary files differ
Server/ÍôÎÀ¾ü/log/1.2.doc
Binary files differ
Server/ÍôÎÀ¾ü/log/ÈÕÖ¾_ÍôÎÀ¾ü_0625.doc
Binary files differ
Server/ÍõÅôÕÜ/log/ÈÕÖ¾_ÍõÅôÕÜ_20250625.doc
Binary files differ
Server/ºúÖØÑô/log/Êý¾ÝÄ£ÐÍÔ¤´¦ÀíÈÕÖ¾_ºúÖØÑô_20250624.doc
Binary files differ
Server/ºúÖØÑô/log/Êý¾ÝÄ£ÐÍÔ¤´¦ÀíÈÕÖ¾_ºúÖØÑô_20250625.doc
Binary files differ
ÖÇÄÜÍøÁª_25-0305_617_v1
New file
@@ -1 +1 @@
Subproject commit 0000000000000000000000000000000000000000
Subproject commit 89d19ad386e768e8e54b6aa4b1d42f4617ceed03