第三方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.

37 lignes
1.0 KiB

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