第三方api接口
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

41 lignes
1.1 KiB

  1. package express
  2. import "fmt"
  3. //余额
  4. func Balance(mustParam map[string]string) (string, error) {
  5. data := make(map[string]interface{})
  6. send, err := Send(mustParam, "3004", data)
  7. return send, err
  8. }
  9. //轨迹查询接口
  10. func Trajectory(mustParam map[string]string, data map[string]interface{}) (string, error) {
  11. send, err := Send(mustParam, "3002", data)
  12. fmt.Println(send)
  13. fmt.Println(err)
  14. return send, err
  15. }
  16. //价格查询接口
  17. func PriceTotal(mustParam map[string]string, data map[string]interface{}) (string, error) {
  18. send, err := Send(mustParam, "3003", data)
  19. return send, err
  20. }
  21. //订单取消接口
  22. func CloseOrder(mustParam map[string]string, data map[string]interface{}) (string, error) {
  23. send, err := Send(mustParam, "2001", data)
  24. return send, err
  25. }
  26. //订单创建接口
  27. func CreateOrder(mustParam map[string]string, data map[string]interface{}) (string, error) {
  28. send, err := Send(mustParam, "1001", data)
  29. return send, err
  30. }
  31. func ShowOrder(mustParam map[string]string, data map[string]interface{}) (string, error) {
  32. send, err := Send(mustParam, "3006", data)
  33. return send, err
  34. }