:Merge branch 'master' of git.kaiyuancloud.cn:yumoqing/ahserver

This commit is contained in:
yumoqing 2024-11-18 13:40:22 +08:00
commit 71035080b6
26 changed files with 4 additions and 0 deletions

0
ahserver/__init__.py Executable file → Normal file
View File

0
ahserver/auth_api.py Executable file → Normal file
View File

0
ahserver/baseProcessor.py Executable file → Normal file
View File

0
ahserver/configuredServer.py Executable file → Normal file
View File

0
ahserver/dbadmin.py Executable file → Normal file
View File

0
ahserver/dsProcessor.py Executable file → Normal file
View File

0
ahserver/error.py Executable file → Normal file
View File

0
ahserver/filedownload.py Executable file → Normal file
View File

4
ahserver/filestorage.py Executable file → Normal file
View File

@ -88,6 +88,10 @@ class FileStorage:
p = os.path.abspath(os.path.join(self.root,path)) p = os.path.abspath(os.path.join(self.root,path))
return p return p
def webpath(self, path):
if path.startswith(self.root):
return path[len(self.root):]
def _name2path(self,name, userid=None): def _name2path(self,name, userid=None):
name = os.path.basename(name) name = os.path.basename(name)
paths=[191,193,197,97] paths=[191,193,197,97]

0
ahserver/functionProcessor.py Executable file → Normal file
View File

0
ahserver/globalEnv.py Executable file → Normal file
View File

0
ahserver/llmProcessor.py Executable file → Normal file
View File

0
ahserver/myTE.py Executable file → Normal file
View File

0
ahserver/p2p_middleware.py Executable file → Normal file
View File

0
ahserver/processorResource.py Executable file → Normal file
View File

0
ahserver/proxyProcessor.py Executable file → Normal file
View File

0
ahserver/restful.py Executable file → Normal file
View File

0
ahserver/serverenv.py Executable file → Normal file
View File

0
ahserver/sqldsProcessor.py Executable file → Normal file
View File

0
ahserver/uriop.py Executable file → Normal file
View File

0
ahserver/url2file.py Executable file → Normal file
View File

0
ahserver/utils.py Executable file → Normal file
View File

0
ahserver/version.py Executable file → Normal file
View File

0
ahserver/websocketProcessor.py Executable file → Normal file
View File

0
ahserver/xlsxData.py Executable file → Normal file
View File

0
ahserver/xlsxdsProcessor.py Executable file → Normal file
View File