service

package
v0.0.0-...-7e5dd20 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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 (*AppAddressService) GetList

获取收货地址列表

func (*AppAddressService) Save

保存收货地址

type AppCartService

type AppCartService struct {
}

func (*AppCartService) Add

func (c *AppCartService) Add(param app.CartAddParam) int64

添加购物车

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 {
}

func (*AppUserService) Login

func (u *AppUserService) Login(code string) *app.UserInfo

买家用户登录

type UserService

type UserService struct {
}

func (*UserService) Login

func (u *UserService) Login(param web.LoginParam) uint64

商家用户登录

type WebCategoryService

type WebCategoryService struct {
}

func (*WebCategoryService) Create

创建商品类目

func (*WebCategoryService) Delete

删除商品类目

func (*WebCategoryService) GetList

获取商品类目列表

func (*WebCategoryService) GetOption

func (c *WebCategoryService) GetOption() (option []web.CategoryOption)

获取商品类目选项

func (*WebCategoryService) Update

更新商品类目

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 (*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

统计订单数据

func (*WebStatisticsService) ShopData

func (s *WebStatisticsService) ShopData(param web.DataParam) web.ShopData

统计店铺数据

func (*WebStatisticsService) TodayData

func (s *WebStatisticsService) TodayData(param web.DataParam) web.TodayDate

统计当日数据

Jump to

Keyboard shortcuts

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