| | |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.util.StringUtils; |
| | | import org.springframework.validation.annotation.Validated; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | |
| | | } |
| | | return R.ok(); |
| | | } |
| | | |
| | | @PostMapping("/getUserInfoParent") |
| | | @ApiOperation(value = "获取用户信息", tags = {"家长端-获取用户信息"}) |
| | | public R<TUser> getUserInfo() { |
| | |
| | | return R.tokenError("登录失效"); |
| | | } |
| | | } |
| | | |
| | | @PostMapping("/parentPage") |
| | | @ApiOperation(value = "平板", tags = {"启动页"}) |
| | | public R<String> parentPage() { |
| | |
| | | |
| | | /** |
| | | * 学生端退出登录 |
| | | * |
| | | * @param request 请求信息 |
| | | */ |
| | | @PostMapping("/logoutStudy") |
| | |
| | | } |
| | | return R.ok(data); |
| | | } |
| | | |
| | | /** |
| | | * 获取用户信息 |
| | | * |