Code Monkey home page Code Monkey logo

Comments (13)

adminlove520 avatar adminlove520 commented on May 20, 2024

导入hosptial.sql时,数据库无数据,因此找不到用户名,后端应该是正常的。是不是初始化数据表有问题,log也没打印出生成表的信息

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

Could not validate configuration attributes as the SecurityMetadataSource did not return any attributes from getAllConfigAttributes()
您看下这条信息

from hospital.

YuJian95 avatar YuJian95 commented on May 20, 2024

部署的时候出现“Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.”的错误,请问怎么解决呀

这个问题把application-dev.yml重命名为application.yml即可。

from hospital.

YuJian95 avatar YuJian95 commented on May 20, 2024

导入hosptial.sql时,数据库无数据,因此找不到用户名,后端应该是正常的。是不是初始化数据表有问题,log也没打印出生成表的信息

数据库脚本暂时只有数据表结构数据记录晚点更新一下

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

但是数据库还是没数据 admin登录不了的;小程序api能访问到,其余部分还没来得及测

from hospital.

YuJian95 avatar YuJian95 commented on May 20, 2024

Could not validate configuration attributes as the SecurityMetadataSource did not return any attributes from getAllConfigAttributes()
您看下这条信息

这个是正常情况,因为权限那块是根据url动态鉴权,但是读取数据库的权限信息时,出现异常,我也还没解决。但是不影响使用,系统会过滤点没有jwt的请求,放开请求的url在application.yml中配置即可。

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

那admin登录不了这是什么原因呢 提示 用户不存在

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

{"result":{"code":404,"message":"不存在,该账号名称!"},"basePath":"http://localhost:8080","method":"GET","ip":"0:0:0:0:0:0:0:1","parameter":[{"name":"admin"},

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

关键前端也没发现写死的登录数据,应该是在数据库呢,但是数据库整个就是空的

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

方便加个q嘛 791751568

from hospital.

YuJian95 avatar YuJian95 commented on May 20, 2024

关键前端也没发现写死的登录数据,应该是在数据库呢,但是数据库整个就是空的

查看最新的commit,更新了数据库脚本,你也可以直接复制执行,最下方的插入数据操作部分代码

from hospital.

adminlove520 avatar adminlove520 commented on May 20, 2024

好的

from hospital.

YuJian95 avatar YuJian95 commented on May 20, 2024

好的

如对你有所帮助,麻烦请 star、 watch、 fork,一键三连支持一下!
如需讨论或帮助可加Q群:866724245。

from hospital.

Related Issues (9)

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.