Dockerfile

This commit is contained in:
2026-03-18 10:18:03 +08:00
parent 5c5dbc7420
commit b65f3439f3
189 changed files with 19027 additions and 0 deletions

19
model/config/virtual.go Normal file
View File

@@ -0,0 +1,19 @@
package config
// VirtualAssetConfig 虚拟资产配置
type VirtualAssetConfig struct {
VirtualAssetType string `json:"virtualType"`
CollectionPrice int `json:"collectionPrice"` // 合集价格(分为单位)
Currency string `json:"currency"` // 货币单位默认CNY
ApiConfig *ApiConfig `json:"apiConfig"`
}
// ApiConfig API配置虚拟资产专用
type ApiConfig struct {
Method string `json:"method"` // HTTP方法GET/POST/PUT/DELETE
RequestURL string `json:"requestURL"` // 请求地址
Headers map[string]string `json:"headers"` // 请求头配置
Params map[string]string `json:"params"` // 请求参数配置
AuthType string `json:"authType"` // 认证类型none/apikey/bearer/oauth
AuthConfig string `json:"authConfig"` // 认证配置
}