Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
61d02e6d
authored
Nov 21, 2019
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
增加模型
parent
095bc3a9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
configs/mysql.toml
internal/model/moel_items.go
configs/mysql.toml
View file @
61d02e6d
[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
...
...
internal/model/moel_items.go
0 → 100644
View file @
61d02e6d
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"`
//'创建人'
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment