diff --git a/macao_logistics/macao_logistics.go b/macao_logistics/macao_logistics.go index c175095..243ac12 100644 --- a/macao_logistics/macao_logistics.go +++ b/macao_logistics/macao_logistics.go @@ -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)