mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-01 07:35:58 +08:00
third
This commit is contained in:
@@ -122,6 +122,7 @@ func NewGinRouter(zk discoveryregistry.SvcDiscoveryRegistry, rdb redis.Universal
|
||||
thirdGroup.POST("/apply_put", t.ApplyPut)
|
||||
thirdGroup.POST("/get_put", t.GetPut)
|
||||
thirdGroup.POST("/confirm_put", t.ConfirmPut)
|
||||
thirdGroup.POST("/get_hash", t.GetHash)
|
||||
thirdGroup.POST("/object", t.GetURL)
|
||||
thirdGroup.GET("/object", t.GetURL)
|
||||
}
|
||||
|
||||
@@ -45,6 +45,10 @@ func (o *Third) ConfirmPut(c *gin.Context) {
|
||||
a2r.Call(third.ThirdClient.ConfirmPut, o.client, c)
|
||||
}
|
||||
|
||||
func (o *Third) GetHash(c *gin.Context) {
|
||||
a2r.Call(third.ThirdClient.GetHashInfo, o.client, c)
|
||||
}
|
||||
|
||||
func (o *Third) GetSignalInvitationInfo(c *gin.Context) {
|
||||
a2r.Call(third.ThirdClient.GetSignalInvitationInfo, o.client, c)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user