Refine the structure of this project.

This commit is contained in:
zicla
2019-04-26 14:32:15 +08:00
parent e88930e13a
commit c251ed9f1b
69 changed files with 5494 additions and 2251 deletions

View File

@ -1,9 +1,9 @@
package rest
import (
"github.com/eyebluecn/tank/code/tool/builder"
"github.com/jinzhu/gorm"
"github.com/nu7hatch/gouuid"
"tank/code/tool/builder"
"time"
)
@ -85,8 +85,8 @@ func (this *DashboardDao) ActiveIpTop10() []*DashboardIpTimes {
sortArray := []builder.OrderPair{
{
key: "times",
value: "DESC",
Key: "times",
Value: "DESC",
},
}
rows, err := CONTEXT.DB.Model(&Footprint{}).