|
@@ -23,6 +23,8 @@ func GetToken(params map[string]interface{}) string { |
|
|
|
|
|
|
|
|
func GetGoods(params map[string]interface{}, acctoken string) string { |
|
|
func GetGoods(params map[string]interface{}, acctoken string) string { |
|
|
send, err := SendGet("/admin/goods/detailed/list", params, acctoken) |
|
|
send, err := SendGet("/admin/goods/detailed/list", params, acctoken) |
|
|
|
|
|
fmt.Println("macap1:", params) |
|
|
|
|
|
|
|
|
fmt.Println("macap1:" + send) |
|
|
fmt.Println("macap1:" + send) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
fmt.Println("macap1:" + err.Error()) |
|
|
fmt.Println("macap1:" + err.Error()) |
|
@@ -32,6 +34,8 @@ func GetGoods(params map[string]interface{}, acctoken string) string { |
|
|
} |
|
|
} |
|
|
func GetStore(params map[string]interface{}, acctoken string) string { |
|
|
func GetStore(params map[string]interface{}, acctoken string) string { |
|
|
send, err := SendGet("/jyb/order/delivery/store", params, acctoken) |
|
|
send, err := SendGet("/jyb/order/delivery/store", params, acctoken) |
|
|
|
|
|
fmt.Println("macap1:", params) |
|
|
|
|
|
|
|
|
fmt.Println("macap1:" + send) |
|
|
fmt.Println("macap1:" + send) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
fmt.Println("macap1:" + err.Error()) |
|
|
fmt.Println("macap1:" + err.Error()) |
|
@@ -41,6 +45,8 @@ func GetStore(params map[string]interface{}, acctoken string) string { |
|
|
} |
|
|
} |
|
|
func GetOrder(params map[string]interface{}, acctoken string) string { |
|
|
func GetOrder(params map[string]interface{}, acctoken string) string { |
|
|
send, err := SendGet("/jyb/order/delivery/list", params, acctoken) |
|
|
send, err := SendGet("/jyb/order/delivery/list", params, acctoken) |
|
|
|
|
|
fmt.Println("macap1:", params) |
|
|
|
|
|
|
|
|
fmt.Println("macap1:" + send) |
|
|
fmt.Println("macap1:" + send) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
fmt.Println("macap1:" + err.Error()) |
|
|
fmt.Println("macap1:" + err.Error()) |
|
@@ -57,6 +63,7 @@ func RegUser(params map[string]interface{}) string { |
|
|
|
|
|
|
|
|
func GetAddress(params map[string]interface{}, acctoken string) string { |
|
|
func GetAddress(params map[string]interface{}, acctoken string) string { |
|
|
send, err := SendGet("/admin/user/template/address", params, acctoken) |
|
|
send, err := SendGet("/admin/user/template/address", params, acctoken) |
|
|
|
|
|
fmt.Println("macap1:", params) |
|
|
fmt.Println("macap1:" + send) |
|
|
fmt.Println("macap1:" + send) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
fmt.Println("macap1:" + err.Error()) |
|
|
fmt.Println("macap1:" + err.Error()) |
|
|