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

feat: 添加webtag主键隐藏开关 #55

Merged
merged 2 commits into from
May 17, 2020
Merged

Conversation

evildao
Copy link
Contributor

@evildao evildao commented May 16, 2020

No description provided.

@xxjwxc
Copy link
Owner

xxjwxc commented May 16, 2020

感觉还是只控制 id 好一点。
主键很有可能是其它值。你觉得呢?

@evildao
Copy link
Contributor Author

evildao commented May 17, 2020

能在model上面加这个的,基本就是要输出到外面的,正常业务场景里面多半还是需要ID这种东西的
而如果真的遇到要隐藏的话,对于联合主键的表,只监听id关键字就有点鸡肋了,还不如广泛一点,直接把主键给抹掉

@xxjwxc
Copy link
Owner

xxjwxc commented May 17, 2020

先放上去看反馈情况

@xxjwxc xxjwxc merged commit cb7e9d7 into xxjwxc:master May 17, 2020
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

Successfully merging this pull request may close these issues.

2 participants