错误码模块,代码 REVIEW

This commit is contained in:
YunaiV
2020-05-11 21:45:16 +08:00
parent b227928135
commit b45739d151
7 changed files with 23 additions and 6 deletions

View File

@@ -27,9 +27,9 @@ import org.springframework.web.bind.annotation.*;
* @author youyusi
*/
@RestController
@RequestMapping(MallConstants.ROOT_PATH_ADMIN + "/errorcode")
@RequestMapping(MallConstants.ROOT_PATH_ADMIN + "/errorcode") // TODO FROM 芋艿 to 鱿鱼须error-code
@Api("错误码")
public class SystemErrorCodeController {
public class SystemErrorCodeController { // TODO FROM 芋艿 to 鱿鱼须:变量要空行
@Autowired
private ErrorCodeService errorCodeService;

View File

@@ -12,4 +12,7 @@ import lombok.experimental.Accessors;
@Data
@Accessors(chain = true)
public class ErrorCodePageRequest {
// TODO FROM 芋艿 to 鱿鱼须:分页参数?
// TODO FROM 芋艿 to 鱿鱼须:对于 rest 的接口,要区分下是给 Admins 管理员还是 Users 用户的
}