Newer
Older
huludao / src / main / java / com / newfiber / api / config / UrlConfig.java
@新烽开发者 新烽开发者 on 22 Jul 411 bytes init
package com.newfiber.api.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "huludao.url")
public class UrlConfig {

    @Value(value = "${huludao.url.main}")
    private String huludaoMainUrl;

}