fix: ai key config error

This commit is contained in:
Liujian
2025-01-07 01:42:36 +08:00
parent ff99f55b0a
commit 7fcfbb2a54
5 changed files with 52 additions and 40 deletions
+3
View File
@@ -200,6 +200,9 @@ func (i *imlSubscribeService) updateHandler(e *subscribe.Subscribe, t *UpdateSub
if t.ApplyStatus != nil {
e.ApplyStatus = *t.ApplyStatus
}
if t.From != nil {
e.From = *t.From
}
}
var (
+3 -2
View File
@@ -2,14 +2,14 @@ package subscribe
import (
"time"
"github.com/APIParkLab/APIPark/stores/subscribe"
)
type Subscribe struct {
Id string
Service string
// 订阅方相关
Application string
From int
@@ -28,6 +28,7 @@ type CreateSubscribe struct {
}
type UpdateSubscribe struct {
From *int
ApplyStatus *int
}