Revert "pointChange"
This reverts commit fb4dba161619c043b8acd4971eac5433eb6630ab.
This commit is contained in:
@@ -22,7 +22,7 @@ import (
|
||||
func CreateSysDictionaryDetail(c *gin.Context) {
|
||||
var detail model.SysDictionaryDetail
|
||||
_ = c.ShouldBindJSON(&detail)
|
||||
if err := service.CreateSysDictionaryDetail(&detail); err != nil {
|
||||
if err := service.CreateSysDictionaryDetail(detail); err != nil {
|
||||
global.GVA_LOG.Error("创建失败!", zap.Any("err", err))
|
||||
response.FailWithMessage("创建失败", c)
|
||||
} else {
|
||||
@@ -41,7 +41,7 @@ func CreateSysDictionaryDetail(c *gin.Context) {
|
||||
func DeleteSysDictionaryDetail(c *gin.Context) {
|
||||
var detail model.SysDictionaryDetail
|
||||
_ = c.ShouldBindJSON(&detail)
|
||||
if err := service.DeleteSysDictionaryDetail(&detail); err != nil {
|
||||
if err := service.DeleteSysDictionaryDetail(detail); err != nil {
|
||||
global.GVA_LOG.Error("删除失败!", zap.Any("err", err))
|
||||
response.FailWithMessage("删除失败", c)
|
||||
} else {
|
||||
@@ -102,7 +102,7 @@ func FindSysDictionaryDetail(c *gin.Context) {
|
||||
func GetSysDictionaryDetailList(c *gin.Context) {
|
||||
var pageInfo request.SysDictionaryDetailSearch
|
||||
_ = c.ShouldBindQuery(&pageInfo)
|
||||
if err, list, total := service.GetSysDictionaryDetailInfoList(&pageInfo); err != nil {
|
||||
if err, list, total := service.GetSysDictionaryDetailInfoList(pageInfo); err != nil {
|
||||
global.GVA_LOG.Error("获取失败!", zap.Any("err", err))
|
||||
response.FailWithMessage("获取失败", c)
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user