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

[Bug]: code refactor #15

Open
qingfeng777 opened this issue Jul 1, 2022 · 0 comments
Open

[Bug]: code refactor #15

qingfeng777 opened this issue Jul 1, 2022 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@qingfeng777
Copy link
Contributor

版本

v1.0

Node 版本

v16.14.0

Golang 版本

go 1.18

是否依旧存在

可以

bug描述

初始化部分的AuthorityId, UserId等存在硬编码’888‘等, 文件之一: source/system/data_authorities.go。

修改建议

创建单独的consts目录,存放常量来统一初始化的值。

@qingfeng777 qingfeng777 added bug Something isn't working good first issue Good for newcomers labels Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant