parent
424c5b23b4
commit
182af9a1b6
|
|
@ -18,7 +18,6 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
func Result(code int, data interface{}, msg string, c *gin.Context) {
|
func Result(code int, data interface{}, msg string, c *gin.Context) {
|
||||||
// 开始时间
|
|
||||||
c.JSON(http.StatusOK, Response{
|
c.JSON(http.StatusOK, Response{
|
||||||
code,
|
code,
|
||||||
data,
|
data,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue