Code Monkey home page Code Monkey logo

Comments (11)

hisenyuan avatar hisenyuan commented on August 22, 2024

已经更新,readme
之前里面的路径我单词拼写错误
家里的键盘比较差...

from ssm_booksystem.

mppy1 avatar mppy1 commented on August 22, 2024

大神都是这么晚还不睡觉的吗?帮我看看为什么不能登录呢?

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

更正了地址之后,应该就能登陆、
只能用我提供的帐号密码,还没做新增

from ssm_booksystem.

mppy1 avatar mppy1 commented on August 22, 2024

login | (failed) | xhr | jquery.min.js:4 | 0 B | 2.00 s
应该是JS错误了,不能登录的。用的就是你提供的账号

你改过的代码还没有提交呢

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

打开 http://localhost:8080/front/html/login.html
账号/密码:hisen/hisen
F12控制台会打印相关token(token有效期一个小时)
打开 http://localhost:8080/front/html/register.html
随便填写,提交
有response返回成功,说明ok

from ssm_booksystem.

mppy1 avatar mppy1 commented on August 22, 2024

jquery.min.js:4 POST http://localhost:8183/login net::ERR_CONNECTION_REFUSED
这个错误是我没改端口的时候在控制台出现的

jquery.min.js:4 POST http://localhost:8080/login 500 (Internal Server Error)
我改一下端口还是出现错误,看不到token

from ssm_booksystem.

mppy1 avatar mppy1 commented on August 22, 2024

register.js:7 输出:undefined
Failed to load resource: net::ERR_CONNECTION_REFUSED
注册的输出不是OK

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

不能这么登陆,必须要这个地址登陆的: http://localhost:8080/front/html/login.html
而且js里面ajax方法的地址也要改成你的端口

from ssm_booksystem.

mppy1 avatar mppy1 commented on August 22, 2024

是的呢,是这样登录的

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

登陆是成功的?
F12打开控制台看看吧,里面会有log

register.js:7 输出:undefined 这个是输出jwt令牌的,肯定是你没有登陆成功,本地没有存储到

from ssm_booksystem.

mppy1 avatar mppy1 commented on August 22, 2024

@hisenyuan 不能传图片,但是我是按照
打开 http://localhost:8080/front/html/login.html
账号/密码:hisen/hisen
上面这个打开。
F12控制台会打印相关token(token有效期一个小时),我的控制台显示的错误
jquery.min.js:4 POST http://localhost:8183/login net::ERR_CONNECTION_REFUSED

from ssm_booksystem.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.