怡亚通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.

27 lines
425 B

2 years ago
2 years ago
  1. package yytrpc
  2. import (
  3. "testing"
  4. )
  5. func Test_CreateOrder(t *testing.T) {
  6. dbname := "shop"
  7. siteid := "1198881"
  8. order_sn := "1639708334549937512"
  9. list, err := CreateOrder(dbname,siteid,order_sn)
  10. t.Log(list)
  11. t.Log(err)
  12. }
  13. func Test_ConfirmReceive(t *testing.T) {
  14. dbname := "shop"
  15. siteid := "1198881"
  16. order_sn := "1639708334549937512"
  17. list, err := CreateOrder(dbname,siteid,order_sn)
  18. t.Log(list)
  19. t.Log(err)
  20. }