提交 3913d9e4 编写于 作者: programor_guo's avatar programor_guo

Merge remote-tracking branch 'origin/tuoyun' into tuoyun

......@@ -90,6 +90,7 @@ func GetReceiveMessageOpt(c *gin.Context) {
func SetReceiveMessageOpt(c *gin.Context) {
params := api.SetReceiveMessageOptReq{}
if err := c.BindJSON(&params); 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()})
return
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册