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

功能编码 #4

Closed
xuebimi opened this issue Aug 25, 2018 · 2 comments
Closed

功能编码 #4

xuebimi opened this issue Aug 25, 2018 · 2 comments

Comments

@xuebimi
Copy link

xuebimi commented Aug 25, 2018

请问博主大大一下,功能模块中功能编码是和后台接口一一对应的吗?
在 角色管理模块中功能有:角色列表、角色编辑、角色删除,这个角色编辑包含角色添加吗?

@wjkang
Copy link
Owner

wjkang commented Aug 25, 2018

@xuebimi 嗯,功能编码是在后台接口编码处是写死的。这些都是根据需求来的。比如做一个文章管理功能,在开发之前就要确定这个文章管理模块下包含哪些功能,定好对应的功能编码,后端写接口的时候直接把功能码“绑定”在接口方法上(对于怎么“绑定”,不同的后端语言有不同的方法)(访问接口的时候校验访问用户是否具备相应的权限)

@xuebimi
Copy link
Author

xuebimi commented Aug 25, 2018

似乎有一点明白了,感谢!加油!

@wjkang wjkang closed this as completed Nov 2, 2018
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