直连天下code泛型问题处理
This commit is contained in:
parent
ceac0f1b43
commit
3d696fabfd
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue