mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
superGroupMaxSeq
This commit is contained in:
parent
192c764c8c
commit
5a262880b9
@ -367,6 +367,11 @@ func ManagementBatchSendMsg(c *gin.Context) {
|
|||||||
func CheckMsgIsSendSuccess(c *gin.Context) {
|
func CheckMsgIsSendSuccess(c *gin.Context) {
|
||||||
var req api.CheckMsgIsSendSuccessReq
|
var req api.CheckMsgIsSendSuccessReq
|
||||||
var resp api.CheckMsgIsSendSuccessResp
|
var resp api.CheckMsgIsSendSuccessResp
|
||||||
|
if err := c.BindJSON(&req); err != nil {
|
||||||
|
c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": err.Error()})
|
||||||
|
log.Error(c.PostForm("operationID"), "json unmarshal err", err.Error(), c.PostForm("content"))
|
||||||
|
return
|
||||||
|
}
|
||||||
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImMsgName, req.OperationID)
|
etcdConn := getcdv3.GetConn(config.Config.Etcd.EtcdSchema, strings.Join(config.Config.Etcd.EtcdAddr, ","), config.Config.RpcRegisterName.OpenImMsgName, req.OperationID)
|
||||||
if etcdConn == nil {
|
if etcdConn == nil {
|
||||||
errMsg := req.OperationID + "getcdv3.GetConn == nil"
|
errMsg := req.OperationID + "getcdv3.GetConn == nil"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user