From 996fa10b5e9d7cef199d5ea8eef76a56c030a0f4 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 11 Aug 2026 18:15:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20login=20at=20signin.dspy=20=E2=80=94=20w?= =?UTF-8?q?orks=20around=20ahserver=20filename=20conflict?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/index.html | 2 +- wwwroot/pccs/api/{do_login.dspy => signin.dspy} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename wwwroot/pccs/api/{do_login.dspy => signin.dspy} (100%) diff --git a/wwwroot/index.html b/wwwroot/index.html index 3e147df..58dc892 100644 --- a/wwwroot/index.html +++ b/wwwroot/index.html @@ -102,7 +102,7 @@ async function doLogin(){ if(!u||!p){document.getElementById('login-msg').textContent='请输入用户名和密码';return} var fd=new FormData();fd.append('username',u);fd.append('password',p); try{ - var r=await fetch('/pccs/api/do_login.dspy',{method:'POST',body:fd}); + var r=await fetch('/pccs/api/signin.dspy',{method:'POST',body:fd}); var d=await r.json(); if(d.status==='ok'){closeLogin();document.getElementById('login-msg').textContent=''} else document.getElementById('login-msg').textContent=d.message||'登录失败' diff --git a/wwwroot/pccs/api/do_login.dspy b/wwwroot/pccs/api/signin.dspy similarity index 100% rename from wwwroot/pccs/api/do_login.dspy rename to wwwroot/pccs/api/signin.dspy