Git Product home page Git Product logo

Comments (7)

juzi214032 avatar juzi214032 commented on September 13, 2024

create_timeupdate_time是通用基础字段,如果不想要这两个字段, 不要继承BaseModel即可

from lin-cms-spring-boot.

biotech7 avatar biotech7 commented on September 13, 2024

感谢,的确是继承了basemodel的原因,但是当我把数据库配置修改成自定义参数后,目标是访问goods这个表,结果出现了访问权限的错误,后台错误信息是这样的:

Cause: java.sql.SQLSyntaxErrorException: Table 'goods.lin_permission' doesn't exist
(数据库也取名goods)
请问这是一个怎样的权限错误,在哪里修改参数纠正?

from lin-cms-spring-boot.

juzi214032 avatar juzi214032 commented on September 13, 2024

数据库里面没有lin_permission这张表,检查一下表是否完整

from lin-cms-spring-boot.

biotech7 avatar biotech7 commented on September 13, 2024

没有把这张表拷贝进去,现在解决了,非常感谢!

from lin-cms-spring-boot.

juzi214032 avatar juzi214032 commented on September 13, 2024

不客气

from lin-cms-spring-boot.

biotech7 avatar biotech7 commented on September 13, 2024

我想用其它名字建一个超级管理员(root)的登录账户(比如用admin),在lin_user_identity表中,把admin的user_id设成了1(默认是2),注入对应密码,然后通过postman用admin登录,结果返回服务器内部错误。怎样才能设置成功?

from lin-cms-spring-boot.

juzi214032 avatar juzi214032 commented on September 13, 2024

我想用其它名字建一个超级管理员(root)的登录账户(比如用admin),在lin_user_identity表中,把admin的user_id设成了1(默认是2),注入对应密码,然后通过postman用admin登录,结果返回服务器内部错误。怎样才能设置成功?

请重新提一个issue

from lin-cms-spring-boot.

Related Issues (20)

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.