dto

package
v0.0.0-...-0eb9a37 Latest Latest
Warning

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

Go to latest
Published: May 19, 2015 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

*

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

*

  • Copyright 2015 @ S1N1 Team.
  • name : login_result.go
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2015 @ S1N1 Team.
  • name : message_result
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2014 @ S1N1 Team.
  • name :
  • author : jarryliu
  • date : 2014-02-09 17:53
  • description :
  • history :

*

  • Copyright 2014 @ S1N1 Team.
  • name :
  • author : jarryliu
  • date : 2014-02-09 17:49
  • description :
  • history :

*

  • Copyright 2014 @ S1N1 Team.
  • name :
  • author : jarryliu
  • date : 2014-02-09 17:51
  • description :
  • history :

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CartItem

type CartItem struct {
	GoodsId    int     `json:"id"`
	GoodsName  string  `json:"name"`
	GoodsNo    string  `json:"no"`
	SmallTitle string  `json:"title"`
	GoodsImage string  `json:"image"`
	Num        int     `json:"num"`
	Price      float32 `json:"price"`
	SalePrice  float32 `json:"salePrice"`
}

type ListGoods

type ListGoods struct {
	Id         int
	Name       string
	SmallTitle string
	Image      string
	Price      float32
	SalePrice  float32
}

列表页商品

type MemberLoginResult

type MemberLoginResult struct {
	Result  bool
	Message string
	Member  *member.ValueMember
}

type MessageResult

type MessageResult struct {
	Result  bool   `json:"result"`
	Message string `json:"message"`
	Tag     int    `json:"tag"`
}

操作消息结果

type SettleDeliverMeta

type SettleDeliverMeta struct {
	Id         int    `db:"id"`
	PersonName string `db:"personName"`
	Phone      string `db:"phone"`
	Address    string `db:"address"`
}

type SettleMeta

type SettleMeta struct {
	PaymentOpt int                `json:"pay_opt"`
	DeliverOpt int                `json:"deliver_opt"`
	Shop       *SettleShopMeta    `json:"shop"`
	Deliver    *SettleDeliverMeta `json:"deliver"`
}

type SettleShopMeta

type SettleShopMeta struct {
	Id   int    `json:"id"`
	Name string `json:"name"`
	Tel  string `json:"tel"`
}

type ShoppingCart

type ShoppingCart struct {
	Id         int         `json:"-"`
	CartKey    string      `json:"key"`
	BuyerId    int         `json:"buyer"`
	Summary    string      `json:"summary"`
	UpdateTime int64       `json:"updateTime"`
	Items      []*CartItem `json:"items"`
	TotalFee   float32     `json:"total"`
	OrderFee   float32     `json:"fee"`
	IsBought   int         `json:"isBought"` //是否已经购买
}

Jump to

Keyboard shortcuts

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