mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-09 18:53:43 +08:00
refactor: 重构项目,为所有的 AI 工具都引入算力,采用算力统一结算各个工具的调用次数和权限
This commit is contained in:
16
api/store/vo/power_log.go
Normal file
16
api/store/vo/power_log.go
Normal file
@@ -0,0 +1,16 @@
|
||||
package vo
|
||||
|
||||
import "chatplus/core/types"
|
||||
|
||||
type PowerLog struct {
|
||||
Id uint `json:"id"`
|
||||
UserId uint `json:"user_id"`
|
||||
Username string `json:"username"`
|
||||
Type types.PowerType `json:"name"`
|
||||
Amount int `json:"amount"`
|
||||
Mark types.PowerMark `json:"fund_type"`
|
||||
Balance int `json:"balance"`
|
||||
Model string `json:"model"`
|
||||
Remark string `json:"remark"`
|
||||
CreatedAt int64 `json:"created_at"`
|
||||
}
|
||||
Reference in New Issue
Block a user