This commit is contained in:
邹宗楠
2022-06-22 10:56:36 +08:00
parent 1f34ad5d62
commit fb7fb3e8a6
4 changed files with 47 additions and 12 deletions

View File

@@ -25,3 +25,16 @@ func (c *SessionController) CreateBossSession() {
})
}
// 获取企业微信token
// @Title 创建门店老板的会话群
// @Description 创建门店老板的会话群
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetEnterpriseToken [Get]
func (c *SessionController) GetEnterpriseToken() {
c.callGetEnterpriseToken(func(params *tSessionGetEnterpriseTokenParams) (interface{}, string, error) {
token := enterprise_session.GetEnterpriseTokenInfo()
return token, "", nil
})
}