package orderrpcv2 import ( "testing" "git.tetele.net/tgo/crypter" ) func Test_GetInfo(t *testing.T) { // ret, err := GetInfoByOrderSn("100064", "shop_v2", "2021000121222", "id,order_sn") // t.Log(ret) // t.Log(err) data := "1DD5556CC3F069F517419E4BAA490CFBE0BB2D0027C59249B641A0D1AF05E2A3076F605D22044171D5552BF856B6448807F7B08063421E0C263CC47B3ECB0763193D704A0B4A30018F980E5D2F8A7196A7B0EAE7D7FF3E6F20BA573EAB2A3A196CC4ECE6095A76B1E2F9660AB4AAC04C0FF7C74C3CEAEF0E82D0357E67C2549AA754B1DFE3F1F195F075CFBCCB59A8A4" ret := crypter.DesDe(data, DES_KEY) t.Log(ret) }