master
yumoqing 2024-02-19 13:23:23 +08:00
parent 1700dbe546
commit 299c72023d
1 changed files with 0 additions and 3 deletions

View File

@ -133,11 +133,8 @@ class TemplateProcessor(BaseProcessor):
async def path_call(self, request, params={}):
await self.set_run_env(request, params=params)
path = request.path
url = self.resource.entireUrl(request, path)
n_path = self.resource.url2path(url)
ns = self.run_ns
te = self.run_ns['tmpl_engine']
# return await te.render(url,**ns)
return await te.render(path,**ns)
async def datahandle(self,request):