reservation

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

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

Go to latest
Published: Jul 28, 2021 License: GPL-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 Common

type Common struct {
	client.Baseclient
}

func (*Common) AddHealth

func (c *Common) AddHealth(ctx context.Context, args *reservation.ArgsHealthAdd, reply *int) error

添加顾客健康信息

func (*Common) AddHealthArrive

func (c *Common) AddHealthArrive(ctx context.Context, args *reservation.ArgsHealthAdd, reply *int) error

添加顾客到店健康信息

func (*Common) AddHealthLeave

func (c *Common) AddHealthLeave(ctx context.Context, args *reservation.ArgsHealthAdd, reply *int) error

添加顾客离店健康信息

func (*Common) GetHealth

func (c *Common) GetHealth(ctx context.Context, args *reservation.ArgsHealthGet, reply *reservation.ReplyHealth) error

查询顾客健康信息

func (*Common) GetReservationTime

func (c *Common) GetReservationTime(ctx context.Context, args *reservation.ArgsTimeGet, reply *reservation.ReplyTime) error

根据服务id和手艺人id查询时间

func (*Common) Init

func (c *Common) Init() *Common

type DayStatistics

type DayStatistics struct {
	client.Baseclient
}

func (*DayStatistics) GetTotalStatistics

根据条件获取预约统计数据(今日预约完成数,总待处理预约数)

func (*DayStatistics) Init

func (d *DayStatistics) Init() *DayStatistics

type Record

type Record struct {
	client.Baseclient
}

func (*Record) ChangeStatus

func (r *Record) ChangeStatus(ctx context.Context, params *reservation.ModifyReservationParams, replies *bool) (err error)

更新预约记录状态(取消,确认,完成)

func (*Record) CommonReserve

func (r *Record) CommonReserve(ctx context.Context, params *reservation.CommonReserveParams, replies *reservation.ReplyCommonReserveParams) (err error)

通用预约接口

func (*Record) EditReservation

func (r *Record) EditReservation(ctx context.Context, params *reservation.EditReservationParams, replies *bool) (err error)

编辑预约

func (*Record) GetCardPackageSingleNum

查询预约中用户卡包单项目的预约次数(未结束的)

func (*Record) GetItemsByReservationIdsRpc

func (r *Record) GetItemsByReservationIdsRpc(ctx context.Context, params *reservation.ArgsGetItemsByReservationIds, replies *reservation.ReplyGetItemsByReservationIds) (err error)

根据预约ids获取预约条目-rpc

func (*Record) GetKxbOrderedList

门店预约订单管理

func (*Record) GetReservationControlList

func (r *Record) GetReservationControlList(ctx context.Context, params *reservation.GetReservationRecordListParams, replies *reservation.GetReservationRecordListReplies) (err error)

预约管控列表

func (*Record) GetReservationControlListRpc

func (r *Record) GetReservationControlListRpc(ctx context.Context, ids *[]int, replies *reservation.GetReservationRecordListReplies) (err error)

管控RPC内部

func (*Record) GetReservationItemList

func (r *Record) GetReservationItemList(ctx context.Context, params *reservation.GetReservationItemListParams, replies *reservation.GetReservationItemListReplies) (err error)

获取员工预约条目列表

func (*Record) GetReservationItemListByUid

func (r *Record) GetReservationItemListByUid(ctx context.Context, args *reservation.ArgsReservationByUser, reply *reservation.ReplyReservationByUser) error

获取用户预约条目列表

func (*Record) GetReservationRecord

func (r *Record) GetReservationRecord(ctx context.Context, params *reservation.GetReservationRecordParams, replies *reservation.ReplyGetReservationRecordParams) (err error)

获取预约记录信息

func (*Record) GetReservationRecordListByShopID

func (r *Record) GetReservationRecordListByShopID(ctx context.Context, params *reservation.ArgsReservationRecordListByShopID, replies *reservation.ReplyReservationRecordListByShopID) (err error)

门店预约看板

func (*Record) GetSimpleReserOrderRpc

根据条件获取预约基础信息

func (*Record) Init

func (r *Record) Init() *Record

func (*Record) InvalidateReservationItem

func (r *Record) InvalidateReservationItem(ctx context.Context, params *reservation.InvalidateReservationItemParams, replies *bool) (err error)

设置预约Item失效

type ReservationStaff

type ReservationStaff struct {
	client.Baseclient
}

func (*ReservationStaff) GetReservationStaff

func (r *ReservationStaff) GetReservationStaff(ctx context.Context, args *reservation.ArgsReservationStaff, reply *map[int][]reservation.ReplyReservationStaff) (err error)

获取技师被预约的时间

func (*ReservationStaff) Init

type Setting

type Setting struct {
	client.Baseclient
}

func (*Setting) BusOpenCloseReservSwitch

func (s *Setting) BusOpenCloseReservSwitch(ctx context.Context, args *reservation.ArgsBusOpenCloseReservSwitch, reply *bool) (err error)

总店开启/关闭预约功能

func (*Setting) ChangeSettingStatus

func (s *Setting) ChangeSettingStatus(ctx context.Context, args *reservation.ChangeSettingStatus, reply *bool) (err error)

disable店面预约设置

func (*Setting) CreateSetting

func (s *Setting) CreateSetting(ctx context.Context, args *reservation.CreateAndEditSettingParams, reply *bool) (err error)

店面创建预约设置

func (*Setting) EditSetting

func (s *Setting) EditSetting(ctx context.Context, args *reservation.CreateAndEditSettingParams, reply *bool) (err error)

店面编辑预约设置

func (*Setting) EnableSetting

func (s *Setting) EnableSetting(ctx context.Context, args *reservation.CreateAndEditSettingParams, reply *bool) (err error)

店面开通预约设置

func (*Setting) GetReservSwitchStatus

func (s *Setting) GetReservSwitchStatus(ctx context.Context, args *reservation.ArgsGetReservSwitchStatus, reply *reservation.ReplyGetReservSwitchStatus) (err error)

获取预约功能开启状态

func (*Setting) GetSetting

func (s *Setting) GetSetting(ctx context.Context, args *reservation.GetSettingParams, reply *reservation.GetSettingReplies) (err error)

获取配置

func (*Setting) GetSetttingShops

func (s *Setting) GetSetttingShops(ctx context.Context, shopIds *[]int, reply *[]reservation.ReplySettingShops) (err error)

批量获取分店预约设置信息

func (*Setting) Init

func (s *Setting) Init() *Setting

Jump to

Keyboard shortcuts

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