| | |
| | | //package com.stylefeng.guns.config; |
| | | // |
| | | //import com.stylefeng.guns.modular.system.util.PushURL; |
| | | //import lombok.Data; |
| | | //import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | //import org.springframework.context.annotation.Configuration; |
| | | // |
| | | //import javax.annotation.PostConstruct; |
| | | // |
| | | ///** |
| | | // * @author zhibing.pu |
| | | // * @Date 2025/8/12 13:58 |
| | | // */ |
| | | //@Data |
| | | //@Configuration |
| | | //@ConfigurationProperties(prefix = "qyt") |
| | | //public class QYTConfig { |
| | | // /** |
| | | // * 出行网关接口地址 |
| | | // */ |
| | | // private String chuxingUrl; |
| | | // /** |
| | | // * 代驾网关接口地址 |
| | | // */ |
| | | // private String daijiaUrl; |
| | | // |
| | | // |
| | | // @PostConstruct |
| | | // public void init() { |
| | | // PushURL.setQytConfig(this); |
| | | // } |
| | | //} |
| | | package com.stylefeng.guns.config; |
| | | |
| | | import lombok.Data; |
| | | import org.springframework.boot.context.properties.ConfigurationProperties; |
| | | import org.springframework.context.annotation.Configuration; |
| | | |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | | * @Date 2025/8/12 13:58 |
| | | */ |
| | | @Data |
| | | @Configuration |
| | | @ConfigurationProperties(prefix = "qyt") |
| | | public class QYTConfig { |
| | | /** |
| | | * 出行网关接口地址 |
| | | */ |
| | | private String chuxingUrl; |
| | | /** |
| | | * 代驾网关接口地址 |
| | | */ |
| | | private String daijiaUrl; |
| | | } |