mirror of
https://gitee.com/blossom-editor/blossom.git
synced 2025-12-06 16:58:26 +08:00
fix: 补充项目注释
This commit is contained in:
parent
1554ec1841
commit
6007d14914
@ -10,6 +10,9 @@ import javax.validation.constraints.NotNull;
|
||||
@Data
|
||||
public class KickOutReq {
|
||||
|
||||
/**
|
||||
* 用户ID
|
||||
*/
|
||||
@NotNull(message = "userId 为必填项")
|
||||
private Long userId;
|
||||
}
|
||||
|
||||
@ -23,6 +23,8 @@ public class WeatherController {
|
||||
|
||||
/**
|
||||
* 获取天气信息
|
||||
*
|
||||
* @param location 用户位置
|
||||
*/
|
||||
@GetMapping
|
||||
public R<WeatherRes> weather(@RequestParam(value = "location", required = false) String location) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user