core: use Content/Name/Title to replace String

This commit is contained in:
undefined committed 2021-04-08 20:58:08 +08:00
1 parent 05968798fe
commit 2814bb51b9
15 files changed
+126 -117

No files matched your search

+2 -2
View File
@@ -18,9 +18,9 @@ const RecordHandler = contest.ContestHandlerMixin(Handler);
class RecordListHandler extends RecordHandler {
@param('page', Types.PositiveInt, true)
@param('pid', Types.String, true)
@param('pid', Types.Name, true)
@param('tid', Types.ObjectID, true)
@param('uidOrName', Types.String, true)
@param('uidOrName', Types.Name, true)
@param('allDomain', Types.Boolean, true)
async get(domainId: string, page = 1, pid?: string, tid?: ObjectID, uidOrName?: string, all = false) {
this.response.template = 'record_main.html';