refactor: 更新项目引用路径从perfect-panel/ppanel-server到perfect-panel/server
Build docker and publish / build (20.15.1) (push) Failing after 6m27s

feat: 添加版本和构建时间变量
fix: 修正短信队列类型注释错误
style: 清理未使用的代码和测试文件
docs: 更新安装文档中的下载链接
chore: 迁移数据库脚本添加日志和订阅配置
This commit is contained in:
2025-10-13 01:33:03 -07:00
parent 393b42f35a
commit c582087c0f
974 changed files with 23609 additions and 23398 deletions
+12 -3
View File
@@ -5,10 +5,19 @@ const (
ForthwithSendEmail = "forthwith:email:send"
)
const (
EmailTypeVerify = "verify"
EmailTypeMaintenance = "maintenance"
EmailTypeExpiration = "expiration"
EmailTypeTrafficExceed = "traffic_exceed"
EmailTypeCustom = "custom"
)
type (
SendEmailPayload struct {
Email string `json:"to"`
Subject string `json:"subject"`
Content string `json:"content"`
Type string `json:"type"`
Email string `json:"to"`
Subject string `json:"subject"`
Content map[string]interface{} `json:"content"`
}
)
-3
View File
@@ -6,9 +6,6 @@ const (
)
type (
DeferCheckOrderLogic struct {
OrderNo string `json:"order_no"`
}
DeferCloseOrderPayload struct {
OrderNo string `json:"order_no"`
}
+2 -1
View File
@@ -3,5 +3,6 @@ package types
const (
SchedulerCheckSubscription = "scheduler:check:subscription"
SchedulerTotalServerData = "scheduler:total:server"
SchedulerCheckOrder = "scheduler:check:order"
SchedulerResetTraffic = "scheduler:reset:traffic"
SchedulerTrafficStat = "scheduler:traffic:stat"
)
+1
View File
@@ -10,6 +10,7 @@ type UserTraffic struct {
type TrafficStatistics struct {
ServerId int64 `json:"server_id"`
Protocol string `json:"protocol"`
Logs []UserTraffic `json:"logs"`
}
+1 -1
View File
@@ -1,7 +1,7 @@
package types
const (
// ForthwithSendEmail forthwith send email
// ForthwithSendSms forthwith send email
ForthwithSendSms = "forthwith:sms:send"
)
+9
View File
@@ -0,0 +1,9 @@
package types
const (
// ScheduledBatchSendEmail scheduled batch send email
ScheduledBatchSendEmail = "scheduled:email:batch"
// ForthwithQuotaTask create quota task immediately
ForthwithQuotaTask = "forthwith:quota:task"
)