Documentation ¶
Index ¶
- type AppAddressService
- type AppCartService
- type AppCategoryService
- type AppGoodsService
- type AppMarketService
- type AppOrderService
- type AppUserService
- type UserService
- type WebCategoryService
- func (c *WebCategoryService) Create(param web.CategoryCreateParam) int64
- func (c *WebCategoryService) Delete(param web.CategoryDeleteParam) int64
- func (g *WebCategoryService) GetList(param web.CategoryQueryParam) []web.CategoryList
- func (c *WebCategoryService) GetOption() (option []web.CategoryOption)
- func (c *WebCategoryService) Update(param web.CategoryUpdateParam) int64
- type WebFeedBackService
- type WebGoodsService
- func (g *WebGoodsService) Create(param web.GoodsCreateParam) int64
- func (g *WebGoodsService) Delete(param web.GoodsDeleteParam) int64
- func (g *WebGoodsService) GetList(param web.GoodsListParam) ([]web.GoodsList, int64)
- func (g *WebGoodsService) Update(param web.GoodsUpdateParam) int64
- func (g *WebGoodsService) UpdateStatus(param web.GoodsStatusUpdateParam) int64
- type WebMarketService
- func (m *WebMarketService) Create(param web.MarketCreateParam) int64
- func (m *WebMarketService) Delete(param web.MarketDeleteParam) int64
- func (m *WebMarketService) GetGoods(param web.MarketGoodsQueryParma) []web.MarketGoods
- func (m *WebMarketService) GetList(param web.MarketQueryParam) ([]web.MarketList, int64)
- func (m *WebMarketService) Update(param web.MarketUpdateParam) int64
- func (m *WebMarketService) UpdateStatus(param web.MarketStatusUpdateParam) int64
- type WebOrderService
- func (o *WebOrderService) Delete(param web.OrderDeleteParam) int64
- func (o *WebOrderService) GetDetail(param web.OrderDetailParam) (od web.OrderDetail)
- func (o *WebOrderService) GetList(param web.OrderListParam) ([]web.OrderList, int64)
- func (o *WebOrderService) Update(param web.OrderUpdateParam) int64
- type WebStatisticsService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAddressService ¶
type AppAddressService struct { }
func (*AppAddressService) Delete ¶
func (a *AppAddressService) Delete(param app.AddressDeleteParam) int64
删除收货地址
func (*AppAddressService) GetInfo ¶
func (a *AppAddressService) GetInfo(param app.AddressInfoParam) app.AddressInfo
获取收货地址信息
func (*AppAddressService) GetList ¶
func (a *AppAddressService) GetList(param app.AddressListParam) []app.AddressList
获取收货地址列表
func (*AppAddressService) Save ¶
func (a *AppAddressService) Save(param app.AddressSaveParam) int64
保存收货地址
type AppCartService ¶
type AppCartService struct { }
func (*AppCartService) Clear ¶
func (c *AppCartService) Clear(param app.CartClearParam) int64
清空购物车中的商品
func (*AppCartService) Delete ¶
func (c *AppCartService) Delete(param app.CartDeleteParam) int64
删除购物车中的某项商品
func (*AppCartService) GetInfo ¶
func (c *AppCartService) GetInfo(param app.CartQueryParam) app.CartInfo
获取购物车信息
type AppCategoryService ¶
type AppCategoryService struct { }
func (*AppCategoryService) GetOption ¶
func (c *AppCategoryService) GetOption(param app.CategoryQueryParam) (option []app.CategoryOption)
获取商品类目选项
type AppGoodsService ¶
type AppGoodsService struct { }
func (*AppGoodsService) GetInfo ¶
func (g *AppGoodsService) GetInfo(param app.GoodsInfoParam) app.GoodsInfo
获取商品详情
func (*AppGoodsService) GetList ¶
func (g *AppGoodsService) GetList(param app.GoodsQueryParam) []app.GoodsList
获取商品列表
func (*AppGoodsService) Search ¶
func (g *AppGoodsService) Search(param app.GoodsSearchParam) []app.GoodsList
搜索商品
type AppMarketService ¶
type AppMarketService struct { }
func (*AppMarketService) GetBannerList ¶
func (m *AppMarketService) GetBannerList(param app.BannerQueryParam) []app.BannerList
获取钻石展位列表
type AppOrderService ¶
type AppOrderService struct { }
func (*AppOrderService) GetList ¶
func (o *AppOrderService) GetList(param app.OrderQueryParam) []app.OrderList
获取订单列表
func (*AppOrderService) Submit ¶
func (o *AppOrderService) Submit(param app.OrderSubmitParam) int64
提交订单
func (*AppOrderService) Update ¶
func (o *AppOrderService) Update(param app.OrderUpdateParam) int64
Update 更新订单
type AppUserService ¶
type AppUserService struct { }
type UserService ¶
type UserService struct { }
type WebCategoryService ¶
type WebCategoryService struct { }
func (*WebCategoryService) Create ¶
func (c *WebCategoryService) Create(param web.CategoryCreateParam) int64
创建商品类目
func (*WebCategoryService) Delete ¶
func (c *WebCategoryService) Delete(param web.CategoryDeleteParam) int64
删除商品类目
func (*WebCategoryService) GetList ¶
func (g *WebCategoryService) GetList(param web.CategoryQueryParam) []web.CategoryList
获取商品类目列表
func (*WebCategoryService) GetOption ¶
func (c *WebCategoryService) GetOption() (option []web.CategoryOption)
获取商品类目选项
func (*WebCategoryService) Update ¶
func (c *WebCategoryService) Update(param web.CategoryUpdateParam) int64
更新商品类目
type WebFeedBackService ¶
type WebFeedBackService struct { }
func (*WebFeedBackService) Send ¶
func (f *WebFeedBackService) Send(param web.FeedbackParam) error
发送反馈的问题到QQ邮箱
type WebGoodsService ¶
type WebGoodsService struct { }
func (*WebGoodsService) Create ¶
func (g *WebGoodsService) Create(param web.GoodsCreateParam) int64
创建商品
func (*WebGoodsService) Delete ¶
func (g *WebGoodsService) Delete(param web.GoodsDeleteParam) int64
删除商品
func (*WebGoodsService) GetList ¶
func (g *WebGoodsService) GetList(param web.GoodsListParam) ([]web.GoodsList, int64)
获取商品列表
func (*WebGoodsService) Update ¶
func (g *WebGoodsService) Update(param web.GoodsUpdateParam) int64
更新商品
func (*WebGoodsService) UpdateStatus ¶
func (g *WebGoodsService) UpdateStatus(param web.GoodsStatusUpdateParam) int64
更新商品状态
type WebMarketService ¶
type WebMarketService struct { }
func (*WebMarketService) Create ¶
func (m *WebMarketService) Create(param web.MarketCreateParam) int64
创建营销活动
func (*WebMarketService) Delete ¶
func (m *WebMarketService) Delete(param web.MarketDeleteParam) int64
删除营销活动
func (*WebMarketService) GetGoods ¶
func (m *WebMarketService) GetGoods(param web.MarketGoodsQueryParma) []web.MarketGoods
获取可关联活动的商品列表
func (*WebMarketService) GetList ¶
func (m *WebMarketService) GetList(param web.MarketQueryParam) ([]web.MarketList, int64)
获取营销活动列表
func (*WebMarketService) Update ¶
func (m *WebMarketService) Update(param web.MarketUpdateParam) int64
更新营销活动
func (*WebMarketService) UpdateStatus ¶
func (m *WebMarketService) UpdateStatus(param web.MarketStatusUpdateParam) int64
开启或关闭营销活动
type WebOrderService ¶
type WebOrderService struct { }
func (*WebOrderService) Delete ¶
func (o *WebOrderService) Delete(param web.OrderDeleteParam) int64
删除订单
func (*WebOrderService) GetDetail ¶
func (o *WebOrderService) GetDetail(param web.OrderDetailParam) (od web.OrderDetail)
GetDetail 获取订单详情
func (*WebOrderService) GetList ¶
func (o *WebOrderService) GetList(param web.OrderListParam) ([]web.OrderList, int64)
获取订单列表
func (*WebOrderService) Update ¶
func (o *WebOrderService) Update(param web.OrderUpdateParam) int64
更新订单
type WebStatisticsService ¶
type WebStatisticsService struct { }
func (*WebStatisticsService) OrderData ¶
func (s *WebStatisticsService) OrderData(param web.DataParam) web.OrderData
统计订单数据
Click to show internal directories.
Click to hide internal directories.