Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TruthHun/BookStack
/ Insert
Method
Insert
models/credit.go:86–88 ·
view source on GitHub ↗
Insert 给用户新增积分
(uid int, ruleIdentify string)
Source
from the content-addressed store, hash-verified
84
85
// Insert 给用户新增积分
86
func
(m *Credit) Insert(uid int, ruleIdentify string) {
87
88
}
89
90
// CreditCostPerMonth 每月成本估算,price 表示一元钱等于多少个积分。
91
// 计算结果计算网站一个月大概支出多少,以及一个勤奋的用户大概能拿到多少等价金额
Callers
1
InitCreditRule
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected