工业级运维app手机api
沈斌
2017-10-25 c212d4a32be33f173a1f4a58310349e98860c8d2
src/main/java/com/moral/monitor/controller/ScreenApiController.java
@@ -10,6 +10,7 @@
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
@@ -29,6 +30,7 @@
 */
@RestController
@RequestMapping(value = "screen")
@CrossOrigin(origins = "*", maxAge = 3600)
public class ScreenApiController {
   @Autowired