示例#1
0
func DeliverShipment(endpoint string, id string) error {
	return services.Http_simple_post("http://" + endpoint + "/shipment/" + id + "/deliver")
}
示例#2
0
func CancelPayment(endpoint string, id string) error {
	return services.Http_simple_post("http://" + endpoint + "/payment/" + id + "/cancel")
}
示例#3
0
func CommitShipment(endpoint string, id string) error {
	return services.Http_simple_post("http://" + endpoint + "/shipment/" + id + "/commit")
}