Merge remote-tracking branch 'origin/gva_gormv2_dev' into gva_gormv2_dev

This commit is contained in:
QM303176530
2020-11-08 14:20:19 +08:00
23 changed files with 501 additions and 515 deletions

View File

@@ -15,7 +15,7 @@ import (
// @Security ApiKeyAuth
// @accept multipart/form-data
// @Produce application/json
// TODO @Param file formData file true "断点续传插件版示例"
// @Param file formData file true "断点续传插件版示例"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"切片创建成功"}"
// @Router /simpleUploader/upload [post]
func SimpleUploaderUpload(c *gin.Context) {

View File

@@ -19,7 +19,7 @@ import (
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// TODO @Param data body model.AutoCodeStruct true "创建自动代码"
// @Param data body model.AutoCodeStruct true "创建自动代码"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /autoCode/createTemp [post]
func CreateTemp(c *gin.Context) {

View File

@@ -62,7 +62,6 @@ func DeleteSysOperationRecordByIds(c *gin.Context) {
_ = c.ShouldBindJSON(&IDS)
if err := service.DeleteSysOperationRecordByIds(IDS); err != nil {
global.GVA_LOG.Error("批量删除失败!", zap.Any("err", err))
response.FailWithMessage("批量删除失败", c)
} else {
response.OkWithMessage("批量删除成功", c)