You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
256 B

package servers
import (
"net/http"
"github.com/gin-gonic/gin"
)
func ReportFormat(c *gin.Context, success bool, msg string, json gin.H) {
// 开始时间
c.JSON(http.StatusOK, gin.H{
"success": success,
"msg": msg,
"data": json,
})
}