api/v1/test/industry.go
@@ -116,12 +116,11 @@ if err := iService.CreateIndustry(&industry); err != nil { global.GVA_LOG.Error("更新失败!", zap.Error(err)) response.FailWithMessage("保存失败", c) return } } if err == nil { response.OkWithMessage("更新成功", c) } response.OkWithMessage("更新成功", c) } // FindIndustry 用id查询Industry