fix🐛: 修复2.0 字典类型删除接口500并没有提示消息 (#452)

This commit is contained in:
zhangwenjian committed 2021-06-18 22:24:10 +08:00
1 parent 9ace1d8201
commit 37fe63126c
1 file changed
+1 -1
+1 -1
View File
@@ -157,7 +157,7 @@ func (e SysDictType) Update(c *gin.Context) {
// @Param dictId path int true "dictId"
// @Success 200 {string} string "{"code": 200, "message": "删除成功"}"
// @Success 200 {string} string "{"code": -1, "message": "删除失败"}"
// @Router /api/v1/dict/type/{dictId} [delete]
// @Router /api/v1/dict/type [delete]
func (e SysDictType) Delete(c *gin.Context) {
s := service.SysDictType{}
req := dto.SysDictTypeById{}