// return the code in request
return the code in request
// return the code in request
func StatusResp(c *gin.Context) {
	var param StatusParam
	if err := c.ShouldBindUri(&param); err != nil {
		c.JSON(400, gin.H{"msg": err.Error()})
	} else {
		c.JSON(param.Status, gin.H{"status": param.Status})
	}
}
func StatusResp ( c * gin . Context ) { var param StatusParam if err := c . ShouldBindUri ( & param ) ; err != nil { c . JSON ( 400 , gin . H { " " : err . Error ( ) } ) } else { c . JSON ( param . Status , gin . H { " " : param . Status } ) } }
return the code in request
return the code in request