Administrator
2025-02-06 ad2fbd7cc9014b3931c868f2eaf77323a359ed9a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import platform
 
TEST = False
IS_A = False
 
##B类##
MIDDLE_SERVER_PORT = 10020
 
 
def is_windows():
    system = platform.system()
    if system == 'Windows':
        return True
    return False
 
 
LOG_DIR = "logs_simulation"
 
 
# 获取根路径
def get_path_prefix():
    return 'D:' if is_windows() else '/home/userzjj'