| | |
| | | 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 |
| | |
| | | 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",""); |
| | |
| | | // 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",""); |