Commit cd93bf19fbf787d0d5da3c7e5952b1e3eb4a1bed
1 parent
fd894bb0
1.国际化占位
Showing
1 changed file
with
1 additions
and
3 deletions
src/main/java/com/bsth/common/ResponseCode.java
| 1 | package com.bsth.common; | 1 | package com.bsth.common; |
| 2 | 2 | ||
| 3 | -import com.bsth.util.I18n; | ||
| 4 | - | ||
| 5 | /** | 3 | /** |
| 6 | * | 4 | * |
| 7 | * @ClassName: ResponseCode | 5 | * @ClassName: ResponseCode |
| @@ -12,7 +10,7 @@ import com.bsth.util.I18n; | @@ -12,7 +10,7 @@ import com.bsth.util.I18n; | ||
| 12 | */ | 10 | */ |
| 13 | public enum ResponseCode { | 11 | public enum ResponseCode { |
| 14 | 12 | ||
| 15 | - SUCCESS(I18n.getInstance().getMessage("txt-3324"), 200), | 13 | + SUCCESS("操作成功", 200), |
| 16 | NO_PERMISSION("无资源访问权限", 403), | 14 | NO_PERMISSION("无资源访问权限", 403), |
| 17 | NO_AUTHENTICATION("客户端未授权", 407), | 15 | NO_AUTHENTICATION("客户端未授权", 407), |
| 18 | ERROR("服务器异常", 500); | 16 | ERROR("服务器异常", 500); |