server

package
v0.0.0-...-33ecd2b Latest Latest
Warning

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

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

Documentation

Overview

*

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

*

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

*

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

*

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Redis

func Redis() *redis.Pool

func Verify

func Verify(m *jsv.Args) (memberId int, err error)

func VerifyPartner

func VerifyPartner(m *jsv.Args) (partnerId int, err error, p *partner.ValuePartner)

Types

type Member

type Member struct {
	Redis *redis.Pool
}

func (*Member) DeleteDeliverAddr

func (this *Member) DeleteDeliverAddr(m *jsv.Args, r *jsv.Result) error

func (*Member) GetBankInfo

func (this *Member) GetBankInfo(m *jsv.Args, r *jsv.Result) error

func (*Member) GetBindPartner

func (this *Member) GetBindPartner(m *jsv.Args, r *partner.ValuePartner) error

func (*Member) GetDeliverAddrById

func (this *Member) GetDeliverAddrById(m *jsv.Args, r *jsv.Result) error

func (*Member) GetDeliverAddrs

func (this *Member) GetDeliverAddrs(m *jsv.Args, r *jsv.Result) error

func (*Member) GetMember

func (this *Member) GetMember(m *jsv.Args, r *member.ValueMember) error

func (*Member) GetMemberAccount

func (this *Member) GetMemberAccount(m *jsv.Args, r *jsv.Result) error

func (*Member) Login

func (this *Member) Login(m *jsv.Args, r *dto.MemberLoginResult) error

登录验证

func (*Member) SaveBankInfo

func (this *Member) SaveBankInfo(m *jsv.Args, r *jsv.Result) error

func (*Member) SaveDeliverAddr

func (this *Member) SaveDeliverAddr(m *jsv.Args, r *jsv.Result) error

func (*Member) SaveMember

func (this *Member) SaveMember(m *jsv.Args, r *jsv.Result) error

func (*Member) Verify

func (this *Member) Verify(m *jsv.Args, r *jsv.Result) error

type Partner

type Partner struct{}

合作商户的接口

func (*Partner) AddCartItem

func (this *Partner) AddCartItem(m *jsv.Args, item *dto.CartItem) error

func (*Partner) BuildOrder

func (this *Partner) BuildOrder(m *jsv.Args, r *jsv.Result) error

func (*Partner) Category

func (this *Partner) Category(m *jsv.Args, r *jsv.Result) error

func (*Partner) CheckUsrExist

func (this *Partner) CheckUsrExist(m *jsv.Args, r *jsv.Result) error

func (*Partner) GetCartSettle

func (this *Partner) GetCartSettle(m *jsv.Args, r *dto.SettleMeta) error

func (*Partner) GetHost

func (this *Partner) GetHost(m *jsv.Args, r *jsv.Result) error

func (*Partner) GetItems

func (this *Partner) GetItems(m *jsv.Args, r *jsv.Result) error

func (*Partner) GetOrderByNo

func (this *Partner) GetOrderByNo(m *jsv.Args, r *shopping.ValueOrder) error

func (*Partner) GetPartner

func (this *Partner) GetPartner(m *jsv.Args, r *jsv.Result) error

func (*Partner) GetShoppingCart

func (this *Partner) GetShoppingCart(m *jsv.Args, r *dto.ShoppingCart) error

func (*Partner) GetShops

func (this *Partner) GetShops(m *jsv.Args, r *jsv.Result) error

func (*Partner) GetSiteConf

func (this *Partner) GetSiteConf(m *jsv.Args, r *jsv.Result) error

func (*Partner) OrderPersist

func (this *Partner) OrderPersist(m *jsv.Args, r *jsv.Result) error

订单持久

func (*Partner) RegisterMember

func (this *Partner) RegisterMember(m *jsv.Args, r *jsv.Result) error

func (*Partner) SubCartItem

func (this *Partner) SubCartItem(m *jsv.Args, r *jsv.Result) error

func (*Partner) SubmitOrder

func (this *Partner) SubmitOrder(m *jsv.Args, r *jsv.Result) error

需要传递配送地址

Jump to

Keyboard shortcuts

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