- package com.yingying.tourist.business;
- import org.springframework.beans.factory.annotation.Value;
- import org.springframework.stereotype.Component;
- @Component
- public class BusinessYml {
- @Value("${session.domain}")private String COOKIEDOMAIN;
- public String getCookieDomain() {
- return COOKIEDOMAIN;
- }
- }
|