2.0订单rpc数据结构
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
580 B

  1. package orderrpcv2
  2. import (
  3. "testing"
  4. "git.tetele.net/tgo/crypter"
  5. )
  6. func Test_GetInfo(t *testing.T) {
  7. // ret, err := GetInfoByOrderSn("100064", "shop_v2", "2021000121222", "id,order_sn")
  8. // t.Log(ret)
  9. // t.Log(err)
  10. data := "1DD5556CC3F069F517419E4BAA490CFBE0BB2D0027C59249B641A0D1AF05E2A3076F605D22044171D5552BF856B6448807F7B08063421E0C263CC47B3ECB0763193D704A0B4A30018F980E5D2F8A7196A7B0EAE7D7FF3E6F20BA573EAB2A3A196CC4ECE6095A76B1E2F9660AB4AAC04C0FF7C74C3CEAEF0E82D0357E67C2549AA754B1DFE3F1F195F075CFBCCB59A8A4"
  11. ret := crypter.DesDe(data, DES_KEY)
  12. t.Log(ret)
  13. }