mirror of
https://github.com/usual2970/certimate.git
synced 2025-10-05 05:54:53 +00:00
Implement complete workflow execution process
This commit is contained in:
@@ -11,6 +11,16 @@ type Access struct {
|
||||
Usage string `json:"usage"`
|
||||
}
|
||||
|
||||
// 兼容一下原 pocketbase 的 record
|
||||
func (a *Access) GetString(key string) string {
|
||||
switch key {
|
||||
case "name":
|
||||
return a.Name
|
||||
default:
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
type AliyunAccess struct {
|
||||
AccessKeyId string `json:"accessKeyId"`
|
||||
AccessKeySecret string `json:"accessKeySecret"`
|
||||
|
Reference in New Issue
Block a user