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

Initial commit #668

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Jarron1
Copy link

@Jarron1 Jarron1 commented Jun 15, 2024

package com.itheima.configuration;

import com.itheima.annotation.EnableHelloWorld;
import com.itheima.conditionl.ConditionalOnSystemProperty;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Configuration;

@configuration //注解装配
@EnableHelloWorld//模块装配
@ConditionalOnSystemProperty(name = "user.name",value = "Mercy")
public class HelloWorldAutoConfiguration {

}

@Jarron1
Copy link
Author

Jarron1 commented Jun 15, 2024

Please review, forgive me been awhile..

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.

1 participant