Example #1
0
func (this *baseC) GetPartner(ctx *web.Context) *partner.ValuePartner {
	return ctx.GetItem("partner_ins").(*partner.ValuePartner)
}
Example #2
0
func (this *baseC) GetSiteConf(ctx *web.Context) *partner.SiteConf {
	return ctx.GetItem("partner_siteconf").(*partner.SiteConf)
}
Example #3
0
// 获取商户编号
func (this *baseC) GetPartnerId(ctx *web.Context) int {
	return ctx.GetItem("partner_id").(int)
}