refactor🎨: 缩减函数名称
This commit is contained in:
1 parent
c96d9c35a7
commit
9a2c0729f6
22 files changed
+111
-126
No files matched your search
@@ -18,7 +18,7 @@ type SysDictData struct {
|
||||
api.Api
|
||||
}
|
||||
|
||||
// GetList
|
||||
// GetPage
|
||||
// @Summary 字典数据列表
|
||||
// @Description 获取JSON
|
||||
// @Tags 字典数据
|
||||
@@ -30,7 +30,7 @@ type SysDictData struct {
|
||||
// @Success 200 {object} response.Response "{"code": 200, "data": [...]}"
|
||||
// @Router /api/v1/dict/data [get]
|
||||
// @Security Bearer
|
||||
func (e SysDictData) GetList(c *gin.Context) {
|
||||
func (e SysDictData) GetPage(c *gin.Context) {
|
||||
s := service.SysDictData{}
|
||||
req := dto.SysDictDataSearch{}
|
||||
err := e.MakeContext(c).
|
||||
|
||||
Reference in new issue
Block a user