define

package
v0.0.0-...-a18df83 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClassIaeForm

type ClassIaeForm struct {
	Id       int       `json:"id"        input:"label|disabled#ID|1"`
	Name     string    `json:"name"      input:"label#分类名称"`
	CreateAt time.Time `json:"create_at" input:"label|disabled#创建时间|1"`
	UpdateAt time.Time `json:"update_at" input:"label|disabled#更新时间|1"`
}

type ClassIaeReq

type ClassIaeReq struct {
	Id   int    `json:"id"        `
	Name string `json:"name"      v:"required#分类名称不能为空!"`
}

type ClassListReq

type ClassListReq struct {
	Keyword string `json:"keyword"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type FilesListReq

type FilesListReq struct {
	Keyword string `json:"keyword"`
	Type    string `json:"type"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type FilesUploadReq

type FilesUploadReq struct {
	Id   int
	File *ghttp.UploadFile // 上传文件对象
}

type GoodsCreateReq

type GoodsCreateReq struct {
	Cover       string                  `json:"cover"      v:"required#请选择封面图!"`
	Title       string                  `json:"title"      v:"required#请设置商品标题!"`
	ClassId     int                     `json:"class_id"`
	Price       string                  `json:"price"`
	IsNum       int                     `json:"is_num"`
	Type        int                     `json:"type"`
	PayResultId int                     `json:"pay_result_id"`
	Desc        string                  `json:"desc"`
	Details     string                  `json:"details"`
	FilesFlow   []*model.GoodsFilesFlow `json:"files_flow"`
}

type GoodsListReq

type GoodsListReq struct {
	Keyword string `json:"keyword"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type GoodsMemberPriceRespArr

type GoodsMemberPriceRespArr struct {
	model.Goods
	GoodsMemberPrice []model.MemberAndMemberGoodsPrice `json:"goods_member_price"`
}

type GoodsPayResultIaeForm

type GoodsPayResultIaeForm struct {
	Id       int       `json:"id"        input:"label|disabled#ID|1"`
	Title    string    `json:"title"     input:"label#标题"`
	Name     string    `json:"name"     input:"label#简称"`
	Details  string    `json:"details"  input:"label|type#提示详情|tinymce"`
	CreateAt time.Time `json:"create_at" input:"label|disabled#创建时间|1"`
	UpdateAt time.Time `json:"update_at" input:"label|disabled#更新时间|1"`
}

type GoodsPayResultIaeReq

type GoodsPayResultIaeReq struct {
	Id      int    `json:"id"`
	Title   string `json:"title"   v:"required#标题不能为空!"`
	Name    string `json:"text"    v:"required#简称不能为空!"`
	Details string `json:"details"`
}

type GoodsPayResultListReq

type GoodsPayResultListReq struct {
	Keyword string `json:"keyword"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type GoodsPriceReq

type GoodsPriceReq struct {
	Id               int                    `json:"id" v:"required#操作对象不肯为空!"`
	Price            float64                `json:"price"`
	MemberGoodsPrice []*MemberGoodsPriceReq `json:"member_goods_price"`
}

type HelpIaeForm

type HelpIaeForm struct {
	Id       int       `json:"id"        input:"label|disabled#ID|1"`
	Title    string    `json:"title"     input:"label#标题"`
	Text     string    `json:"text"      input:"label|type#内容|tinymce"`
	Sort     int       `json:"sort"      input:"label|placeholder#排序|值越大排名越靠前!"`
	CreateAt time.Time `json:"create_at" input:"label|disabled#创建时间|1"`
	UpdateAt time.Time `json:"update_at" input:"label|disabled#更新时间|1"`
}

type HelpIaeReq

type HelpIaeReq struct {
	Id    int    `json:"id"`
	Title string `json:"title"   v:"required#标题不能为空!"`
	Text  string `json:"text"    v:"required#内容不能为空!"`
	Sort  int    `json:"sort"    v:"integer#排序值必须为整数!"`
}

type HelpListReq

type HelpListReq struct {
	Keyword string `json:"keyword"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type MemberGoodsPriceReq

type MemberGoodsPriceReq struct {
	MemberId int     `json:"member_id"`
	Price    float64 `json:"price"`
}

type MemberIaeForm

type MemberIaeForm struct {
	Id       int       `json:"id"        input:"label|disabled#ID|1"`
	Name     string    `json:"name"      input:"label#会员名称"`
	Price    string    `json:"price"     input:"label#会员价格"`
	Rebate   int       `json:"rebate"    input:"label#默认折扣"`
	Day      int       `json:"day"       input:"label#有效日期"`
	CreateAt time.Time `json:"create_at" input:"label|disabled#创建时间|1"`
	UpdateAt time.Time `json:"update_at" input:"label|disabled#更新时间|1"`
}

type MemberIaeReq

type MemberIaeReq struct {
	Id     int    `json:"id"        `
	Name   string `json:"name"      v:"required#会员名称不能为空!"`
	Price  string `json:"price"     v:"required|float#会员价格不能为空|会员金额格式有误"`
	Rebate int    `` /* 131-byte string literal not displayed */
	Day    int    `json:"day"       v:"integer#有效日期必须为整数!"`
}

type MemberListReq

type MemberListReq struct {
	Keyword string `json:"keyword"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type OrderListReq

type OrderListReq struct {
	Keyword string `json:"keyword"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
}

type UserEditMoneyReq

type UserEditMoneyReq struct {
	Id    int    `json:"id"`
	Money string `json:"money"`
}

type UserEditPasswordReq

type UserEditPasswordReq struct {
	Id        int    `json:"id"`
	Password  string `json:"password"  v:"password@required|password"`
	Password2 string `json:"password2" v:"password2@required|password|same:password#请确认密码||两次密码不一致,请重新输入"`
}

type UserIaeForm

type UserIaeForm struct {
	Id       int       `json:"id"        input:"label|disabled#ID|1"`
	Username string    `json:"username"  input:"label|disabled#用户名|-1"`
	Nikcname string    `json:"nickname"  input:"label#昵称"`
	Money    string    `json:"money"     input:"label|disabled#金额|1"`
	Email    string    `json:"email"     input:"label#邮箱"`
	IsEmail  int       `json:"is_email"  input:"label|type|active|inactive#邮箱验证|switch|1|0"`
	Mobile   string    `json:"mobile"    input:"label#手机"`
	IsMobile int       `json:"is_mobile" input:"label|type|active|inactive#手机验证|switch|1|0"`
	CreateAt time.Time `json:"create_at" input:"label|disabled#创建时间|1"`
	UpdateAt time.Time `json:"update_at" input:"label|disabled#更新时间|1"`
	DeleteAt time.Time `json:"delete_at" input:"label|disabled#删除时间|1"`
}

type UserIeaReq

type UserIeaReq struct {
	Id       int    `json:"id"         `
	Username string `json:"username"   `
	Nikcname string `json:"nickname"   `
	Email    string `json:"email"      v:"email#邮箱格式有误!"`
	IsEmail  int    `json:"is_email"   `
	Mobile   string `json:"mobile"     v:"phone#手机格式有误!"`
	IsMobile int    `json:"is_mobile"  `
}

type UserListReq

type UserListReq struct {
	Keyword string `json:"keyword"`
	Status  string `json:"status"`
	Page    int    `json:"page"`
	Size    int    `json:"size"`
	Delete  int    `json:"delete"`
}

Jump to

Keyboard shortcuts

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