mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-12 18:11:34 +08:00
fix: ai key config error
This commit is contained in:
@@ -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 (
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user