Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
3b216ee74a
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      macao_logistics/macao_logistics.go

+ 10
- 0
macao_logistics/macao_logistics.go View File

@@ -62,6 +62,16 @@ func RegUser(params map[string]interface{}) string {
fmt.Println(string(data))
return string(data)
}
func RegUserNew(params map[string]interface{}) string {
send, err := Send("/yb/user/v2/register", params, "")
fmt.Println("macap1:", params)
fmt.Println("macap1:" + send)
if err != nil {
fmt.Println("macap1:" + err.Error())
return ""
}
return send
}

func GetAddress(params map[string]interface{}, acctoken string) string {
send, err := SendGet("/admin/user/template/address", params, acctoken)


Loading…
Cancel
Save