mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
从syzoj系统导入题目
This commit is contained in:
1 parent
97b0d782b9
commit
ce3d11b999
12 files changed
+179
-34
No files matched your search
@@ -115,6 +115,10 @@ class Handler {
|
||||
this.response.redirect = this.request.headers.referer || '/';
|
||||
}
|
||||
|
||||
translate(str) {
|
||||
return str ? str.toString().translate(this.user.language) : '';
|
||||
}
|
||||
|
||||
binary(data, name) {
|
||||
this.response.body = data;
|
||||
this.response.template = null;
|
||||
|
||||
Reference in new issue
Block a user