mirror of
https://gitee.com/xiangheng/x_admin.git
synced 2025-10-05 16:17:00 +08:00
优化
This commit is contained in:
@@ -26,12 +26,12 @@ func EncodeInt(value any) any {
|
||||
case *string:
|
||||
return *i
|
||||
default:
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
// return val
|
||||
}
|
||||
}
|
||||
return ""
|
||||
return nil
|
||||
}
|
||||
func DecodeInt(value any) (any, error) {
|
||||
switch v := value.(type) {
|
||||
|
Reference in New Issue
Block a user