Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
2f5898c07f
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      macao_logistics/macao_logistics.go

+ 7
- 0
macao_logistics/macao_logistics.go View File

@@ -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())


Loading…
Cancel
Save