diff --git a/customer/service/audit.go b/customer/service/audit.go index 8df40eb..66b68d1 100644 --- a/customer/service/audit.go +++ b/customer/service/audit.go @@ -136,9 +136,29 @@ type ReplyAuditInfo struct { Expand any `json:"expand"` } +// Info @Title 详情 +func (a *audit) Info(ctx context.Context, userServiceId uint) (reply ReplyAuditInfo, err error) { + xClient, err := client.GetClient(a) + if err != nil { + return + } + err = xClient.Call(ctx, "Info", userServiceId, &reply) + return +} + type ReplyProof struct { Name string `json:"name"` ChannelId uint `json:"channelId"` // 用户Id AppKey string `json:"appKey"` AppSecret string `json:"appSecret"` } + +// GetProof @Title 获取凭证 +func (a *audit) GetProof(ctx context.Context, userServiceId uint) (reply ReplyProof, err error) { + xClient, err := client.GetClient(a) + if err != nil { + return + } + err = xClient.Call(ctx, "GetProof", userServiceId, &reply) + return +}