648540858
2021-11-12 eca1e05aeed3c51cce36bbce80c71bc3cbcea87d
src/main/java/com/genersoft/iot/vmp/web/ApiController.java
@@ -5,15 +5,13 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;
/**
 * 兼容LiveGBS的API:系统接口
 * API兼容:系统接口
 */
@Controller
@CrossOrigin
@@ -40,10 +38,10 @@
        result.put("ServerTime","2020-09-02 17:11");
        result.put("StartUpTime","2020-09-02 17:11");
        result.put("Server","");
        result.put("SIPSerial", sipConfig.getSipId());
        result.put("SIPRealm", sipConfig.getSipDomain());
        result.put("SIPHost", sipConfig.getSipIp());
        result.put("SIPPort", sipConfig.getSipPort());
        result.put("SIPSerial", sipConfig.getId());
        result.put("SIPRealm", sipConfig.getDomain());
        result.put("SIPHost", sipConfig.getIp());
        result.put("SIPPort", sipConfig.getPort());
        result.put("ChannelCount","1000");
        result.put("VersionType","");
        result.put("LogoMiniText","");
@@ -67,10 +65,10 @@
//        result.put("ServerTime","2020-09-02 17:11");
//        result.put("StartUpTime","2020-09-02 17:11");
//        result.put("Server","");
//        result.put("SIPSerial", sipConfig.getSipId());
//        result.put("SIPRealm", sipConfig.getSipDomain());
//        result.put("SIPHost", sipConfig.getSipIp());
//        result.put("SIPPort", sipConfig.getSipPort());
//        result.put("SIPSerial", sipConfig.getId());
//        result.put("SIPRealm", sipConfig.getDomain());
//        result.put("SIPHost", sipConfig.getIp());
//        result.put("SIPPort", sipConfig.getPort());
//        result.put("ChannelCount","1000");
//        result.put("VersionType","");
//        result.put("LogoMiniText","");