12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- /*
- * *************************************************
- * Copyright (c) 2018 QMTH. All Rights Reserved.
- * Created by Deason on 2018-07-17 11:15:46.
- * *************************************************
- */
- package cn.com.qmth.examcloud.app.service;
- import org.slf4j.Logger;
- import org.slf4j.LoggerFactory;
- import org.springframework.beans.factory.annotation.Value;
- import org.springframework.stereotype.Component;
- /**
- * 属性配置服务类
- */
- @Component
- public class PropertyService {
- private static Logger log = LoggerFactory.getLogger(PropertyService.class);
- @Value("${examcloud.exam.admin.url}")
- private String examAdminUrl;
- @Value("${examcloud.online.exam.url}")
- private String onlineExamUrl;
- @Value("${examcloud.question.pool.url}")
- private String questionPoolUrl;
- @Value("${examcloud.user.auth.url}")
- private String userAuthUrl;
- @Value("${examcloud.upyun.url}")
- private String upYunUrl;
- public String getExamAdminUrl() {
- return examAdminUrl;
- }
- public String getOnlineExamUrl() {
- return onlineExamUrl;
- }
- public String getQuestionPoolUrl() {
- return questionPoolUrl;
- }
- public String getUserAuthUrl() {
- return userAuthUrl;
- }
- public String getUpYunUrl() {
- return upYunUrl;
- }
- }
|