[fix] 修正 ResCondition 字段
This commit is contained in:
parent
64c1088c25
commit
cf81f7ff43
@ -1,7 +1,8 @@
|
|||||||
package base
|
package base
|
||||||
|
|
||||||
|
import "git.fsdpf.net/go/contracts"
|
||||||
|
|
||||||
type ResCondition struct {
|
type ResCondition struct {
|
||||||
Uuid string `db:"id"`
|
|
||||||
Id int `db:"id"`
|
Id int `db:"id"`
|
||||||
Pid int `db:"pid"`
|
Pid int `db:"pid"`
|
||||||
Type string `db:"type"`
|
Type string `db:"type"`
|
||||||
@ -19,3 +20,5 @@ type ResCondition struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type GetResConditions func(categoryUuid string) []ResCondition
|
type GetResConditions func(categoryUuid string) []ResCondition
|
||||||
|
|
||||||
|
type GetOrmConditionByRes func(items []ResCondition) contracts.Condition
|
||||||
|
Loading…
Reference in New Issue
Block a user