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

模板里没有groupId和module的变量注入 #106

Open
liy-cn opened this issue Sep 6, 2024 · 0 comments
Open

模板里没有groupId和module的变量注入 #106

liy-cn opened this issue Sep 6, 2024 · 0 comments

Comments

@liy-cn
Copy link

liy-cn commented Sep 6, 2024

com.alibaba.initializer.generation.extension.SampleCodeContributor 这个类,少了groupId和module的变量注入

image

加上这两行就好了

params.put(BootstrapTemplateRenderConstants.KEY_GROUP_ID, description.getGroupId());
params.put(BootstrapTemplateRenderConstants.KEY_MODULE, module.getName()!=null ? module.getName() : "");
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

1 participant