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

express.go 1.0 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
123456789101112131415161718192021222324252627282930313233343536
  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. }