This commit is contained in:
yumoqing 2023-06-08 11:38:12 +08:00
parent ccfe0eeb82
commit 494a3eb8f8

View File

@ -216,6 +216,9 @@ class ProcessorResource(AppLogger, StaticResource,Url2File):
return await auth.get_auth(request) return await auth.get_auth(request)
self.y_env.i18n = serveri18n self.y_env.i18n = serveri18n
self.y_env.info = self.info
self.y_env.error = self.error
self.y_env.debug = self.debug
self.y_env.remember_user = remember_user self.y_env.remember_user = remember_user
self.y_env.forget_user = forget_user self.y_env.forget_user = forget_user
self.y_env.get_user = get_user self.y_env.get_user = get_user