提交 b568f824 编写于 作者: P pengcong06

params key error: app -> app_id

上级 e49b2de7
...@@ -515,7 +515,7 @@ func (c *appTemplateOperator) ListAppVersionAudits(conditions *params.Conditions ...@@ -515,7 +515,7 @@ func (c *appTemplateOperator) ListAppVersionAudits(conditions *params.Conditions
if keyword := conditions.Match["keyword"]; keyword != "" { if keyword := conditions.Match["keyword"]; keyword != "" {
describeAppVersionAudits.SearchWord = &wrappers.StringValue{Value: keyword} describeAppVersionAudits.SearchWord = &wrappers.StringValue{Value: keyword}
} }
if appId := conditions.Match["app"]; appId != "" { if appId := conditions.Match[AppId]; appId != "" {
describeAppVersionAudits.AppId = []string{appId} describeAppVersionAudits.AppId = []string{appId}
} }
if versionId := conditions.Match["version"]; versionId != "" { if versionId := conditions.Match["version"]; versionId != "" {
...@@ -586,7 +586,7 @@ func (c *appTemplateOperator) ListAppVersions(conditions *params.Conditions, ord ...@@ -586,7 +586,7 @@ func (c *appTemplateOperator) ListAppVersions(conditions *params.Conditions, ord
if keyword := conditions.Match["keyword"]; keyword != "" { if keyword := conditions.Match["keyword"]; keyword != "" {
describeAppVersionsRequest.SearchWord = &wrappers.StringValue{Value: keyword} describeAppVersionsRequest.SearchWord = &wrappers.StringValue{Value: keyword}
} }
if appId := conditions.Match["app"]; appId != "" { if appId := conditions.Match[AppId]; appId != "" {
describeAppVersionsRequest.AppId = []string{appId} describeAppVersionsRequest.AppId = []string{appId}
} }
if status := conditions.Match["status"]; status != "" { if status := conditions.Match["status"]; status != "" {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册