Implement api
This commit is contained in:
1 parent
80a99c425b
commit
b2e34c00a4
30 files changed
+708
-69
No files matched your search
@@ -0,0 +1,26 @@
|
||||
package domain
|
||||
|
||||
import (
|
||||
"github.com/txix-open/isp-kit/json"
|
||||
)
|
||||
|
||||
type ConfigIdRequest struct {
|
||||
Id string `validate:"required"`
|
||||
}
|
||||
|
||||
type GetByModuleIdRequest struct {
|
||||
ModuleId string `validate:"required"`
|
||||
}
|
||||
|
||||
type GetByModuleNameRequest struct {
|
||||
ModuleName string `validate:"required"`
|
||||
}
|
||||
|
||||
type CreateUpdateConfigRequest struct {
|
||||
Id string
|
||||
Name string `validate:"required"`
|
||||
ModuleId string `validate:"required"`
|
||||
Version int
|
||||
Data json.RawMessage
|
||||
Unsafe bool
|
||||
}
|
||||
Reference in new issue
Block a user