WangHu17 / Course_Selection_and_Grade_Management_system

学生选课及成绩管理系统(SSM project)-系统分学生、老师、教秘3个角色(内附截图及说明)
57 stars 10 forks source link

登陆不进去按了登陆没反应 #1

Open Nightasksdays opened 2 years ago

Nightasksdays commented 2 years ago

登陆不进去按了登陆没反应

WangHu17 commented 2 years ago

浏览器或编译器控制台有报错吗?

------------------ 原始邮件 ------------------ 发件人: "WangHu17/Course_Selection_and_Grade_Management_system" @.>; 发送时间: 2022年3月21日(星期一) 中午1:49 @.>; @.***>; 主题: [WangHu17/Course_Selection_and_Grade_Management_system] 登陆不进去按了登陆没反应 (Issue #1)

登陆不进去按了登陆没反应

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

Nightasksdays commented 2 years ago

都没有报错就是点击登陆登不进去 你那个jdbc.url我改成jdbc.url=jdbc:mysql://localhost:3306/college?useUnicode=true&characterEncoding=UTF-8了然后把数据库改成自己的库和密码了

WangHu17 commented 2 years ago

那你可以在登录的controller里面的方法中写一句打印语句,看请求有没有发送成功,或者在前端的返回函数中打印,或者debug

------------------ 原始邮件 ------------------ 发件人: "WangHu17/Course_Selection_and_Grade_Management_system" @.>; 发送时间: 2022年3月21日(星期一) 下午2:16 @.>; @.**@.>; 主题: Re: [WangHu17/Course_Selection_and_Grade_Management_system] 登陆不进去按了登陆没反应 (Issue #1)

都没有报错就是点击登陆登不进去 你那个jdbc.url我改成jdbc.url=jdbc:mysql://localhost:3306/college?useUnicode=true&characterEncoding=UTF-8了然后把数据库改成自己的库和密码了

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

yxwang0105 commented 2 years ago

那你可以在登录的controller里面的方法中写一句打印语句,看请求有没有发送成功,或者在前端的返回函数中打印,或者debug ------------------ 原始邮件 ------------------ 发件人: "WangHu17/Course_Selection_and_Grade_Management_system" @.>; 发送时间: 2022年3月21日(星期一) 下午2:16 @.>; @.**@.>; 主题: Re: [WangHu17/Course_Selection_and_Grade_Management_system] 登陆不进去按了登陆没反应 (Issue #1) 都没有报错就是点击登陆登不进去 你那个jdbc.url我改成jdbc.url=jdbc:mysql://localhost:3306/college?useUnicode=true&characterEncoding=UTF-8了然后把数据库改成自己的库和密码了 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>

我在前端console.log(result),可是返回了整个index页面。又在controller放了一个System.out.println,但是也没有任何输出

15912072620 commented 1 year ago

浏览器或编译器控制台有报错吗? ... ------------------  原始邮件  ------------------ 发件人: "WangHu17/Course_Selection_and_Grade_Management_system" @.>; 发送时间:  2022年3月21日(星期一) 中午1:49 @.>; @.>; 主题:  [WangHu17/Course_Selection_and_Grade_Management_system] 登陆不进去按了登陆没反应 (Issue#1 ) 登陆不进去按了登陆没反应 — Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread. Message ID: @.> 登录控制台有报错,怎么办

WangHu17 commented 1 year ago

问题已解决,是登录请求被过滤器拦截了。修改后的代码已上传。