From 8a3d1498529b90781113821f8d97a7afee5ed7b3 Mon Sep 17 00:00:00 2001 From: lishihai <dslsh@dscom> Date: 星期一, 17 六月 2024 09:26:27 +0800 Subject: [PATCH] 新增/修改产品-对动态属性的支持Attributes->AttributeValues --- controllers/report_forms_controller.go | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/controllers/report_forms_controller.go b/controllers/report_forms_controller.go index 17288a7..5f907fa 100644 --- a/controllers/report_forms_controller.go +++ b/controllers/report_forms_controller.go @@ -219,6 +219,12 @@ util.ResponseFormat(c, code.RequestParamError, "鍙傛暟瑙f瀽澶辫触锛屾暟鎹被鍨嬮敊璇�") return } + + if params.BaseOperationType == 0 { + util.ResponseFormat(c, code.RequestParamError, "鍩虹鎿嶄綔绫诲瀷涓嶈兘涓虹┖") + return + } + historyFormsService := service.NewHistoryFormsService() list, err := historyFormsService.FetchAll(params) if err != nil { -- Gitblit v1.8.0