- 添加活动常量描述

This commit is contained in:
gazebo
2019-07-09 15:51:12 +08:00
parent e04e09692c
commit 80157f13ec
2 changed files with 8 additions and 0 deletions

View File

@@ -62,7 +62,9 @@ func InitServiceInfo(version string, buildTime time.Time, gitCommit string) {
"purchaseVendorInfo": model.PurchaseVendorInfo,
"afsReasonTypeName": model.AfsReasonTypeName,
"afsAppealTypeName": model.AfsAppealTypeName,
"actTypeName": model.ActTypeName,
"actStatusName": model.ActStatusName,
"actCreateTypeName": model.ActCreateTypeName,
},
}
Init()

View File

@@ -41,6 +41,12 @@ var (
ActStatusCanceled: "取消",
ActStatusEnded: "结束",
}
ActCreateTypeName = map[int]string{
ActCreateTypeAPI: "API",
ActCreateTypeCallback: "回调",
ActCreateTypeSpider: "网页",
}
)
type Act struct {