Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APIJSONBoot-MultiDataSource工程启动报错: !!!! 查询权限配置异常 !!! Unknown column 'apijson' in 'where clause' #18

Closed
lesliechueng opened this issue Apr 21, 2022 · 2 comments

Comments

@lesliechueng
Copy link

lesliechueng commented Apr 21, 2022

【标题】:Unknown column 'apijson' in 'where clause'
【内容】:环境信息
系统: Windows 10 10.0
数据库: MYSQL 5.7.22
JDK: 1.8.0_181 amd64
APIJSON: 5.0.0

问题描述
Unknown column 'apijson' in 'where clause'

2022-04-21 07:46:24.770: APIJSONRouterVerifier.ERROR:
接口映射配置测试未通过!
请修改 Document 表里的记录!
保证前端看到的接口映射配置文档是正确的并且能正常使用!!!

原因:
查询权限配置异常 !

@lesliechueng lesliechueng changed the title APIJSONBoot-MultiDataSource工程启动报错: 不允许调用远程函数 countArray ! APIJSONBoot-MultiDataSource工程启动报错: !!!! 查询权限配置异常 !!! Unknown column 'apijson' in 'where clause' Apr 21, 2022
@lesliechueng
Copy link
Author

lesliechueng commented Apr 21, 2022

排查发现会因为数据库脚本该表不包含apijson字段,使用的脚本是APIJSON-Demo-master\MySQL下的sys.sql

@TommyLemon
Copy link
Owner

TommyLemon commented Apr 23, 2022

感谢反馈,不过 issue 提错了地方,APIAuto 不是 APIJSON,这是两个很不一样的项目
Tencent/APIJSON#36

解决方法
https://github.com/APIJSON/APIJSON-Demo/issues/20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants