billtypenames

This commit is contained in:
苏尹岚
2020-11-04 16:43:37 +08:00
parent be3ade4a69
commit 916736b0fb
2 changed files with 16 additions and 0 deletions

View File

@@ -87,6 +87,7 @@ func InitServiceInfo(version string, buildTime time.Time, gitCommit string) {
"id":` + utils.Int2Str(model.JobLimitCountTypeNoLimit) +
`,"value": "不限次"
}]`,
"billTypeNames": model.BillTypeNames,
},
}
}

View File

@@ -17,6 +17,21 @@ const (
BillTypeInvest = 6 //充值
)
var (
BillTypeNames = map[int]string{
BillTypeDeposit: "发布任务",
BillTypeJob: "做任务实得",
BillTypeJobCancelOverdue: "任务过期或取消",
BillTypeJobAuditUnPassWithCancelOverdue: "任务不通过时,任务已取消或过期",
BillTypeSpJob: "特殊任务扣除",
BillTypeMember: "开通会员",
BillTypeQuitGroup: "退群",
BillTypeJdWaybillOverWeight: "京东物流超重扣款",
BillTypeCash: "提现",
BillTypeInvest: "充值",
}
)
//账单收入表
type BillIncome struct {
ModelIDCUL