From 659e76c8026158dde2d9ec42254709edf8ba7973 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 29 Jun 2026 11:55:02 +0000 Subject: [PATCH] style: auto format --- lib/routes/toutiao/a-bogus.ts | 2 +- lib/routes/ustc/job.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/toutiao/a-bogus.ts b/lib/routes/toutiao/a-bogus.ts index d243420cc..5ab6716f3 100644 --- a/lib/routes/toutiao/a-bogus.ts +++ b/lib/routes/toutiao/a-bogus.ts @@ -303,7 +303,7 @@ function generate_rc4_bb_str(url_search_params, user_agent, window_env_str, suff // 对后缀两次sm3之的结果 const cus = sm3.sum(sm3.sum(suffix)); // 对ua处理之后的结果 - const ua_key = Reflect.apply(String.fromCodePoint, null, [Math.floor(0.003_906_25), 1, 14]); + const ua_key = Reflect.apply(String.fromCodePoint, null, [Math.floor(0.00390625), 1, 14]); const ua = sm3.sum(result_encrypt(rc4_encrypt(user_agent, ua_key), 's3')); // const end_time = Date.now(); diff --git a/lib/routes/ustc/job.ts b/lib/routes/ustc/job.ts index d34f8ede7..9a67a31fa 100644 --- a/lib/routes/ustc/job.ts +++ b/lib/routes/ustc/job.ts @@ -41,7 +41,7 @@ export const route: Route = { async function handler(ctx) { const category = ctx.req.param('category') ?? 'joblist2'; - const rand = 0.012_345_678_901_234_56; + const rand = 0.01234567890123456; const apiRootUrl = 'http://ustc.ahbys.com'; const rootUrl = 'http://www.job.ustc.edu.cn';