Documentation
¶
Overview ¶
*
- Copyright 2015 @ z3q.net.
- name : default_c.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : cart_c.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : list_c
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : doc.go
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : list_c
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2013 @ z3q.net.
- name :
- author : jarryliu
- date : 2013-02-04 20:13
- description :
- history :
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2014-02-11 21:33
- description :
- history :
*
- Copyright 2014 @ z3q.net.
- name :
- author : jarryliu
- date : 2014-02-05 21:53
- description :
- history :
*
- Copyright 2014 @ ops.
- name :
- author : jarryliu
- date : 2013-11-26 21:09
- description :
- history :
*
- Copyright 2015 @ z3q.net.
- name : user_c
- author : jarryliu
- date : -- :
- description :
- history :
*
- Copyright 2013 @ z3q.net.
- name :
- author : jarryliu
- date : 2014-02-03 23:18
- description :
- history :
Index ¶
- func GetCategories(c gof.App, partnerId int, secret string) []byte
- func GetShops(c gof.App, partnerId int) []byte
- func Handle(ctx *web.Context)
- func HandleCustomError(w http.ResponseWriter, ctx *web.Context, err error)
- type BaseC
- func (this *BaseC) CheckMemberLogin(ctx *web.Context) bool
- func (this *BaseC) ErrorOutput(ctx *web.Context, err string)
- func (this *BaseC) ExecuteTemplate(ctx *web.Context, dataMap gof.TemplateDataMap, files ...string)
- func (this *BaseC) ExecuteTemplateWithFunc(ctx *web.Context, funcMap template.FuncMap, dataMap gof.TemplateDataMap, ...)
- func (this *BaseC) GetMember(ctx *web.Context) *member.ValueMember
- func (this *BaseC) GetPartner(ctx *web.Context) *partner.ValuePartner
- func (this *BaseC) GetPartnerApi(ctx *web.Context) *partner.ApiInfo
- func (this *BaseC) GetPartnerId(ctx *web.Context) int
- func (this *BaseC) GetSiteConf(ctx *web.Context) *partner.SiteConf
- func (this *BaseC) RequestEnd(*web.Context)
- func (this *BaseC) Requesting(ctx *web.Context) bool
- type CartC
- type ContentC
- type ListC
- type MainC
- func (this *MainC) App(ctx *web.Context)
- func (this *MainC) Change_device(ctx *web.Context)
- func (this *MainC) HandleIndexGo(ctx *web.Context) bool
- func (this *MainC) Index(ctx *web.Context)
- func (this *MainC) Msc(ctx *web.Context)
- func (this *MainC) Msd(ctx *web.Context)
- func (this *MainC) T(ctx *web.Context)
- type PaymentC
- type ShoppingC
- func (this *ShoppingC) Apply_post(ctx *web.Context)
- func (this *ShoppingC) BuyingPersist_post(ctx *web.Context)
- func (this *ShoppingC) Confirm(ctx *web.Context)
- func (this *ShoppingC) GetDeliverAddress(ctx *web.Context)
- func (this *ShoppingC) Index(ctx *web.Context)
- func (this *ShoppingC) OrderEmpty(ctx *web.Context, p *partner.ValuePartner, m *member.ValueMember, ...)
- func (this *ShoppingC) Order_finish(ctx *web.Context)
- func (this *ShoppingC) Payment(ctx *web.Context)
- func (this *ShoppingC) SaveDeliverAddress_post(ctx *web.Context)
- func (this *ShoppingC) Submit_0_post(ctx *web.Context)
- type UserC
- func (this *UserC) JumpToMCenter(ctx *web.Context)
- func (this *UserC) Login(ctx *web.Context)
- func (this *UserC) Login_post(ctx *web.Context)
- func (this *UserC) Logout(ctx *web.Context)
- func (this *UserC) PostRegisterInfo_post(ctx *web.Context)
- func (this *UserC) Register(ctx *web.Context)
- func (this *UserC) ValidUsr_post(ctx *web.Context)
- func (this *UserC) Valid_invitation_post(ctx *web.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleCustomError ¶
func HandleCustomError(w http.ResponseWriter, ctx *web.Context, err error)
处理自定义错误
Types ¶
type BaseC ¶
type BaseC struct {
*BaseC
}
func (*BaseC) CheckMemberLogin ¶
检查会员是否登陆
func (*BaseC) ExecuteTemplate ¶
执行模板
func (*BaseC) ExecuteTemplateWithFunc ¶
func (*BaseC) GetPartner ¶
func (this *BaseC) GetPartner(ctx *web.Context) *partner.ValuePartner
func (*BaseC) GetPartnerApi ¶
获取商户API信息
func (*BaseC) RequestEnd ¶
type PaymentC ¶
type PaymentC struct {
*BaseC
}
func (*PaymentC) Notify_post ¶
func (*PaymentC) Return_alipay ¶
type ShoppingC ¶
type ShoppingC struct {
*BaseC
}
func (*ShoppingC) BuyingPersist_post ¶
订单持久化
func (*ShoppingC) GetDeliverAddress ¶
配送地址管理
func (*ShoppingC) OrderEmpty ¶
func (this *ShoppingC) OrderEmpty(ctx *web.Context, p *partner.ValuePartner, m *member.ValueMember, conf *partner.SiteConf)
func (*ShoppingC) Order_finish ¶
func (*ShoppingC) SaveDeliverAddress_post ¶
type UserC ¶
type UserC struct {
*BaseC
}
func (*UserC) JumpToMCenter ¶
跳转到会员中心 url : /user/jump_m
func (*UserC) Login_post ¶
func (*UserC) PostRegisterInfo_post ¶
func (*UserC) ValidUsr_post ¶
func (*UserC) Valid_invitation_post ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.