This commit is contained in:
none
2023-03-13 10:24:18 +08:00
parent 0221f99ec6
commit c254a42cc6
16 changed files with 167 additions and 37 deletions

View File

@@ -0,0 +1,27 @@
package xyz.playedu.api.controller.frontend;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;
import xyz.playedu.api.request.frontend.ChangePasswordRequest;
import xyz.playedu.api.types.JsonResponse;
/**
* @Author 杭州白书科技有限公司
* @create 2023/3/13 09:21
*/
@RestController
@RequestMapping("/api/v1/user")
public class UserController {
@GetMapping("/detail")
public JsonResponse detail() {
return JsonResponse.data(null);
}
@PutMapping("/password")
public JsonResponse changePassword(@RequestBody @Validated ChangePasswordRequest req) {
return JsonResponse.success();
}
}