package com.product.mobile.core.controller; import javax.servlet.http.HttpServletRequest; import com.product.util.BaseUtil; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.bind.annotation.RestController; import com.product.core.controller.support.AbstractBaseController; import com.product.core.spring.context.SpringMVCContextHolder; import com.product.module.sys.version.ApiVersion; /** * APP连接测试 * * @author shicf */ @RequestMapping("/api/mobile") @RestController public class MobileNetWorkTestController extends AbstractBaseController { /** * 中标项目任务保存 * * @param request * @return */ @RequestMapping(value = "/network/check/{version}", method = RequestMethod.POST) @ApiVersion(1) public String netWorkTest(HttpServletRequest request) { SpringMVCContextHolder.getSystemLogger().error("手机连接测试成功................."); return this.OK(); } }