From ac325361ef9f1d28343e2ffab1ce0ec786a6ff90 Mon Sep 17 00:00:00 2001 From: devops <993921@qq.com> Date: Tue, 5 Mar 2024 23:11:15 +0800 Subject: [PATCH] use pointer --- rpc_server/api/v1/get_support_strategy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc_server/api/v1/get_support_strategy.go b/rpc_server/api/v1/get_support_strategy.go index 243b5b9a..684d0fe1 100644 --- a/rpc_server/api/v1/get_support_strategy.go +++ b/rpc_server/api/v1/get_support_strategy.go @@ -32,7 +32,7 @@ func GetSupportStrategy(c *gin.Context) { response.SetHttpCode(http.StatusBadRequest).FailCode(c, http.StatusBadRequest, errStr) return } - result, err := operator.GetSupportStrategyExecute(request) + result, err := operator.GetSupportStrategyExecute(&request) if err != nil { errStr := fmt.Sprintf("%v", err) response.SetHttpCode(http.StatusInternalServerError).FailCode(c, http.StatusInternalServerError, errStr)