15 lines
294 B
Go
15 lines
294 B
Go
package client
|
|
|
|
import (
|
|
"lone-services/pkg/utils"
|
|
"lone-services/pkg/wecom/auth"
|
|
"lone-services/pkg/wecom/user"
|
|
)
|
|
|
|
func NewContactClient() *user.Client {
|
|
return user.NewClient(auth.NewClient(
|
|
utils.GetConfigString("wecom.corp_id"),
|
|
utils.GetConfigString("wecom.contact_secret"),
|
|
))
|
|
}
|