feat: wecom curd
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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"),
|
||||
))
|
||||
}
|
||||
Reference in New Issue
Block a user