admin
2025-07-17 6cd92a169cbc0db35042f243a09d976fd3e1445c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include <rapidjson/rapidjson.h>
#include <rapidjson/document.h>
#include <rapidjson/stringbuffer.h>
#include <rapidjson/writer.h>
#include <rapidjson/prettywriter.h>
 
#include <string>
#include <list>
#include "SocketManager.h"
#include <afx.h>
#include <map>
 
using namespace std;
 
class ProjectBuildNetworkApi
{
private:
    // ÍøÂçÇëÇó
    // ÇëÇó½»Ò×·þÎñÆ÷
    static std::string base_request_get(string ip, int port, string path, map<string, string>  params);
    static string get_rquest_id();
    static string get_sign(rapidjson::Document& document);
 
 
 
public:
    static std::string load_request_data(std::string data);
    
    // ¸üÐÂÁìÕÇÐÅÏ¢
    static string build(string ip, int port, string dir, string script, string output);
 
};