package main
import (
"errors"
"fmt"
"github.com/Authing/authing-go-sdk/lib/management"
"github.com/Authing/authing-go-sdk/lib/model"
)
func main() {
client := management.NewClient("poolid", "secret")
resp, err := client.SetUdvBatch(
"62ee052e0e795cd626a538fd",
model.EnumUDFTargetTypeUSER,
&[]model.KeyValuePair{
{Key: "partyId", Value: "1234"},
},
)
if err != nil {
errors.New(err.Error())
}
fmt.Println(resp)
}
以上代码 没有保存 resp 为空 extend_filed 没有出现在user profile 里? 请问是哪里有问题?