|
12345678910111213141516171819202122232425262728293031323334353637383940 |
- package express
-
- import "fmt"
-
- //余额
- func Balance(mustParam map[string]string) (string, error) {
- data := make(map[string]interface{})
- send, err := Send(mustParam, "3004", data)
- return send, err
- }
-
- //轨迹查询接口
- func Trajectory(mustParam map[string]string, data map[string]interface{}) (string, error) {
- send, err := Send(mustParam, "3002", data)
- fmt.Println(send)
- fmt.Println(err)
- return send, err
- }
-
- //价格查询接口
- func PriceTotal(mustParam map[string]string, data map[string]interface{}) (string, error) {
- send, err := Send(mustParam, "3003", data)
- return send, err
- }
-
- //订单取消接口
- func CloseOrder(mustParam map[string]string, data map[string]interface{}) (string, error) {
- send, err := Send(mustParam, "2001", data)
- return send, err
- }
-
- //订单创建接口
- func CreateOrder(mustParam map[string]string, data map[string]interface{}) (string, error) {
- send, err := Send(mustParam, "1001", data)
- return send, err
- }
- func ShowOrder(mustParam map[string]string, data map[string]interface{}) (string, error) {
- send, err := Send(mustParam, "3006", data)
- return send, err
- }
|