webserver/controller.go @@ -6,10 +6,12 @@ ) func OrderList(c *gin.Context) { rspData := models.SeOrderList() c.JSON(200, gin.H{ "success": true, "message": "", "data": "", "data": rspData, "total": len(rspData), }) }