| | |
| | | |
| | | import com.fgkj.mapper.CheckMobile; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | |
| | | |
| | | @RequestMapping("checkClient") |
| | | @RestController |
| | | @Api |
| | | @Api(tags = "checkClient接口") |
| | | public class CheckClientController{ |
| | | /** |
| | | * 检查访问方式是否为移动端 |
| | |
| | | * @Date : 2014-7-7 下午03:55:19 |
| | | */ |
| | | @GetMapping("check") |
| | | @ApiOperation(notes = "",value="检查访问方式是否为移动端") |
| | | public boolean check(){ |
| | | boolean isFromMobile=false; |
| | | |