Initial commit

This commit is contained in:
Donny
2019-04-22 20:46:32 +08:00
commit 49ab8aadd1
25441 changed files with 4055000 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package model
// ScoreChange DataBus spy score change.
type ScoreChange struct {
Mid int64 `json:"mid"`
Score int8 `json:"score"`
BaseScore int8 `json:"base_score"`
EventScore int8 `json:"event_score"`
TS int64 `json:"ts"`
Reason string `json:"reason"`
RiskLevel int8 `json:"risk_level"`
}
const (
//CoinReason coin reason ref update score
CoinReason = "coin-service"
//CoinHighRisk coin high risk
CoinHighRisk = 7
)