2023-04-12 16:56:55 +08:00
|
|
|
package base
|
|
|
|
|
|
|
|
import (
|
|
|
|
"git.fsdpf.net/go/contracts/res_type"
|
|
|
|
)
|
|
|
|
|
|
|
|
type ResApiApproval struct {
|
|
|
|
Uuid string `db:"uuid"`
|
|
|
|
ApiUuid string `db:"api_uuid"`
|
|
|
|
Code string `db:"code"`
|
|
|
|
Name string `db:"name"`
|
|
|
|
MarkField string `db:"markField"`
|
|
|
|
RolesUuid res_type.ResFieldByAnys `db:"rolesUuid"`
|
|
|
|
Flows res_type.ResFieldByAnys `db:"flows"`
|
|
|
|
Roles res_type.ResFieldByAnys `db:"roles"`
|
|
|
|
UpdatedAt string `db:"updated_at"`
|
|
|
|
CreatedAt string `db:"created_at"`
|
|
|
|
}
|
2023-04-12 19:50:25 +08:00
|
|
|
|
|
|
|
type GetResApiApproval func(code string) (ResApiApproval, bool)
|