|
|
package com.yoho.ufo.order.constant;
|
|
|
|
|
|
import com.yoho.core.config.ConfigReader;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
/**
|
|
|
* Created by li.ma on 2019/4/15.
|
|
|
*/
|
|
|
@Service
|
|
|
public class OrderConfigConstant {
|
|
|
@Autowired
|
|
|
private ConfigReader configReader;
|
|
|
|
|
|
// 获取视频生成方式。true 老的七牛直播方式 false 则代表NVR方式
|
|
|
public boolean getVedioConfig() {
|
|
|
return configReader.getBoolean("ufo.Vedio.Config", true);
|
|
|
}
|
|
|
} |
...
|
...
|
|