feat(user): 添加用户分页列表接口及通用查询封装
This commit is contained in:
1 parent
50dc1b0f09
commit
1bca4808e9
11 files changed
+165
-10
No files matched your search
@@ -61,7 +61,7 @@ func OkWithMsg(msg string, c *gin.Context) {
|
||||
Ok(gin.H{}, Success, msg, c)
|
||||
}
|
||||
|
||||
func OkWithList(list any, count int64, c *gin.Context) {
|
||||
func OkWithList(list any, count int, c *gin.Context) {
|
||||
Ok(map[string]any{
|
||||
"list": list,
|
||||
"count": count,
|
||||
|
||||
Reference in new issue
Block a user