mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 09:46:28 +08:00
judge: 绕过PERM_VIEW_PROBLEM_HIDDEN检查
This commit is contained in:
1 parent
c9fdd26504
commit
6fb05fd5a0
5 files changed
+29
-17
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user