mirror of
https://gitee.com/dromara/mayfly-go
synced 2025-12-27 01:46:35 +08:00
refactor: interface{} -> any
feat: 新增外链菜单
This commit is contained in:
@@ -22,7 +22,7 @@ func (r *Redis) GetListValue(rc *req.Ctx) {
|
||||
res, err := cmdable.LRange(ctx, key, int64(start), int64(stop)).Result()
|
||||
biz.ErrIsNilAppendErr(err, "获取list值失败: %s")
|
||||
|
||||
rc.ResData = map[string]interface{}{
|
||||
rc.ResData = map[string]any{
|
||||
"len": len,
|
||||
"list": res,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user