This commit is contained in:
yumoqing 2024-01-31 22:36:18 +08:00
parent c8632d3df3
commit fa41aace4c

View File

@ -153,13 +153,11 @@ class TemplateProcessor(BaseProcessor):
class BricksUIProcessor(TemplateProcessor): class BricksUIProcessor(TemplateProcessor):
@classmethod @classmethod
def isMe(self,name): def isMe(self,name):
print('name=', name, 'i am bui')
return name=='bui' return name=='bui'
async def datahandle(self, request): async def datahandle(self, request):
params = await self.resource.y_env['request2ns']() params = await self.resource.y_env['request2ns']()
await super().datahandle(request) await super().datahandle(request)
print(f'{self.content=}')
if params.get('_webbricks_',None): if params.get('_webbricks_',None):
return return
txt = self.content txt = self.content