From 3d696fabfde42023b97de9d92fe4ac8557be7fcf Mon Sep 17 00:00:00 2001 From: Rzy <465386466@qq.com> Date: Wed, 19 Jun 2024 10:23:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E8=BF=9E=E5=A4=A9=E4=B8=8Bcode?= =?UTF-8?q?=E6=B3=9B=E5=9E=8B=E9=97=AE=E9=A2=98=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/rpc/internal/logic/po/zltx/zltxOrder.go | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/cmd/rpc/internal/logic/po/zltx/zltxOrder.go b/cmd/rpc/internal/logic/po/zltx/zltxOrder.go index 038815c..88514f3 100644 --- a/cmd/rpc/internal/logic/po/zltx/zltxOrder.go +++ b/cmd/rpc/internal/logic/po/zltx/zltxOrder.go @@ -4,14 +4,12 @@ import ( "context" "encoding/json" "fmt" - "time" "trasfer_middleware/cmd/rpc/etc" "trasfer_middleware/cmd/rpc/internal/logic/po" "trasfer_middleware/cmd/rpc/internal/logic/po/zltx/types" "trasfer_middleware/cmd/rpc/internal/logic/vo" "trasfer_middleware/cmd/rpc/pb/transfer" "trasfer_middleware/cmd/rpc/pkg/mq" - "trasfer_middleware/until/common" "trasfer_middleware/until/request" "trasfer_middleware/until/sysLog" ) @@ -34,11 +32,11 @@ func NewZltxOrder(conf types.ZLTXConf) *ZltxOrder { } func (r *ZltxOrder) SetData(c context.Context, data map[string]interface{}, config *etc.RockerMqConfig) *ZltxOrderRequest { - data["timeStamp"] = time.Now().Unix() - a := data - delete(a, "extendParameter") - delete(a, "sign") - data["sign"] = common.ZltxSign(a, "8db16e8cc8363ed4eb4c14f9520bcc32") + //data["timeStamp"] = time.Now().Unix() + //a := data + //delete(a, "extendParameter") + //delete(a, "sign") + //data["sign"] = common.ZltxSign(a, "8db16e8cc8363ed4eb4c14f9520bcc32") //data := common.MergeMaps(common.TToMap(p), common.ToMap(r), common.ToMap(e)) requestBody := make(map[string]string, len(data)) for key, value := range data {