dto

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: 1 Imported by: 0

Documentation

Overview

*

  • Copyright 2015 @ z3q.net.
  • name : login_result.go
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : member
  • author : jarryliu
  • date : 2015-10-29 15:06
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : member_summary
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

  • Copyright 2015 @ z3q.net.
  • name : message_result
  • author : jarryliu
  • date : -- :
  • description :
  • history :

*

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

*

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

*

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

*

  • Copyright 2015 @ z3q.net.
  • name : types
  • author : jarryliu
  • date : 2015-10-29 15:33
  • 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:"sale_price"`
}

type MemberLoginResult

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

type MemberSummary

type MemberSummary struct {
	Id             int    `db:"id" auto:"yes" pk:"yes"`
	Usr            string `db:"usr"`
	Name           string `db:"name"`
	Exp            int    `db:"exp"`
	Level          int    `db:"level"`
	LevelName      string
	Integral       int
	Balance        float32
	PresentBalance float32
	UpdateTime     int64 `db:"update_time"`
}

会员概览信息

type MessageResult

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

操作消息结果

type RankMember

type RankMember struct {
	Id       int
	Name     string
	Usr      string
	RankNum  int
	InviNum  int // 邀请数量
	TotalNum int // 总数
	RegTime  int
}

会员排名信息

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:"update_time"`
	Items      []*CartItem `json:"items"`
	TotalNum   int         `json:"total_num"` // 总数量
	TotalFee   float32     `json:"total"`
	OrderFee   float32     `json:"fee"`
}

type SimpleMember

type SimpleMember struct {
	Id    int    `json:"id"`
	Name  string `json:"name"`
	User  string `json:"user"`
	Phone string `json:"phone"`
}

type TextObject

type TextObject struct {
	Text  string `json:"text"`
	Value int    `json:"value"`
	Title string `json:"title"`
}

Jump to

Keyboard shortcuts

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