|
|
@@ -0,0 +1,20 @@
|
|
|
+package log
|
|
|
+
|
|
|
+import (
|
|
|
+ "time"
|
|
|
+)
|
|
|
+
|
|
|
+type IpLog struct {
|
|
|
+ Id uint `json:"id"`
|
|
|
+ Account string `json:"account"`
|
|
|
+ Ip string `json:"ip"`
|
|
|
+ GameId int `json:"game_id"`
|
|
|
+ LogUuid string `json:"log_uuid"`
|
|
|
+ PcCode string `json:"pc_code"`
|
|
|
+ CreateDate time.Time `json:"create_date"`
|
|
|
+ CreateTime time.Time `json:"create_time"` // 创建时间
|
|
|
+}
|
|
|
+
|
|
|
+func (IpLog) TableName() string {
|
|
|
+ return "ip_log"
|
|
|
+}
|