Commit 61d02e6d by Joneq

增加模型

parent 095bc3a9
[demo]
addr = "localhost:3306"
addr = "192.168.2.232:3306"
dsn = "root:root@tcp(localhost:3306)/cndzys?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8mb4,utf8"
readDSN = ["root:root@tcp(127.0.0.2:3306)/cndzys?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8mb4,utf8","root:root@tcp(127.0.0.3:3306)/cndzys?timeout=1s&readTimeout=1s&writeTimeout=1s&parseTime=true&loc=Local&charset=utf8,utf8mb4"]
active = 20
......
package model
type ModelItems struct {
Id int64 `json:"id"` //'模型条目ID'
ModelId int64 `json:"model_id"` //'关联模型ID'
ProjectId int64 `json:"project_id"` //'项目ID'
ProjectName int64 `json:"project_name"` //'项目名称'
FullScore int64 `json:"full_score"` //'满分分值'
LadderRangeMin string `json:"ladder_range_min"` //'阶梯范围最小值'
LadderRangeMax string `json:"ladder_range_max"` //'阶梯范围最大值'
LadderText string `json:"id"` //'阶梯信息文本'
Score int64 `json:"id"` //'阶梯分值'
Creator string `json:"id"` //'创建人'
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment