feat: 优化错误码处理

This commit is contained in:
zhangdeman committed 2026-02-01 15:27:24 +08:00
1 parent a0d52fc093
commit 5fc20082bf
1 file changed
+6
+6
View File
@@ -102,6 +102,12 @@ func MessageWithoutCode() {
//
// Date : 21:16 2022/6/25
func GetMessage(code any, defaultMessage ...string) string {
if nil == code {
return ""
}
if eCode, ok := code.(Code); ok {
code = eCode.Value
}
var (
inputCodeInfo Code
exist bool
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.