示例#1
0
 def ImagePath():
     '''
     图标目录,config/image/
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/config/image'
示例#2
0
 def DataPath():
     '''
     data/测试数据路径,本地测试数据,和业务无关
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/data'
示例#3
0
 def ConfigPath():
     '''
     配置文件路径   config/
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/config'
示例#4
0
 def LibNetPath():
     '''
     net动态库路径
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/lib/net'
示例#5
0
 def LibPath():
     '''
     lib路径
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/lib'
示例#6
0
 def LogPath():
     '''
     logs/logs
     :return:
     '''
     p_path = gp.get_sys_path()  # 系统路径
     return p_path + '/logs/logs'
示例#7
0
 def __init__(self):
     p_path = gp.get_sys_path()  # 系统路径
     self.config = p_path + '/config'
     self.image = p_path + '/config/image'
     self.data = p_path + '/data'
     self.logs = p_path + '/logs'
     self.log = p_path + '/logs/logs'
     self.lib = p_path + '/lib'