feat: analysis user auth and ws
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package qrcode
|
||||
|
||||
import "lone-services/pkg/wechat/auth"
|
||||
|
||||
type Client struct {
|
||||
AppID string
|
||||
Secret string
|
||||
Auth *auth.Client
|
||||
}
|
||||
|
||||
func NewClient(appID, secret string) *Client {
|
||||
func NewClient(authCli *auth.Client) *Client {
|
||||
return &Client{
|
||||
AppID: appID,
|
||||
Secret: secret,
|
||||
Auth: authCli,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user