1
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user