| | |
| | | |
| | | |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.management.api.feignClient.ManagementClient; |
| | | import com.ruoyi.study.vo.VipInfoVO; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.ResponseBody; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.Date; |
| | |
| | | |
| | | /** |
| | | * <p> |
| | | * 家长端登录 控制器 |
| | | * 家长端 控制器 |
| | | * </p> |
| | | * |
| | | * @author 无关风月 |
| | | * @since 2024-04-26 |
| | | */ |
| | | @Controller |
| | | @RequestMapping("/login/parent") |
| | | @RestController |
| | | @RequestMapping("/parent") |
| | | public class TParentLoginController { |
| | | |
| | | @ResponseBody |
| | | |
| | | @PostMapping("/loginSms") |
| | | @ApiOperation(value = "短信验证码登录", tags = {"APP-登录注册"}) |
| | | @ApiOperation(value = "短信验证码登录", tags = {"家长端-登录注册"}) |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(value = "电话号码", name = "phone", dataType = "string", required = true), |
| | | @ApiImplicitParam(value = "短信验证码", name = "code", dataType = "string", required = true), |
| | |
| | | |
| | | return null; |
| | | } |
| | | @ResponseBody |
| | | @PostMapping("/base/appUser/logout") |
| | | @ApiOperation(value = "退出登录", tags = {"我的"}) |
| | | @PostMapping("/logout") |
| | | @ApiOperation(value = "退出登录", tags = {"家长端-退出登录"}) |
| | | @ApiImplicitParams({ |
| | | @ApiImplicitParam(name = "Authorization", value = "Bearer eyJhbGciOiJIUzUxMiJ....", required = true, paramType = "header") |
| | | }) |
| | |
| | | |
| | | return AjaxResult.success("退出成功"); |
| | | } |
| | | |
| | | |
| | | } |
| | | |