新的应用平台采用国密SM4算法进行加解密
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
322 B

package generalmethod
// 泛型基础变量类型
type GenericityVariable interface {
int | int8 | int16 | int32 | int64 | float32 | float64 | string
}
type CommonId[T GenericityVariable] struct {
Id T `json:"id"`
}
// 翻页信息
type PagesTurn struct {
Page int `json:"page"`
PageSize int `json:"pagesize"`
}