feat(billing): 添加计费系统功能
This commit is contained in:
@@ -22,6 +22,7 @@ type modelGatewayTaskCol struct {
|
||||
RequestPayload string
|
||||
EpicycleId string
|
||||
BuildModelName string
|
||||
BillingData string
|
||||
}
|
||||
|
||||
var ModelGatewayTaskCol = modelGatewayTaskCol{
|
||||
@@ -42,6 +43,7 @@ var ModelGatewayTaskCol = modelGatewayTaskCol{
|
||||
RequestPayload: "request_payload",
|
||||
EpicycleId: "epicycle_id",
|
||||
BuildModelName: "build_model_name",
|
||||
BillingData: "billing_data",
|
||||
}
|
||||
|
||||
// ModelGatewayTask 模型网关任务
|
||||
@@ -63,6 +65,7 @@ type ModelGatewayTask struct {
|
||||
RequestPayload *RequestPayload `orm:"request_payload" json:"requestPayload"`
|
||||
EpicycleId int64 `orm:"epicycle_id" json:"epicycleId"`
|
||||
BuildModelName string `orm:"build_model_name" json:"buildModelName"`
|
||||
BillingData map[string]any `orm:"billing_data" json:"billingData"`
|
||||
}
|
||||
|
||||
// ResultFile OSS 结果文件
|
||||
|
||||
Reference in New Issue
Block a user