From f5a5e2ba8bc6dd025c191bc927a36c8e19fc2449 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 3 Apr 2025 16:19:28 +0800 Subject: [PATCH] update: law_plat --- cmd/law_plat.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/law_plat.go b/cmd/law_plat.go index 735f2cc..3432991 100644 --- a/cmd/law_plat.go +++ b/cmd/law_plat.go @@ -26,7 +26,7 @@ var lawCmd = &cobra.Command{ Short: "Batch processing operations of the law platform", Run: func(cmd *cobra.Command, args []string) { initkit.BindFlags(cmd) - handle() + handleLaw() }, } @@ -36,7 +36,7 @@ func defFlagsLaw(cmd *cobra.Command) { var lawClient = resty.New().SetRetryCount(5).SetRetryWaitTime(10 * time.Second) -func handle() { +func handleLaw() { resp, err := lawClient.R(). SetHeaders(map[string]string{ "Content-type": "application/x-www-form-urlencoded; charset=UTF-8",