fix: 修复评论接口

This commit is contained in:
MoeFurina
2026-07-17 20:11:20 +08:00
parent 321c25bd7d
commit 2fa78c3826
10 changed files with 62 additions and 10 deletions
+1 -1
View File
@@ -172,7 +172,7 @@
setTag('s1tag', 'busy', '注册中…')
setNum('s1num', false)
try {
const res = await fetch(nocache(base + '/register/checktoken?refresh=1'))
const res = await fetch(nocache(base + '/register/checktoken/v2?refresh=1'))
const data = await res.json()
$('s1pre').textContent = JSON.stringify(data, null, 2)
if (data.token) {
+1 -1
View File
@@ -88,7 +88,7 @@
tag.textContent = '获取中…'
try {
const url = base + '/register/checktoken' + (refresh ? '?refresh=1' : '')
const url = base + '/register/checktoken/v2' + (refresh ? '?refresh=1' : '')
const res = await fetch(url)
const data = await res.json()
$('respDisplay').textContent = JSON.stringify(data, null, 2)