judge: 绕过PERM_VIEW_PROBLEM_HIDDEN检查

This commit is contained in:
undefined committed 2021-02-24 13:04:28 +08:00
1 parent c9fdd26504
commit 6fb05fd5a0
5 files changed
+29 -17

No files matched your search

+2 -2
View File
@@ -209,8 +209,8 @@ export default class Hydro {
log.info(`Getting problem data: ${this.config.host}/${domainId}/${pid}`);
if (next) next({ judge_text: '正在同步测试数据,请稍后' });
await this.ensureLogin();
const res = await this.axios.post(`/d/${domainId}/p/${pid}/files`, {
operation: 'get_links',
const res = await this.axios.post(`/d/${domainId}/judge/files`, {
pid,
files: filenames,
});
for (const name in res.data.links) {