You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
415 B
13 lines
415 B
package wechatqy
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
)
|
|
|
|
// WwOpenSsoQrConnect 构造独立窗口登录二维码
|
|
// https://open.work.weixin.qq.com/api/doc/90000/90135/91019
|
|
func (c *Client) WwOpenSsoQrConnect(ctx context.Context) string {
|
|
return fmt.Sprintf("https://open.work.weixin.qq.com/wwopen/sso/qrConnect?appid=%s&agentid=%d&redirect_uri=%s&state=STATE&lang=zh", c.GetAppId(), c.GetAgentId(), c.GetRedirectUri())
|
|
}
|