MCPcopy Create free account
hub / github.com/TruthHun/BookStack / CreditCostPerMonth

Method CreditCostPerMonth

models/credit.go:95–98  ·  view source on GitHub ↗

CreditCostPerMonth 每月成本估算,price 表示一元钱等于多少个积分。 计算结果计算网站一个月大概支出多少,以及一个勤奋的用户大概能拿到多少等价金额 注意:为避免积分规则设置错误,或者是积分规则设置者“滥发货币”引起不必要的“破产问题”, 建议积分每个月限定总额兑换机制,兑换完就自行等待下次兑换。具体可以参考微信支付出行奖励积分兑换机制玩法, 避免积分在跟实体金额兑换的时候玩死自己....

(price int)

Source from the content-addressed store, hash-verified

93// 建议积分每个月限定总额兑换机制,兑换完就自行等待下次兑换。具体可以参考微信支付出行奖励积分兑换机制玩法,
94// 避免积分在跟实体金额兑换的时候玩死自己....
95func (m *Credit) CreditCostPerMonth(price int) {
96 // TODO
97 _ = price
98}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected