ols

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 15, 2016 License: GPL-2.0 Imports: 42 Imported by: 0

Documentation

Overview

*

  • 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 : json_c.go
  • author : jarryliu
  • date : 2016-04-25 23:09
  • 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 2015 @ z3q.net.
  • name : default_c.go
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2014 @ z3q.net.
  • name :
  • author : jarryliu
  • date : 2014-02-11 21:33
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : prom_c.go
  • author : jarryliu
  • date : 2016-04-26 14:16
  • 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 CheckMemberLogin

func CheckMemberLogin(ctx *echox.Context) bool

检查会员是否登陆

func GetCategories

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

func GetMember

func GetMember(ctx *echox.Context) *member.ValueMember

获取会员

func GetPartnerId

func GetPartnerId(ctx *echox.Context) int

获取商户编号

func GetServes

func GetServes() (sPc *echox.Echo, sMobi *echox.Echo, sApp *echox.Echo)

获取所有服务

func GetSessionPartnerId

func GetSessionPartnerId(ctx *echox.Context) int

获取商户编号

func GetShops

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

func HandleCustomError

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

处理自定义错误

func ServeHTTP

func ServeHTTP(w http.ResponseWriter, r *http.Request)

处理服务

Types

type CartC

type CartC struct {
}

func (*CartC) CartApiHandle

func (this *CartC) CartApiHandle(ctx *echox.Context) error

购物车API(POST)

func (*CartC) Index

func (this *CartC) Index(ctx *echox.Context) error

type ContentC

type ContentC struct {
}

func (*ContentC) Page

func (this *ContentC) Page(c *echox.Context) error

自定义页面

type ListC

type ListC struct {
}

func (*ListC) All_cate

func (this *ListC) All_cate(ctx *echox.Context) error

类目,限移动端

func (ListC) CategoryJson

func (this ListC) CategoryJson(c *echox.Context) error

大类Json

func (*ListC) GetGoodsJsonBySaleTag

func (this *ListC) GetGoodsJsonBySaleTag(ctx *echox.Context) error

func (*ListC) GetGoodsListJson

func (this *ListC) GetGoodsListJson(c *echox.Context) error

获取商品JSON数据

func (*ListC) GetGoodsSearchJson

func (this *ListC) GetGoodsSearchJson(c *echox.Context) error

获取商品JSON数据

func (*ListC) GetSorter

func (this *ListC) GetSorter(ctx *echox.Context) error

func (*ListC) GoodsDetails

func (this *ListC) GoodsDetails(ctx *echox.Context) error

func (*ListC) GoodsView

func (this *ListC) GoodsView(ctx *echox.Context) error

商品详情

func (*ListC) List_Index

func (this *ListC) List_Index(ctx *echox.Context) error

商品列表

func (*ListC) SaleTagGoodsList

func (this *ListC) SaleTagGoodsList(ctx *echox.Context) error

销售标签列表

func (*ListC) SearchList

func (this *ListC) SearchList(ctx *echox.Context) error

商品列表

type MainC

type MainC struct {
}

func (*MainC) App

func (this *MainC) App(ctx *echox.Context) error

func (*MainC) HandleIndexGo

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

处理跳转

func (*MainC) Index

func (this *MainC) Index(ctx *echox.Context) error

func (*MainC) MallEntry

func (this *MainC) MallEntry(ctx *echox.Context) error

func (*MainC) Msc

func (this *MainC) Msc(ctx *echox.Context) error

Member session connect

func (*MainC) Msd

func (this *MainC) Msd(ctx *echox.Context) error

Member session disconnect

func (*MainC) T

func (this *MainC) T(c *echox.Context) error

type PaymentC

type PaymentC struct {
}

func (*PaymentC) Create

func (this *PaymentC) Create(ctx *echox.Context) error

func (*PaymentC) Notify_post

func (this *PaymentC) Notify_post(ctx *echox.Context) error

func (*PaymentC) Return_alipay

func (this *PaymentC) Return_alipay(ctx *echox.Context) error

type ShoppingC

type ShoppingC struct {
}

func (*ShoppingC) Apply

func (this *ShoppingC) Apply(ctx *echox.Context) error

应用卡券(POST)

func (*ShoppingC) BuyingPersist

func (this *ShoppingC) BuyingPersist(ctx *echox.Context) error

订单持久化(POST)

func (*ShoppingC) Confirm

func (this *ShoppingC) Confirm(ctx *echox.Context) error

订单确认

func (*ShoppingC) GetDeliverAddress

func (this *ShoppingC) GetDeliverAddress(ctx *echox.Context) error

配送地址管理

func (*ShoppingC) Index

func (this *ShoppingC) Index(ctx *echox.Context) error

购买中转

func (*ShoppingC) OrderEmpty

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

func (*ShoppingC) Order_finish

func (this *ShoppingC) Order_finish(ctx *echox.Context) error

func (*ShoppingC) Payment

func (this *ShoppingC) Payment(ctx *echox.Context) error

func (*ShoppingC) SaveDeliverAddress

func (this *ShoppingC) SaveDeliverAddress(ctx *echox.Context) error

保存配送地址(POST)

func (*ShoppingC) Submit_0

func (this *ShoppingC) Submit_0(ctx *echox.Context) error

提交订单

type UserC

type UserC struct {
}

func (*UserC) JumpToMCenter

func (this *UserC) JumpToMCenter(ctx *echox.Context) error

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

func (*UserC) Login

func (this *UserC) Login(ctx *echox.Context) error

func (*UserC) Logout

func (this *UserC) Logout(ctx *echox.Context) error

退出

func (*UserC) PostRegisterInfo

func (this *UserC) PostRegisterInfo(ctx *echox.Context) error

提交注册信息(POST)

func (*UserC) Register

func (this *UserC) Register(ctx *echox.Context) error

func (*UserC) ValidUsr

func (this *UserC) ValidUsr(ctx *echox.Context) error

验证用户(POST)

func (*UserC) Valid_invitation

func (this *UserC) Valid_invitation(ctx *echox.Context) error

验证推荐人(POST)

Jump to

Keyboard shortcuts

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