示例#1
0
func NewShopQuery(c gof.App) *ShopQuery {
	return &ShopQuery{
		Connector: c.Db(),
		Storage:   c.Storage(),
	}
}
示例#2
0
func NewMerchantQuery(c gof.App) *MerchantQuery {
	return &MerchantQuery{
		Connector: c.Db(),
		Storage:   c.Storage(),
	}
}
示例#3
0
func NewPartnerQuery(c gof.App) *PartnerQuery {
	return &PartnerQuery{
		Connector: c.Db(),
		Storage:   c.Storage(),
	}
}