ols

package
v0.0.0-...-1960156 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2015 License: Apache-2.0 Imports: 35 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCategories

func GetCategories(c gof.App, partnerId int, secret string) []byte

func GetShops

func GetShops(c gof.App, partnerId int) []byte

func Handle

func Handle(ctx *web.Context)

处理请求

func HandleCustomError

func HandleCustomError(w http.ResponseWriter, ctx *web.Context, err error)

处理自定义错误

Types

type BaseC

type BaseC struct {
	*BaseC
}

func (*BaseC) CheckMemberLogin

func (this *BaseC) CheckMemberLogin(ctx *web.Context) bool

检查会员是否登陆

func (*BaseC) ErrorOutput

func (this *BaseC) ErrorOutput(ctx *web.Context, err string)

输出错误信息

func (*BaseC) ExecuteTemplate

func (this *BaseC) ExecuteTemplate(ctx *web.Context, dataMap gof.TemplateDataMap, files ...string)

执行模板

func (*BaseC) ExecuteTemplateWithFunc

func (this *BaseC) ExecuteTemplateWithFunc(ctx *web.Context, funcMap template.FuncMap,
	dataMap gof.TemplateDataMap, files ...string)

func (*BaseC) GetMember

func (this *BaseC) GetMember(ctx *web.Context) *member.ValueMember

获取会员

func (*BaseC) GetPartner

func (this *BaseC) GetPartner(ctx *web.Context) *partner.ValuePartner

func (*BaseC) GetPartnerApi

func (this *BaseC) GetPartnerApi(ctx *web.Context) *partner.ApiInfo

获取商户API信息

func (*BaseC) GetPartnerId

func (this *BaseC) GetPartnerId(ctx *web.Context) int

获取商户编号

func (*BaseC) GetSiteConf

func (this *BaseC) GetSiteConf(ctx *web.Context) *partner.SiteConf

func (*BaseC) RequestEnd

func (this *BaseC) RequestEnd(*web.Context)

func (*BaseC) Requesting

func (this *BaseC) Requesting(ctx *web.Context) bool

type CartC

type CartC struct {
	*BaseC
}

func (*CartC) CartApiHandle

func (this *CartC) CartApiHandle(ctx *web.Context)

购物车

func (*CartC) Index

func (this *CartC) Index(ctx *web.Context)

type ContentC

type ContentC struct {
	*BaseC
}

func (*ContentC) Page

func (this *ContentC) Page(ctx *web.Context)

自定义页面

type ListC

type ListC struct {
	*BaseC
}

func (*ListC) All_cate

func (this *ListC) All_cate(ctx *web.Context)

类目,限移动端

func (*ListC) GetSorter

func (this *ListC) GetSorter(ctx *web.Context)

func (*ListC) GoodsDetails

func (this *ListC) GoodsDetails(ctx *web.Context)

func (*ListC) GoodsView

func (this *ListC) GoodsView(ctx *web.Context)

商品详情

func (*ListC) List_Index

func (this *ListC) List_Index(ctx *web.Context)

商品列表

func (*ListC) SaleTagGoodsList

func (this *ListC) SaleTagGoodsList(ctx *web.Context)

销售标签列表

type MainC

type MainC struct {
	*BaseC
}

func (*MainC) App

func (this *MainC) App(ctx *web.Context)

func (*MainC) Change_device

func (this *MainC) Change_device(ctx *web.Context)

更换访问设备

func (*MainC) HandleIndexGo

func (this *MainC) HandleIndexGo(ctx *web.Context) bool

处理跳转

func (*MainC) Index

func (this *MainC) Index(ctx *web.Context)

func (*MainC) Msc

func (this *MainC) Msc(ctx *web.Context)

Member session connect

func (*MainC) Msd

func (this *MainC) Msd(ctx *web.Context)

Member session disconnect

func (*MainC) T

func (this *MainC) T(ctx *web.Context)

type PaymentC

type PaymentC struct {
	*BaseC
}

func (*PaymentC) Create

func (this *PaymentC) Create(ctx *web.Context)

func (*PaymentC) Notify_post

func (this *PaymentC) Notify_post(ctx *web.Context)

func (*PaymentC) Return_alipay

func (this *PaymentC) Return_alipay(ctx *web.Context)

type ShoppingC

type ShoppingC struct {
	*BaseC
}

func (*ShoppingC) Apply_post

func (this *ShoppingC) Apply_post(ctx *web.Context)

应用卡券

func (*ShoppingC) BuyingPersist_post

func (this *ShoppingC) BuyingPersist_post(ctx *web.Context)

订单持久化

func (*ShoppingC) Confirm

func (this *ShoppingC) Confirm(ctx *web.Context)

订单确认

func (*ShoppingC) GetDeliverAddress

func (this *ShoppingC) GetDeliverAddress(ctx *web.Context)

配送地址管理

func (*ShoppingC) Index

func (this *ShoppingC) Index(ctx *web.Context)

购买中转

func (*ShoppingC) OrderEmpty

func (this *ShoppingC) OrderEmpty(ctx *web.Context, p *partner.ValuePartner,
	m *member.ValueMember, conf *partner.SiteConf)

func (*ShoppingC) Order_finish

func (this *ShoppingC) Order_finish(ctx *web.Context)

func (*ShoppingC) Payment

func (this *ShoppingC) Payment(ctx *web.Context)

func (*ShoppingC) SaveDeliverAddress_post

func (this *ShoppingC) SaveDeliverAddress_post(ctx *web.Context)

func (*ShoppingC) Submit_0_post

func (this *ShoppingC) Submit_0_post(ctx *web.Context)

提交订单

type UserC

type UserC struct {
	*BaseC
}

func (*UserC) JumpToMCenter

func (this *UserC) JumpToMCenter(ctx *web.Context)

跳转到会员中心 url : /user/jump_m

func (*UserC) Login

func (this *UserC) Login(ctx *web.Context)

func (*UserC) Login_post

func (this *UserC) Login_post(ctx *web.Context)

func (*UserC) Logout

func (this *UserC) Logout(ctx *web.Context)

退出

func (*UserC) PostRegisterInfo_post

func (this *UserC) PostRegisterInfo_post(ctx *web.Context)

func (*UserC) Register

func (this *UserC) Register(ctx *web.Context)

func (*UserC) ValidUsr_post

func (this *UserC) ValidUsr_post(ctx *web.Context)

func (*UserC) Valid_invitation_post

func (this *UserC) Valid_invitation_post(ctx *web.Context)

Directories

Path Synopsis
* * Copyright 2015 @ z3q.net.
* * Copyright 2015 @ z3q.net.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL