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