interface -> any

This commit is contained in:
2024-08-09 17:17:20 +08:00
parent ca811dbdf4
commit ce2f962784
7 changed files with 55 additions and 55 deletions

View File

@ -47,9 +47,9 @@ func (ad *AppDao) GetDetailByID(dbInstance *gorm.DB, ID int64) (*App, error) {
}
// GetList 获取数据列表
func (ad *AppDao) GetList(dbInstance *gorm.DB, condition map[string]interface{}, limit int, offset int) ([]App, error) {
func (ad *AppDao) GetList(dbInstance *gorm.DB, condition map[string]any, limit int, offset int) ([]App, error) {
if nil == condition {
condition = make(map[string]interface{})
condition = make(map[string]any)
}
var (
err error