diff --git a/customer/user.go b/customer/user.go index 6d6c80b..df74d3f 100644 --- a/customer/user.go +++ b/customer/user.go @@ -101,3 +101,9 @@ func (u *user) Disable(ctx context.Context, userId uint) error { reply := 0 return client.GetClient(u).Call(ctx, "Disable", userId, &reply) } + +// SecretByAppKey @Title 通过appKey获取Secret +func (u *user) SecretByAppKey(ctx context.Context, appKey string) (appSecret string, err error) { + err = client.GetClient(u).Call(ctx, "Disable", appKey, &appSecret) + return +}