mirror of
				https://github.com/openimsdk/open-im-server.git
				synced 2025-11-04 11:22:10 +08:00 
			
		
		
		
	add log
This commit is contained in:
		
							parent
							
								
									921c3a9c1d
								
							
						
					
					
						commit
						51a449a921
					
				@ -90,6 +90,7 @@ func GetReceiveMessageOpt(c *gin.Context) {
 | 
				
			|||||||
func SetReceiveMessageOpt(c *gin.Context) {
 | 
					func SetReceiveMessageOpt(c *gin.Context) {
 | 
				
			||||||
	params := api.SetReceiveMessageOptReq{}
 | 
						params := api.SetReceiveMessageOptReq{}
 | 
				
			||||||
	if err := c.BindJSON(¶ms); err != nil {
 | 
						if err := c.BindJSON(¶ms); err != nil {
 | 
				
			||||||
 | 
							log.NewError(params.OperationID, utils.GetSelfFuncName(), "bind json failed", err.Error())
 | 
				
			||||||
		c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": "bind json failed " + err.Error()})
 | 
							c.JSON(http.StatusBadRequest, gin.H{"errCode": 400, "errMsg": "bind json failed " + err.Error()})
 | 
				
			||||||
		return
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user