- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 手机号或者邮箱注册功能
Controller@ApiOperation(value = "手机或邮箱注册(LB)", notes = "若注册成功,返回token") @ApiImplicitParam(name = "param", value = "注册参数", required = true, dataType = "RegisterParamV2", paramType = "body") @PostMapping("register/v3") @ApiResponses({
2021-09-26 19:51:25
357
原创 Swagger的使用
一:引入配置类<!--swagger--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.7.0</version> </dependency
2021-09-26 19:19:34
125
原创 发送手机或者邮箱验证码的通用功能
ConmmonController层@ApiOperation(value = "发送验证码V2") @ApiImplicitParam(name = "param", value = "发送验证码参数", required = true, dataType = "SendCodeParam", paramType = "body") @PostMapping("send_code/v2") //@RequestHeader(Constant.LANGUAGE_HEADER)
2021-09-26 19:13:02
806
原创 基于手机号添加邮箱登陆功能
Controller层@ApiOperation(value = "手机号或者邮箱登录(L)", notes = "若登录成功,则返回data为token", response = LoginVO.class) @ApiImplicitParam(name = "param", value = "登录参数", required = true, dataType = "LoginParam", paramType = "body") @ApiResponses({
2021-09-26 13:15:11
237
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人