Documentation ¶
Overview ¶
@author yangzhiwu<578154898@qq.com> @date 2020/10/21 14:44
@author yangzhiwu<578154898@qq.com> @date 2020/4/9 13:42
@author yangzhiwu<578154898@qq.com> @date 2020/4/15 14:44
单项目规格 @author yangzhiwu<578154898@qq.com> @date 2020/4/7 18:39
标签 @author yangzhiwu<578154898@qq.com> @date 2020/4/10 16:41
Index ¶
- type Card
- func (n *Card) AddCard(ctx context.Context, params *cards.ArgsAddCard, replies *cards.RepliesAddCard) error
- func (n *Card) BusCardPage(ctx context.Context, params *cards.ArgsBusCardPage, ...) error
- func (n *Card) CardInfo(ctx context.Context, params *cards.ArgsCardInfo, replies *cards.ReplyCardInfo) error
- func (n *Card) CardsInfo(ctx context.Context, params *cards.ArgsCardsInfo, ...) error
- func (n *Card) DeleteCard(ctx context.Context, params *cards.ArgsDeleteCard, replies *bool) error
- func (n *Card) DeleteShopCard(ctx context.Context, args *cards.ArgsDeleteShopCard, replies *bool) error
- func (n *Card) DownUpCard(ctx context.Context, params *cards.ArgsDownUpCard, replies *cards.EmptyReplies) error
- func (n *Card) EditCard(ctx context.Context, params *cards.ArgsEditCard, replies *cards.EmptyReplies) error
- func (n *Card) GetAllCardsNum(ctx context.Context, args *cards.ArgsAllCardsNum, ...) error
- func (n *Card) Init() *Card
- func (n *Card) SetCardShop(ctx context.Context, params *cards.ArgsSetCardShop, ...) error
- func (n *Card) ShopAddCard(ctx context.Context, params *cards.ArgsShopAddCard, ...) error
- func (n *Card) ShopCardListRpc(ctx context.Context, params *cards.ArgsShopCardListRpc, ...) error
- func (n *Card) ShopCardPage(ctx context.Context, params *cards.ArgsShopCardPage, ...) error
- func (n *Card) ShopDownUpCard(ctx context.Context, params *cards.ArgsShopDownUpCard, ...) error
- func (n *Card) ShopGetBusCardPage(ctx context.Context, params *cards.ArgsShopGetBusCardPage, ...) error
- type HNCard
- func (n *HNCard) AddHNCard(ctx context.Context, params *cards.ArgsAddHNCard, ...) error
- func (n *HNCard) BusHNCardPage(ctx context.Context, params *cards.ArgsBusHNCardPage, ...) error
- func (n *HNCard) DeleteHNCard(ctx context.Context, args *cards.ArgsDelHNCard, reply *bool) error
- func (n *HNCard) DownUpHNCard(ctx context.Context, params *cards.ArgsDownUpHNCard, ...) error
- func (n *HNCard) EditHNCard(ctx context.Context, params *cards.ArgsEditHNCard, replies *cards.EmptyReplies) error
- func (n *HNCard) HNCardInfo(ctx context.Context, params *cards.ArgsHNCardInfo, ...) error
- func (n *HNCard) Init() *HNCard
- func (n *HNCard) SetHNCardShop(ctx context.Context, params *cards.ArgsSetHNCardShop, ...) error
- func (n *HNCard) ShopAddHNCard(ctx context.Context, params *cards.ArgsShopAddHNCard, ...) error
- func (n *HNCard) ShopDeleteHNCard(ctx context.Context, args *cards.ArgsDelHNCard, reply *bool) error
- func (n *HNCard) ShopDownUpHNCard(ctx context.Context, params *cards.ArgsShopDownUpHNCard, ...) error
- func (n *HNCard) ShopGetBusHNCardPage(ctx context.Context, params *cards.ArgsShopGetBusHNCardPage, ...) error
- func (n *HNCard) ShopHNCardPage(ctx context.Context, params *cards.ArgsShopHNCardPage, ...) error
- func (n *HNCard) ShopHncardRpc(ctx context.Context, params *cards.ArgsShopHncardRpc, ...) error
- type Hcard
- func (h *Hcard) AddHcard(ctx context.Context, args *cards.ArgsAddHcard, reply *cards.ReplyAddHcard) error
- func (h *Hcard) BusHcardPage(ctx context.Context, args *cards.ArgsBusHcardPage, reply *cards.ReplyHcardPage) error
- func (h *Hcard) DeleteHcard(ctx context.Context, args *cards.ArgsDeleteHcard, reply *bool) error
- func (h *Hcard) DownUpHcard(ctx context.Context, args *cards.ArgsDownUpHcard, reply *bool) error
- func (h *Hcard) EditHcard(ctx context.Context, args *cards.ArgsEditHcard, reply *bool) error
- func (h *Hcard) HcardInfo(ctx context.Context, args *cards.ArgsHcardInfo, reply *cards.ReplyHcardInfo) error
- func (h *Hcard) Init() *Hcard
- func (h *Hcard) SetHcardShop(ctx context.Context, args *cards.ArgsSetHcardShop, reply *bool) error
- func (h *Hcard) ShopAddHcard(ctx context.Context, args *cards.ArgsShopAddHcard, reply *bool) error
- func (h *Hcard) ShopDeleteHcard(ctx context.Context, args *cards.ArgsDeleteHcard, reply *bool) error
- func (h *Hcard) ShopDownUpHcard(ctx context.Context, args *cards.ArgsShopDownUpHcard, reply *bool) error
- func (h *Hcard) ShopGetBusHcardPage(ctx context.Context, args *cards.ArgsShopGetBusHcardPage, ...) error
- func (h *Hcard) ShopHcardListRpc(ctx context.Context, args *cards.ArgsShopCardListRpc, ...) error
- func (h *Hcard) ShopHcardPage(ctx context.Context, args *cards.ArgsShopHcardPage, ...) error
- type ICardClient
- func (c *ICardClient) AddToShop(ctx context.Context, args *cards.InputParamsICardAddToShop, ...) error
- func (c *ICardClient) CanUseICardList(ctx context.Context, args *cards.InputParamsICardCanUse, ...) error
- func (c *ICardClient) CanUseICardListForUser(ctx context.Context, args *cards.InputParamsICardCanUseForUser, ...) error
- func (c *ICardClient) Delete(ctx context.Context, args *cards.InputParamsDelete, reply *bool) error
- func (c *ICardClient) GetBusBaseInfoRpc(ctx context.Context, iCardId *int, reply *cards.ReplyGetBusBaseInfoRpc) error
- func (c *ICardClient) GetICardSingleDiscount(ctx context.Context, args *cards.ArgsGetICardSingleDiscount, ...) error
- func (c *ICardClient) GetIcardDiscountById(ctx context.Context, iCardId *int, reply *cards.ReplyGetIcardDiscountById) error
- func (c *ICardClient) Info(ctx context.Context, args *cards.InputParamsICardInfo, ...) error
- func (c *ICardClient) Init() *ICardClient
- func (c *ICardClient) List(ctx context.Context, args *cards.InputParamsICardList, ...) error
- func (c *ICardClient) OurShopList(ctx context.Context, args *cards.InputParamsICardList, ...) error
- func (c *ICardClient) Push(ctx context.Context, args *cards.InputParamsICardPush, ...) error
- func (c *ICardClient) Save(ctx context.Context, args *cards.InputParamsICardSave, ...) error
- func (c *ICardClient) SetOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, ...) error
- func (c *ICardClient) SetOn(ctx context.Context, args *cards.InputParamsICardSetOnOff, ...) error
- func (c *ICardClient) SetOnOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, ...) error
- func (c *ICardClient) ShopList(ctx context.Context, args *cards.InputParamsICardList, ...) error
- func (c *ICardClient) ShopSetOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, ...) error
- func (c *ICardClient) ShopSetOn(ctx context.Context, args *cards.InputParamsICardSetOnOff, ...) error
- func (c *ICardClient) ShopSetOnOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, ...) error
- func (c *ICardClient) UserICardList(ctx context.Context, args *cards.InputParams, reply *cards.OutputReply) error
- type Item
- func (i *Item) CollectItems(ctx context.Context, args *cards.ArgsCollectItems, reply *bool) error
- func (i *Item) CrateContractPDFRpc(ctx context.Context, args *cards.ReplyHeTongInfo, pdfId int) error
- func (i *Item) GetCardProductsInfo(ctx context.Context, args *cards.ArgsGetCardProductsSinglesInfo, ...) error
- func (i *Item) GetCollectItems(ctx context.Context, args *cards.ArgsGetCollectItems, ...) error
- func (i *Item) GetCollectStatus(ctx context.Context, args *cards.ArgsCollectStatus, ...) error
- func (i *Item) GetDetailById(ctx context.Context, args *cards.ArgsShopList, ...) error
- func (i *Item) GetHeTongInfo(ctx context.Context, args *cards.ArgsHeTongInfo, reply *cards.ReplyHeTongInfo) error
- func (i *Item) GetInfos(ctx context.Context, args *cards.ArgsAppInfos, reply *cards.ReplyAppInfo) error
- func (i *Item) GetItemAllXCradsNumByShopId(ctx context.Context, shopId *int, ...) error
- func (i *Item) GetItemDefaultImgs(ctx context.Context, args *cards.ArgsGetItemDefaultImgs, ...) error
- func (i *Item) GetItemGiveSingles(ctx context.Context, args *cards.ArgsGetCardProductsSinglesInfo, ...) error
- func (i *Item) GetItemIncludeSingles(ctx context.Context, args *cards.ArgsGetCardProductsSinglesInfo, ...) error
- func (i *Item) GetItemsByShopId(ctx context.Context, args *cards.ArgsGetItemsByShopId, ...) error
- func (i *Item) GetItemsBySsids(ctx context.Context, args *cards.ArgsGetItemsBySsids, ...) error
- func (i *Item) GetListForShare(ctx context.Context, args cards.ArgsGetListForShare, ...) (err error)
- func (i *Item) GetRecommendSingles(ctx context.Context, args *cards.ArgsGetRecommendSingles, ...) error
- func (i *Item) GetShopItemRelationByItemIdTypeRpc(ctx context.Context, args *cards.ArgsGetShopItemRelationByItemIdType, ...) error
- func (i *Item) GetSimpleItemInfos(ctx context.Context, args *cards.ArgsGetSimpleItemInfos, ...) (err error)
- func (i *Item) IncrItemSales(ctx context.Context, orderSn *string, reply *bool) error
- func (i *Item) Init() *Item
- func (i *Item) ItemInfo4Es(ctx context.Context, args *cards.ArgsItemInfo4Es, ...) error
- func (i *Item) PublishMarketGroupActivityCheckShopItem(ctx context.Context, args *cards.ArgsPublishMarketGroupActivityCheckShopItem, ...) error
- func (i *Item) ShareGetInfoForConsume(ctx context.Context, args *cards.ArgsShareGetInfoForConsume, ...) (err error)
- func (i *Item) ShareOpera(ctx context.Context, args cards.ArgsShareOpera, reply *bool) (err error)
- type NCard
- func (n *NCard) AddNCard(ctx context.Context, params *cards.ArgsAddNCard, ...) error
- func (n *NCard) BusNCardPage(ctx context.Context, params *cards.ArgsBusNCardPage, ...) error
- func (n *NCard) DeleteNCard(ctx context.Context, params *cards.ArgsDeleteNCard, reply *bool) error
- func (n *NCard) DeleteShopNCard(ctx context.Context, params *cards.ArgsDeleteShopNCard, reply *bool) error
- func (n *NCard) DownUpNCard(ctx context.Context, params *cards.ArgsDownUpNCard, ...) error
- func (n *NCard) EditNCard(ctx context.Context, params *cards.ArgsEditNCard, replies *cards.EmptyReplies) error
- func (n *NCard) Init() *NCard
- func (n *NCard) NCardInfo(ctx context.Context, params *cards.ArgsNCardInfo, ...) error
- func (n *NCard) SetNCardShop(ctx context.Context, params *cards.ArgsSetNCardShop, ...) error
- func (n *NCard) ShopAddNCard(ctx context.Context, params *cards.ArgsShopAddNCard, ...) error
- func (n *NCard) ShopDownUpNCard(ctx context.Context, params *cards.ArgsShopDownUpNCard, ...) error
- func (n *NCard) ShopGetBusNCardPage(ctx context.Context, params *cards.ArgsShopGetBusNCardPage, ...) error
- func (n *NCard) ShopNCardPage(ctx context.Context, params *cards.ArgsShopNCardPage, ...) error
- func (n *NCard) ShopNcardRpc(ctx context.Context, params *cards.ArgsShopNcardRpc, ...) error
- type Note
- type Rcard
- func (r *Rcard) AddRcard(ctx context.Context, args *cards.ArgsAddRcard, rcardId *int) error
- func (r *Rcard) AddRechargeRules(ctx context.Context, args *cards.ArgsAddRechargeRules, id *int) error
- func (r *Rcard) BusRcardPage(ctx context.Context, args *cards.ArgsBusRcardPage, reply *cards.ReplyRcardPage) error
- func (r *Rcard) BusRechargeRulesList(ctx context.Context, args *cards.ArgsRechargeRulesList, ...) error
- func (r *Rcard) DeleRechargeRules(ctx context.Context, args *cards.ArgsDeleRechargeRules, reply *bool) error
- func (r *Rcard) DeleteRcard(ctx context.Context, args *cards.ArgsDelRcard, reply *bool) error
- func (r *Rcard) DownUpRcard(ctx context.Context, args *cards.ArgsDownUpRcard, reply *bool) error
- func (r *Rcard) EditRcard(ctx context.Context, args *cards.ArgsEditRcard, reply *bool) error
- func (r *Rcard) EditRechargeRules(ctx context.Context, args *cards.ArgsEditRechargeRules, reply *bool) error
- func (r *Rcard) GetRcardBaseInfo(ctx context.Context, args *cards.ArgsGetRcardBaseInfo, ...) error
- func (r *Rcard) Init() *Rcard
- func (r *Rcard) OpenPlatFormV1AddRcard(ctx context.Context, args *cards.ArgsAddRcard, rcardId *int) error
- func (r *Rcard) OpenPlatFormV1BusRcardPage(ctx context.Context, args *cards.ArgsBusRcardPage, reply *cards.ReplyRcardPage) error
- func (r *Rcard) OpenPlatFormV1DeleteRcard(ctx context.Context, args *cards.ArgsDelRcard, reply *bool) error
- func (r *Rcard) OpenPlatFormV1ShopAddRcard(ctx context.Context, args *cards.ArgsShopAddRcard, reply *bool) error
- func (r *Rcard) OpenPlatFormV1ShopDeleteRcard(ctx context.Context, args *cards.ArgsDelRcard, reply *bool) error
- func (r *Rcard) OpenPlatFormV1ShopDownUpRcard(ctx context.Context, args *cards.ArgsShopDownUpRcard, reply *bool) error
- func (r *Rcard) OpenPlatFormV1ShopRcardPage(ctx context.Context, args *cards.ArgsShopRcardPage, ...) error
- func (r *Rcard) RcardInfo(ctx context.Context, args *cards.ArgsRcardInfo, reply *cards.ReplyRcardInfo) error
- func (r *Rcard) RechargeRulesInfo(ctx context.Context, args *cards.ArgsRechargeRulesInfo, ...) error
- func (r *Rcard) SetRcardShop(ctx context.Context, args *cards.ArgsSetRcardShop, reply *bool) error
- func (r *Rcard) ShopAddRcard(ctx context.Context, args *cards.ArgsShopAddRcard, reply *bool) error
- func (r *Rcard) ShopDeleteRcard(ctx context.Context, args *cards.ArgsDelRcard, reply *bool) error
- func (r *Rcard) ShopDownUpRcard(ctx context.Context, args *cards.ArgsShopDownUpRcard, reply *bool) error
- func (r *Rcard) ShopGetBusRcardPage(ctx context.Context, args *cards.ArgsShopGetBusRcardPage, ...) error
- func (r *Rcard) ShopRcardPage(ctx context.Context, args *cards.ArgsShopRcardPage, ...) error
- type Single
- func (s *Single) AddSingle(ctx context.Context, single *cards.ArgsAddSingle, singleId *int) error
- func (s *Single) BusSinglePage(ctx context.Context, args *cards.ArgsBusSinglePage, ...) error
- func (s *Single) CheckShopIdsHasSingleIds(ctx context.Context, args *cards.ArgsCheckShopIdsHasSingleIds, reply *bool) error
- func (s *Single) DelShopSingle(ctx context.Context, args *cards.ArgsDelSingle, reply *bool) error
- func (s *Single) DelSingle(ctx context.Context, args *cards.ArgsDelSingle, reply *bool) error
- func (s *Single) DownUpSingle(ctx context.Context, args *cards.ArgsDownUpSingle, reply *bool) error
- func (s *Single) EditSingle(ctx context.Context, single *cards.ArgsEditSingle, reply *bool) error
- func (s *Single) GetAttrs(ctx context.Context, reply *cards.ReplyGetAttrs) error
- func (s *Single) GetByShopSingle(ctx context.Context, args *cards.ArgsCommonShopSingle, ...) error
- func (s *Single) GetByShopSspIds(ctx context.Context, args *cards.ArgsGetShopSpecs, ...) error
- func (s *Single) GetBySingle(ctx context.Context, singleIds *[]int, reply *[]cards.ReplyCommonSingle) error
- func (s *Single) GetBySsidsRpc(ctx context.Context, ssIds *[]int, reply *[]cards.ReplyGetBySsidsRpc) error
- func (s *Single) GetBySspids(ctx context.Context, args *[]int, reply *[]cards.ReplyGetBySspids) error
- func (s *Single) GetInfoByShopIds(ctx context.Context, args *[]cards.ArgsGetInfoByShopId, ...) error
- func (s *Single) GetPriceByShopIdAndSsspId(ctx context.Context, args *cards.ArgsCommonShopSingle, ...) error
- func (s *Single) GetSelectServices(ctx context.Context, args *cards.ArgsGetSelectServices, ...) error
- func (s *Single) GetShopSingleBySingleIdsRpc(ctx context.Context, args *cards.ArgsGetShopSingleBySingleIdsRpc, ...) error
- func (s *Single) GetShopSinglePrice(ctx context.Context, args *cards.ArgsGetShopSinglePrice, price *float64) error
- func (s *Single) GetShopSpecs(ctx context.Context, args *cards.ArgsGetShopSpecs, ...) error
- func (s *Single) GetSignlesByStaffId(ctx context.Context, args *cards.ArgsGetSignlesByStaffID, ...) error
- func (s *Single) GetSimpleSingleInfo(ctx context.Context, singleId *int, reply *cards.SimpleSingleInfo) error
- func (s *Single) GetSimpleSingleInfos(ctx context.Context, singleIds *[]int, reply *[]cards.SimpleSingleInfo) error
- func (s *Single) GetSingleByShopIdAndSingleIds(ctx context.Context, args *cards.ArgsGetSingleByShopIdAndSingleIds, ...) error
- func (s *Single) GetSingleByShopIdAndTagId(ctx context.Context, args *cards.ArgsShopSingleByPage, ...) error
- func (s *Single) GetSingleDetailByShopId(ctx context.Context, args *cards.ArgsGetInfoByShopId, ...) error
- func (s *Single) GetSingleInfo(ctx context.Context, args *cards.ArgsGetSingleInfo, reply *cards.SingleDetail) error
- func (s *Single) GetSingleInfoRpc(ctx context.Context, args *cards.ArgsGetSingleInfoRpc, ...) error
- func (s *Single) GetSingleInfos(ctx context.Context, args *cards.ArgsGetSingleInfos, ...) error
- func (s *Single) GetSingleInfosGetBusSingleInfos(ctx context.Context, args *[]cards.GetSingleInfoItem, ...) error
- func (s *Single) GetSinglePriceListsBySingleIds(ctx context.Context, singleIds []int, reply *map[int]cards.SinglePriceInfo) error
- func (s *Single) GetSingleSpecBySspId(ctx context.Context, args *cards.ArgsSubSpecID, reply *cards.ReplySubServer2) error
- func (s *Single) GetSubServerBySingleId(ctx context.Context, args *cards.ArgsSubServer, reply *cards.ReplySubServer) error
- func (s *Single) Init() *Single
- func (s *Single) ShopAddSingle(ctx context.Context, single *cards.ArgsShopAddSingle, reply *bool) error
- func (s *Single) ShopChangePrice(ctx context.Context, args *cards.ArgsShopChangePrice, reply *bool) error
- func (s *Single) ShopDownUpSingle(ctx context.Context, args *cards.ArgsShopDownUpSingle, reply *bool) error
- func (s *Single) ShopSinglePage(ctx context.Context, args *cards.ArgsShopSinglePage, ...) error
- type Sm
- func (s *Sm) AddSm(ctx context.Context, sm *cards.ArgsAddSm, smId *int) error
- func (s *Sm) BusSmPage(ctx context.Context, args *cards.ArgsBusSmPage, reply *cards.ReplySmPage) error
- func (s *Sm) DeleteShopSm(ctx context.Context, args *cards.ArgsDeleteShopSm, reply *bool) error
- func (s *Sm) DeleteSm(ctx context.Context, args *cards.ArgsDeleteSm, reply *bool) error
- func (s *Sm) DownUpSm(ctx context.Context, args *cards.ArgsDownUpSm, reply *bool) error
- func (s *Sm) EditSm(ctx context.Context, sm *cards.ArgsEditSm, reply *bool) error
- func (s *Sm) Init() *Sm
- func (s *Sm) SetSmShop(ctx context.Context, args *cards.ArgsSetSmShop, reply *bool) error
- func (s *Sm) ShopAddSm(ctx context.Context, args *cards.ArgsShopAddSm, reply *bool) error
- func (s *Sm) ShopAddToSm(ctx context.Context, args *cards.ArgsShopAddSm, reply *bool) error
- func (s *Sm) ShopDownUpSm(ctx context.Context, args *cards.ArgsShopDownUpSm, reply *bool) error
- func (s *Sm) ShopGetBusSmPage(ctx context.Context, args *cards.ArgsShopGetBusSmPage, ...) error
- func (s *Sm) ShopSmPage(ctx context.Context, args *cards.ArgsShopSmPage, reply *cards.ReplyShopSmPage) error
- func (s *Sm) SmInfo(ctx context.Context, args *cards.ArgsSmInfo, reply *cards.ReplySmInfo) error
- type Spec
- func (s *Spec) AddSpec(ctx context.Context, args *cards.SpecInfo, reply *int) error
- func (s *Spec) GetByParentSpecId(ctx context.Context, args *cards.GetSubSpecParams, reply *[]cards.SubSpec) error
- func (s *Spec) GetBySspIds(ctx context.Context, args *[]int, reply *map[int][]cards.SubSpec) (err error)
- func (s *Spec) Init() *Spec
- type Tag
- func (t *Tag) AddTag(ctx context.Context, args *cards.ArgAddTag, tagid *int) (err error)
- func (t *Tag) BusTags(ctx context.Context, args *common.BsToken, reply *[]cards.TagInfo) (err error)
- func (t *Tag) DelTag(ctx context.Context, args *cards.ArgDelTag, reply *bool) (err error)
- func (t *Tag) EditTag(ctx context.Context, args *cards.ArgEditTag, reply *bool) (err error)
- func (t *Tag) Init() *Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Card ¶
type Card struct {
client.Baseclient
}
*
type Card interface { //添加综合卡 AddCard(ctx context.Context, params *ArgsAddCard, replies *RepliesAddCard ) error //编辑综合卡 EditCard(ctx context.Context, params *ArgsEditCard, replies *EmptyReplies) error //获取综合卡的详情 CardInfo(ctx context.Context, params *ArgsCardInfo, replies *ReplyCardInfo ) error //获取总店的综合卡列表 BusCardPage(ctx context.Context, params *ArgsBusCardPage, replies *ReplyCardPage ) error //设置适用门店 SetCardShop(ctx context.Context, params *ArgsSetCardShop, replies *EmptyReplies) error //总店上下架综合卡 DownUpCard(ctx context.Context, params *ArgsDownUpCard, replies *EmptyReplies) error //子店获取适用本店的综合卡列表 ShopGetBusCardPage(ctx context.Context, params *ArgsShopGetBusCardPage, replies *ReplyCardPage ) error //子店添加综合卡到自己的店铺 ShopAddCard(ctx context.Context, params *ArgsShopAddCard, replies *EmptyReplies) error //获取子店的综合卡列表 ShopCardPage(ctx context.Context, params *ArgsShopCardPage, replies *ReplyCardPage ) error //子店上下架综合卡 ShopDownUpCard(ctx context.Context, params *ArgsShopDownUpCard, replies *EmptyReplies) error }
func (*Card) AddCard ¶
func (n *Card) AddCard(ctx context.Context, params *cards.ArgsAddCard, replies *cards.RepliesAddCard) error
添加综合卡
func (*Card) BusCardPage ¶
func (n *Card) BusCardPage(ctx context.Context, params *cards.ArgsBusCardPage, replies *cards.ReplyCardPage) error
获取总店的综合卡列表
func (*Card) CardInfo ¶
func (n *Card) CardInfo(ctx context.Context, params *cards.ArgsCardInfo, replies *cards.ReplyCardInfo) error
获取综合卡的详情
func (*Card) CardsInfo ¶
func (n *Card) CardsInfo(ctx context.Context, params *cards.ArgsCardsInfo, replies *map[int]*cards.ReplyCardsInfo) error
获取门限可售综合卡详情
func (*Card) DeleteCard ¶
DeleteCard 总店删除综合卡
func (*Card) DeleteShopCard ¶
func (n *Card) DeleteShopCard(ctx context.Context, args *cards.ArgsDeleteShopCard, replies *bool) error
门店-删除本店的综合卡
func (*Card) DownUpCard ¶
func (n *Card) DownUpCard(ctx context.Context, params *cards.ArgsDownUpCard, replies *cards.EmptyReplies) error
总店上下架综合卡
func (*Card) EditCard ¶
func (n *Card) EditCard(ctx context.Context, params *cards.ArgsEditCard, replies *cards.EmptyReplies) error
编辑综合卡
func (*Card) GetAllCardsNum ¶
func (n *Card) GetAllCardsNum(ctx context.Context, args *cards.ArgsAllCardsNum, reply *cards.ReplyAllCardsNum) error
获取所有卡的发布数量 rpc内部调用
func (*Card) SetCardShop ¶
func (n *Card) SetCardShop(ctx context.Context, params *cards.ArgsSetCardShop, replies *cards.EmptyReplies) error
设置适用门店
func (*Card) ShopAddCard ¶
func (n *Card) ShopAddCard(ctx context.Context, params *cards.ArgsShopAddCard, replies *cards.EmptyReplies) error
子店添加综合卡到自己的店铺
func (*Card) ShopCardListRpc ¶
func (n *Card) ShopCardListRpc(ctx context.Context, params *cards.ArgsShopCardListRpc, replies *cards.ReplyShopCardListRpc) error
门店综合卡数据rpc内部调用
func (*Card) ShopCardPage ¶
func (n *Card) ShopCardPage(ctx context.Context, params *cards.ArgsShopCardPage, replies *cards.ReplyCardPage) error
获取子店的综合卡列表
func (*Card) ShopDownUpCard ¶
func (n *Card) ShopDownUpCard(ctx context.Context, params *cards.ArgsShopDownUpCard, replies *cards.EmptyReplies) error
子店上下架综合卡
func (*Card) ShopGetBusCardPage ¶
func (n *Card) ShopGetBusCardPage(ctx context.Context, params *cards.ArgsShopGetBusCardPage, replies *cards.ReplyCardPage) error
子店获取适用本店的综合卡列表
type HNCard ¶
type HNCard struct {
client.Baseclient
}
*
type HNCard interface { //添加限时限次卡 AddHNCard(ctx context.Context, params *ArgsAddHNCard, replies *RepliesAddHNCard ) error //编辑限时限次卡 EditHNCard(ctx context.Context, params *ArgsEditHNCard, replies *EmptyReplies) error //获取限时限次卡的详情 HNCardInfo(ctx context.Context, params *ArgsHNCardInfo, replies *ReplyHNCardInfo ) error //获取总店的限时限次卡列表 BusHNCardPage(ctx context.Context, params *ArgsBusHNCardPage, replies *ReplyHNCardPage ) error //设置适用门店 SetHNCardShop(ctx context.Context, params *ArgsSetHNCardShop, replies *EmptyReplies) error //总店上下架限时限次卡 DownUpHNCard(ctx context.Context, params *ArgsDownUpHNCard, replies *EmptyReplies) error //子店获取适用本店的限时限次卡列表 ShopGetBusHNCardPage(ctx context.Context, params *ArgsShopGetBusHNCardPage, replies *ReplyHNCardPage ) error //子店添加限时限次卡到自己的店铺 ShopAddHNCard(ctx context.Context, params *ArgsShopAddHNCard, replies *EmptyReplies) error //获取子店的限时限次卡列表 ShopHNCardPage(ctx context.Context, params *ArgsShopHNCardPage, replies *ReplyHNCardPage ) error //子店上下架限时限次卡 ShopDownUpHNCard(ctx context.Context, params *ArgsShopDownUpHNCard, replies *EmptyReplies) error }
func (*HNCard) AddHNCard ¶
func (n *HNCard) AddHNCard(ctx context.Context, params *cards.ArgsAddHNCard, replies *cards.RepliesAddHNCard) error
添加限时限次卡
func (*HNCard) BusHNCardPage ¶
func (n *HNCard) BusHNCardPage(ctx context.Context, params *cards.ArgsBusHNCardPage, replies *cards.ReplyHNCardPage) error
获取总店的限时限次卡列表
func (*HNCard) DeleteHNCard ¶
总店删除限时限次卡
func (*HNCard) DownUpHNCard ¶
func (n *HNCard) DownUpHNCard(ctx context.Context, params *cards.ArgsDownUpHNCard, replies *cards.EmptyReplies) error
总店上下架限时限次卡
func (*HNCard) EditHNCard ¶
func (n *HNCard) EditHNCard(ctx context.Context, params *cards.ArgsEditHNCard, replies *cards.EmptyReplies) error
编辑限时限次卡
func (*HNCard) HNCardInfo ¶
func (n *HNCard) HNCardInfo(ctx context.Context, params *cards.ArgsHNCardInfo, replies *cards.ReplyHNCardInfo) error
获取限时限次卡的详情
func (*HNCard) SetHNCardShop ¶
func (n *HNCard) SetHNCardShop(ctx context.Context, params *cards.ArgsSetHNCardShop, replies *cards.EmptyReplies) error
设置适用门店
func (*HNCard) ShopAddHNCard ¶
func (n *HNCard) ShopAddHNCard(ctx context.Context, params *cards.ArgsShopAddHNCard, replies *cards.EmptyReplies) error
子店添加限时限次卡到自己的店铺
func (*HNCard) ShopDeleteHNCard ¶
func (n *HNCard) ShopDeleteHNCard(ctx context.Context, args *cards.ArgsDelHNCard, reply *bool) error
子店删除限时限次卡
func (*HNCard) ShopDownUpHNCard ¶
func (n *HNCard) ShopDownUpHNCard(ctx context.Context, params *cards.ArgsShopDownUpHNCard, replies *cards.EmptyReplies) error
子店上下架限时限次卡
func (*HNCard) ShopGetBusHNCardPage ¶
func (n *HNCard) ShopGetBusHNCardPage(ctx context.Context, params *cards.ArgsShopGetBusHNCardPage, replies *cards.ReplyHNCardPage) error
子店获取适用本店的限时限次卡列表
func (*HNCard) ShopHNCardPage ¶
func (n *HNCard) ShopHNCardPage(ctx context.Context, params *cards.ArgsShopHNCardPage, replies *cards.ReplyHNCardPage) error
获取子店的限时限次卡列表
func (*HNCard) ShopHncardRpc ¶
func (n *HNCard) ShopHncardRpc(ctx context.Context, params *cards.ArgsShopHncardRpc, replies *cards.ReplyShopHncardRpc) error
子店限时限次卡-rpc
type Hcard ¶
type Hcard struct {
client.Baseclient
}
Hcard Hcard
func (*Hcard) AddHcard ¶
func (h *Hcard) AddHcard(ctx context.Context, args *cards.ArgsAddHcard, reply *cards.ReplyAddHcard) error
AddHcard 总店添加限时卡
func (*Hcard) BusHcardPage ¶
func (h *Hcard) BusHcardPage(ctx context.Context, args *cards.ArgsBusHcardPage, reply *cards.ReplyHcardPage) error
BusHcardPage 获取总店限时卡列表
func (*Hcard) DeleteHcard ¶
DeleteHcard 总店删除限时卡
func (*Hcard) DownUpHcard ¶
DownUpHcard 总店上下架限时卡
func (*Hcard) HcardInfo ¶
func (h *Hcard) HcardInfo(ctx context.Context, args *cards.ArgsHcardInfo, reply *cards.ReplyHcardInfo) error
HcardInfo 获取限时卡详情(总店和分店共用)
func (*Hcard) SetHcardShop ¶
SetHcardShop 设置总店限时卡的适用门店
func (*Hcard) ShopAddHcard ¶
ShopAddHcard 子店添加总部限时卡到自己的店铺
func (*Hcard) ShopDeleteHcard ¶
func (h *Hcard) ShopDeleteHcard(ctx context.Context, args *cards.ArgsDeleteHcard, reply *bool) error
子店删除限时卡
func (*Hcard) ShopDownUpHcard ¶
func (h *Hcard) ShopDownUpHcard(ctx context.Context, args *cards.ArgsShopDownUpHcard, reply *bool) error
ShopDownUpHcard 子店上下架自己店铺中的限时卡
func (*Hcard) ShopGetBusHcardPage ¶
func (h *Hcard) ShopGetBusHcardPage(ctx context.Context, args *cards.ArgsShopGetBusHcardPage, reply *cards.ReplyShopGetBusHcardPage) error
ShopGetBusHcardPage 子店获取适用本店的限时卡列表(总店分配给自己店铺的限时卡)
func (*Hcard) ShopHcardListRpc ¶
func (h *Hcard) ShopHcardListRpc(ctx context.Context, args *cards.ArgsShopCardListRpc, reply *cards.ReplyShopHcardListRpc) error
ShopHcardListRpc 子店现时卡列表rpc内部调用
func (*Hcard) ShopHcardPage ¶
func (h *Hcard) ShopHcardPage(ctx context.Context, args *cards.ArgsShopHcardPage, reply *cards.ReplyHcardPage) error
ShopHcardPage 子店限时卡列表
type ICardClient ¶
type ICardClient struct {
client.Baseclient
}
ICardClient 折扣卡管理(身份卡)
func (*ICardClient) AddToShop ¶
func (c *ICardClient) AddToShop(ctx context.Context, args *cards.InputParamsICardAddToShop, reply *cards.OutputParamsICardAddToShop) error
AddToShop 添加至本店
func (*ICardClient) CanUseICardList ¶
func (c *ICardClient) CanUseICardList(ctx context.Context, args *cards.InputParamsICardCanUse, reply *cards.OutputParamsICardCanUse) error
CanUseICardList 查看用户身份卡列表
func (*ICardClient) CanUseICardListForUser ¶
func (c *ICardClient) CanUseICardListForUser(ctx context.Context, args *cards.InputParamsICardCanUseForUser, reply *cards.OutputParamsICardCanUse) error
CanUseICardListForUser 查看用户身份卡列表
func (*ICardClient) Delete ¶
func (c *ICardClient) Delete(ctx context.Context, args *cards.InputParamsDelete, reply *bool) error
Delete 删除
func (*ICardClient) GetBusBaseInfoRpc ¶
func (c *ICardClient) GetBusBaseInfoRpc(ctx context.Context, iCardId *int, reply *cards.ReplyGetBusBaseInfoRpc) error
获取iCard企业基本信息-风控统计用
func (*ICardClient) GetICardSingleDiscount ¶
func (c *ICardClient) GetICardSingleDiscount(ctx context.Context, args *cards.ArgsGetICardSingleDiscount, reply *cards.ReplyGetICardSingleDiscount) error
获取身份卡备份表中的项目折扣
func (*ICardClient) GetIcardDiscountById ¶
func (c *ICardClient) GetIcardDiscountById(ctx context.Context, iCardId *int, reply *cards.ReplyGetIcardDiscountById) error
获取身份卡的折扣信息
func (*ICardClient) Info ¶
func (c *ICardClient) Info(ctx context.Context, args *cards.InputParamsICardInfo, reply *cards.OutputParamsICardInfo) error
Info 详情
func (*ICardClient) List ¶
func (c *ICardClient) List(ctx context.Context, args *cards.InputParamsICardList, reply *cards.OutputICardList) error
List 列表
func (*ICardClient) OurShopList ¶
func (c *ICardClient) OurShopList(ctx context.Context, args *cards.InputParamsICardList, reply *cards.OutputICardList) error
OurShopList 已添加到门店列表
func (*ICardClient) Push ¶
func (c *ICardClient) Push(ctx context.Context, args *cards.InputParamsICardPush, reply *cards.OutputParamsICardPush) error
Push 推送门店
func (*ICardClient) Save ¶
func (c *ICardClient) Save(ctx context.Context, args *cards.InputParamsICardSave, reply *cards.OutputParamsICardSave) error
Save 保存
func (*ICardClient) SetOff ¶
func (c *ICardClient) SetOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, reply *cards.OutputParamsICardSetOnOff) error
SetOff 上下架
func (*ICardClient) SetOn ¶
func (c *ICardClient) SetOn(ctx context.Context, args *cards.InputParamsICardSetOnOff, reply *cards.OutputParamsICardSetOnOff) error
SetOn 上架
func (*ICardClient) SetOnOff ¶
func (c *ICardClient) SetOnOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, reply *cards.OutputParamsICardSetOnOff) error
SetOnOff 上下架
func (*ICardClient) ShopList ¶
func (c *ICardClient) ShopList(ctx context.Context, args *cards.InputParamsICardList, reply *cards.OutputICardList) error
ShopList 门店列表
func (*ICardClient) ShopSetOff ¶
func (c *ICardClient) ShopSetOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, reply *cards.OutputParamsICardSetOnOff) error
ShopSetOff 门店下架
func (*ICardClient) ShopSetOn ¶
func (c *ICardClient) ShopSetOn(ctx context.Context, args *cards.InputParamsICardSetOnOff, reply *cards.OutputParamsICardSetOnOff) error
ShopSetOn 门店上架
func (*ICardClient) ShopSetOnOff ¶
func (c *ICardClient) ShopSetOnOff(ctx context.Context, args *cards.InputParamsICardSetOnOff, reply *cards.OutputParamsICardSetOnOff) error
ShopSetOnOff 门店上下架
func (*ICardClient) UserICardList ¶
func (c *ICardClient) UserICardList(ctx context.Context, args *cards.InputParams, reply *cards.OutputReply) error
UserICardList 查看用户身份卡列表
type Item ¶
type Item struct {
client.Baseclient
}
func (*Item) CollectItems ¶
卡项收藏入参
func (*Item) CrateContractPDFRpc ¶
func (i *Item) CrateContractPDFRpc(ctx context.Context, args *cards.ReplyHeTongInfo, pdfId int) error
生成PDF并与卡包和文件id关联起来
func (*Item) GetCardProductsInfo ¶
func (i *Item) GetCardProductsInfo(ctx context.Context, args *cards.ArgsGetCardProductsSinglesInfo, reply *cards.ReplyGetCardProductsInfo) error
获取卡项下的商品信息
func (*Item) GetCollectItems ¶
func (i *Item) GetCollectItems(ctx context.Context, args *cards.ArgsGetCollectItems, reply *cards.ReplyGetCollectItems) error
获取用户收藏的卡项入参
func (*Item) GetCollectStatus ¶
func (i *Item) GetCollectStatus(ctx context.Context, args *cards.ArgsCollectStatus, reply *cards.ReplyCollectStatus) error
卡项收藏状态
func (*Item) GetDetailById ¶
func (i *Item) GetDetailById(ctx context.Context, args *cards.ArgsShopList, reply *[]order.ReplyCableShopInfo) error
根据项目查询详情-适用门店详情
func (*Item) GetHeTongInfo ¶
func (i *Item) GetHeTongInfo(ctx context.Context, args *cards.ArgsHeTongInfo, reply *cards.ReplyHeTongInfo) error
获取合同内容数据
func (*Item) GetInfos ¶
func (i *Item) GetInfos(ctx context.Context, args *cards.ArgsAppInfos, reply *cards.ReplyAppInfo) error
根据条件查询九百岁
func (*Item) GetItemAllXCradsNumByShopId ¶
func (i *Item) GetItemAllXCradsNumByShopId(ctx context.Context, shopId *int, reply *cards.ReplyGetItemAllXCradsNumByShopId) error
获取当月下架的卡项
func (*Item) GetItemDefaultImgs ¶
func (i *Item) GetItemDefaultImgs(ctx context.Context, args *cards.ArgsGetItemDefaultImgs, reply *cards.ReplyGetItemDefaultImgs) error
预付卡默认图片
func (*Item) GetItemGiveSingles ¶
func (i *Item) GetItemGiveSingles(ctx context.Context, args *cards.ArgsGetCardProductsSinglesInfo, reply *cards.ReplyGetItemGiveSingles) error
预付卡赠送的单项目
func (*Item) GetItemIncludeSingles ¶
func (i *Item) GetItemIncludeSingles(ctx context.Context, args *cards.ArgsGetCardProductsSinglesInfo, reply *cards.ReplyGetItemIncludeSingles) error
预付卡包含的单项目
func (*Item) GetItemsByShopId ¶
func (i *Item) GetItemsByShopId(ctx context.Context, args *cards.ArgsGetItemsByShopId, reply *cards.ReplyGetItemsByShopId) error
门店拥有的项目-上架的项目
func (*Item) GetItemsBySsids ¶
func (i *Item) GetItemsBySsids(ctx context.Context, args *cards.ArgsGetItemsBySsids, reply *map[cards.SsId]cards.ItemBase) error
根据门店ids获取卡项信息
func (*Item) GetListForShare ¶
func (i *Item) GetListForShare(ctx context.Context, args cards.ArgsGetListForShare, reply *cards.ReplyGetListForShare) (err error)
获取共享信息卡项列表
func (*Item) GetRecommendSingles ¶
func (i *Item) GetRecommendSingles(ctx context.Context, args *cards.ArgsGetRecommendSingles, reply *cards.ReplyGetRecommendSingles) error
门店详情-推荐的单项目
func (*Item) GetShopItemRelationByItemIdTypeRpc ¶
func (i *Item) GetShopItemRelationByItemIdTypeRpc(ctx context.Context, args *cards.ArgsGetShopItemRelationByItemIdType, reply *cards.ReplyGetShopItemRelationByItemIdType) error
根据shopIds和指定的卡项获取关联信息
func (*Item) GetSimpleItemInfos ¶
func (i *Item) GetSimpleItemInfos(ctx context.Context, args *cards.ArgsGetSimpleItemInfos, reply *cards.ReplyGetSimpleItemInfos) (err error)
批量预付卡简单信息-入参
func (*Item) IncrItemSales ¶
购买成功,设置卡项的销量
func (*Item) ItemInfo4Es ¶
func (i *Item) ItemInfo4Es(ctx context.Context, args *cards.ArgsItemInfo4Es, reply *cards.ReplyItemInfo4Es) error
为es的shop-item文档获取项目信息
func (*Item) PublishMarketGroupActivityCheckShopItem ¶
func (i *Item) PublishMarketGroupActivityCheckShopItem(ctx context.Context, args *cards.ArgsPublishMarketGroupActivityCheckShopItem, reply *int) error
总店发布AI营销活动的时候检查该产品是否在指定的门店内(条件:门店的项目状态不包含删除的,返回值是符合要求的的总量)
func (*Item) ShareGetInfoForConsume ¶
func (i *Item) ShareGetInfoForConsume(ctx context.Context, args *cards.ArgsShareGetInfoForConsume, reply *cards.ReplyShareGetInfoForConsume) (err error)
共享卡消费获取卡项信息
func (*Item) ShareOpera ¶
共享卡开启关闭操作
type NCard ¶
type NCard struct {
client.Baseclient
}
*
type NCard interface { //添加限次卡 AddNCard(ctx context.Context, params *ArgsAddNCard, replies *RepliesAddNCard ) error //编辑限次卡 EditNCard(ctx context.Context, params *ArgsEditNCard, replies *EmptyReplies) error //获取限次卡的详情 NCardInfo(ctx context.Context, params *ArgsNCardInfo, replies *ReplyNCardInfo ) error //获取总店的限次卡列表 BusNCardPage(ctx context.Context, params *ArgsBusNCardPage, replies *ReplyNCardPage ) error //设置适用门店 SetNCardShop(ctx context.Context, params *ArgsSetNCardShop, replies *EmptyReplies) error //总店上下架限次卡 DownUpNCard(ctx context.Context, params *ArgsDownUpNCard, replies *EmptyReplies) error //子店获取适用本店的限次卡列表 ShopGetBusNCardPage(ctx context.Context, params *ArgsShopGetBusNCardPage, replies *ReplyNCardPage ) error //子店添加限次卡到自己的店铺 ShopAddNCard(ctx context.Context, params *ArgsShopAddNCard, replies *EmptyReplies) error //获取子店的限次卡列表 ShopNCardPage(ctx context.Context, params *ArgsShopNCardPage, replies *ReplyNCardPage ) error //子店上下架限次卡 ShopDownUpNCard(ctx context.Context, params *ArgsShopDownUpNCard, replies *EmptyReplies) error }
func (*NCard) AddNCard ¶
func (n *NCard) AddNCard(ctx context.Context, params *cards.ArgsAddNCard, replies *cards.RepliesAddNCard) error
添加限次卡
func (*NCard) BusNCardPage ¶
func (n *NCard) BusNCardPage(ctx context.Context, params *cards.ArgsBusNCardPage, replies *cards.ReplyNCardPage) error
获取总店的限次卡列表
func (*NCard) DeleteNCard ¶
总店-删除
func (*NCard) DeleteShopNCard ¶
func (n *NCard) DeleteShopNCard(ctx context.Context, params *cards.ArgsDeleteShopNCard, reply *bool) error
分店-删除
func (*NCard) DownUpNCard ¶
func (n *NCard) DownUpNCard(ctx context.Context, params *cards.ArgsDownUpNCard, replies *cards.EmptyReplies) error
总店上下架限次卡
func (*NCard) EditNCard ¶
func (n *NCard) EditNCard(ctx context.Context, params *cards.ArgsEditNCard, replies *cards.EmptyReplies) error
编辑限次卡
func (*NCard) NCardInfo ¶
func (n *NCard) NCardInfo(ctx context.Context, params *cards.ArgsNCardInfo, replies *cards.ReplyNCardInfo) error
获取限次卡的详情
func (*NCard) SetNCardShop ¶
func (n *NCard) SetNCardShop(ctx context.Context, params *cards.ArgsSetNCardShop, replies *cards.EmptyReplies) error
设置适用门店
func (*NCard) ShopAddNCard ¶
func (n *NCard) ShopAddNCard(ctx context.Context, params *cards.ArgsShopAddNCard, replies *cards.EmptyReplies) error
子店添加限次卡到自己的店铺
func (*NCard) ShopDownUpNCard ¶
func (n *NCard) ShopDownUpNCard(ctx context.Context, params *cards.ArgsShopDownUpNCard, replies *cards.EmptyReplies) error
子店上下架限次卡
func (*NCard) ShopGetBusNCardPage ¶
func (n *NCard) ShopGetBusNCardPage(ctx context.Context, params *cards.ArgsShopGetBusNCardPage, replies *cards.ReplyNCardPage) error
子店获取适用本店的限次卡列表
func (*NCard) ShopNCardPage ¶
func (n *NCard) ShopNCardPage(ctx context.Context, params *cards.ArgsShopNCardPage, replies *cards.ReplyNCardPage) error
获取子店的限次卡列表
func (*NCard) ShopNcardRpc ¶
func (n *NCard) ShopNcardRpc(ctx context.Context, params *cards.ArgsShopNcardRpc, replies *cards.ReplyShopNcardRpc) error
ShopNcardRpc
type Note ¶
type Note struct {
client.Baseclient
}
func (*Note) GetNotes ¶
func (n *Note) GetNotes(ctx context.Context, params *cards.EmptyParams, replies *cards.GetNotesReplies) (err error)
获取注意事项列表
func (*Note) GetRequirements ¶
func (n *Note) GetRequirements(ctx context.Context, params *cards.EmptyParams, replies *cards.GetRequirementsReplies) (err error)
获取要求列表
type Rcard ¶
type Rcard struct {
client.Baseclient
}
func (*Rcard) AddRechargeRules ¶
func (r *Rcard) AddRechargeRules(ctx context.Context, args *cards.ArgsAddRechargeRules, id *int) error
总店新增充值规则
func (*Rcard) BusRcardPage ¶
func (r *Rcard) BusRcardPage(ctx context.Context, args *cards.ArgsBusRcardPage, reply *cards.ReplyRcardPage) error
获取总店的充值卡列表
func (*Rcard) BusRechargeRulesList ¶
func (r *Rcard) BusRechargeRulesList(ctx context.Context, args *cards.ArgsRechargeRulesList, reply *cards.ReplyRechargerRulesList) error
获取充值规则列表
func (*Rcard) DeleRechargeRules ¶
func (r *Rcard) DeleRechargeRules(ctx context.Context, args *cards.ArgsDeleRechargeRules, reply *bool) error
删除充值卡规则
func (*Rcard) DeleteRcard ¶
总店删除充值卡
func (*Rcard) DownUpRcard ¶
总店上下架充值卡
func (*Rcard) EditRechargeRules ¶
func (r *Rcard) EditRechargeRules(ctx context.Context, args *cards.ArgsEditRechargeRules, reply *bool) error
充值卡规则编辑
func (*Rcard) GetRcardBaseInfo ¶
func (r *Rcard) GetRcardBaseInfo(ctx context.Context, args *cards.ArgsGetRcardBaseInfo, reply *cards.ReplyGetRcardBaseInfo) error
获取充值卡基础数据
func (*Rcard) OpenPlatFormV1AddRcard ¶
func (r *Rcard) OpenPlatFormV1AddRcard(ctx context.Context, args *cards.ArgsAddRcard, rcardId *int) error
添加充值卡-开放平台
func (*Rcard) OpenPlatFormV1BusRcardPage ¶
func (r *Rcard) OpenPlatFormV1BusRcardPage(ctx context.Context, args *cards.ArgsBusRcardPage, reply *cards.ReplyRcardPage) error
获取总店的充值卡列表-开放平台
func (*Rcard) OpenPlatFormV1DeleteRcard ¶
func (r *Rcard) OpenPlatFormV1DeleteRcard(ctx context.Context, args *cards.ArgsDelRcard, reply *bool) error
总店删除充值卡-开放平台
func (*Rcard) OpenPlatFormV1ShopAddRcard ¶
func (r *Rcard) OpenPlatFormV1ShopAddRcard(ctx context.Context, args *cards.ArgsShopAddRcard, reply *bool) error
子店添加充值卡到自己的店铺-开放平台
func (*Rcard) OpenPlatFormV1ShopDeleteRcard ¶
func (r *Rcard) OpenPlatFormV1ShopDeleteRcard(ctx context.Context, args *cards.ArgsDelRcard, reply *bool) error
子店删除充值卡-开放平台
func (*Rcard) OpenPlatFormV1ShopDownUpRcard ¶
func (r *Rcard) OpenPlatFormV1ShopDownUpRcard(ctx context.Context, args *cards.ArgsShopDownUpRcard, reply *bool) error
子店上下架充值卡-开放平台
func (*Rcard) OpenPlatFormV1ShopRcardPage ¶
func (r *Rcard) OpenPlatFormV1ShopRcardPage(ctx context.Context, args *cards.ArgsShopRcardPage, reply *cards.ReplyShopRcardPage) error
获取子店的充值卡列表-开放平台
func (*Rcard) RcardInfo ¶
func (r *Rcard) RcardInfo(ctx context.Context, args *cards.ArgsRcardInfo, reply *cards.ReplyRcardInfo) error
获取冲值卡详情
func (*Rcard) RechargeRulesInfo ¶
func (r *Rcard) RechargeRulesInfo(ctx context.Context, args *cards.ArgsRechargeRulesInfo, reply *cards.ReplyRechargeRulesInfo) error
获取充值卡规则详情
func (*Rcard) SetRcardShop ¶
设置适用门店
func (*Rcard) ShopAddRcard ¶
子店添加充值卡到自己的店铺
func (*Rcard) ShopDeleteRcard ¶
子店删除充值卡
func (*Rcard) ShopDownUpRcard ¶
func (r *Rcard) ShopDownUpRcard(ctx context.Context, args *cards.ArgsShopDownUpRcard, reply *bool) error
子店上下架充值卡
func (*Rcard) ShopGetBusRcardPage ¶
func (r *Rcard) ShopGetBusRcardPage(ctx context.Context, args *cards.ArgsShopGetBusRcardPage, reply *cards.ReplyRcardPage) error
子店获取适用本店的充值卡列表
func (*Rcard) ShopRcardPage ¶
func (r *Rcard) ShopRcardPage(ctx context.Context, args *cards.ArgsShopRcardPage, reply *cards.ReplyShopRcardPage) error
获取子店的充值卡列表
type Single ¶
type Single struct {
client.Baseclient
}
func (*Single) BusSinglePage ¶
func (s *Single) BusSinglePage(ctx context.Context, args *cards.ArgsBusSinglePage, reply *cards.ReplyBusSinglePage) error
获取商家的单项目列表
func (*Single) CheckShopIdsHasSingleIds ¶
func (s *Single) CheckShopIdsHasSingleIds(ctx context.Context, args *cards.ArgsCheckShopIdsHasSingleIds, reply *bool) error
检查门店id是否包含单项目-rpc
func (*Single) DelShopSingle ¶
分店 删除单项目
func (*Single) DownUpSingle ¶
总店上下架单项目操作
func (*Single) EditSingle ¶
修改单项目数据
func (*Single) GetByShopSingle ¶
func (s *Single) GetByShopSingle(ctx context.Context, args *cards.ArgsCommonShopSingle, reply *[]cards.ReplyCommonShopSingle) error
根据singleids批量获取门店单项目-rpc确认消费
func (*Single) GetByShopSspIds ¶
func (s *Single) GetByShopSspIds(ctx context.Context, args *cards.ArgsGetShopSpecs, reply *[]cards.ReplyCommonSingleSpec) error
根据shopId和批量组合规格查询-rpc确认消费
func (*Single) GetBySingle ¶
func (s *Single) GetBySingle(ctx context.Context, singleIds *[]int, reply *[]cards.ReplyCommonSingle) error
根据singleids批量获取单项目-rpc确认消费
func (*Single) GetBySsidsRpc ¶
func (s *Single) GetBySsidsRpc(ctx context.Context, ssIds *[]int, reply *[]cards.ReplyGetBySsidsRpc) error
根据单项目门店ids 获取信息-rpc内部调用
func (*Single) GetBySspids ¶
func (s *Single) GetBySspids(ctx context.Context, args *[]int, reply *[]cards.ReplyGetBySspids) error
根据sspIds获取对应的singleId -rpc内部使用 消费确认时检查sspid和singleid的匹配
func (*Single) GetInfoByShopIds ¶
func (s *Single) GetInfoByShopIds(ctx context.Context, args *[]cards.ArgsGetInfoByShopId, reply *[]cards.ReplyGetSingleInfos) error
根据门店ids和sspIds获取价格-rpc
func (*Single) GetPriceByShopIdAndSsspId ¶
func (s *Single) GetPriceByShopIdAndSsspId(ctx context.Context, args *cards.ArgsCommonShopSingle, reply *[]cards.ReplyGetPriceByShopIdAndSsspId) error
获取门店指定单项目规格的价格
func (*Single) GetSelectServices ¶
func (s *Single) GetSelectServices(ctx context.Context, args *cards.ArgsGetSelectServices, reply *[]cards.ReplyGetSelectServices) error
九百岁首页精选服务
func (*Single) GetShopSingleBySingleIdsRpc ¶
func (s *Single) GetShopSingleBySingleIdsRpc(ctx context.Context, args *cards.ArgsGetShopSingleBySingleIdsRpc, reply *cards.ReplyGetShopSingleBySingleIdsRpc) error
获取门店的单项目-rpc内部调用
func (*Single) GetShopSinglePrice ¶
func (s *Single) GetShopSinglePrice(ctx context.Context, args *cards.ArgsGetShopSinglePrice, price *float64) error
获取单项目在子店的价格
func (*Single) GetShopSpecs ¶
func (s *Single) GetShopSpecs(ctx context.Context, args *cards.ArgsGetShopSpecs, reply *[]cards.ReplyGetShopSpecs) error
/根据规格ID获取门店规格数据
func (*Single) GetSignlesByStaffId ¶
func (s *Single) GetSignlesByStaffId(ctx context.Context, args *cards.ArgsGetSignlesByStaffID, reply *cards.ReplyGetSignlesByStaffID) error
根据手艺人ID获取关联的单项目
func (*Single) GetSimpleSingleInfo ¶
func (s *Single) GetSimpleSingleInfo(ctx context.Context, singleId *int, reply *cards.SimpleSingleInfo) error
单项目详情-rpc
func (*Single) GetSimpleSingleInfos ¶
func (s *Single) GetSimpleSingleInfos(ctx context.Context, singleIds *[]int, reply *[]cards.SimpleSingleInfo) error
批量单项目详情-rpc
func (*Single) GetSingleByShopIdAndSingleIds ¶
func (s *Single) GetSingleByShopIdAndSingleIds(ctx context.Context, args *cards.ArgsGetSingleByShopIdAndSingleIds, reply *cards.ReplyShopSingle) error
根据门店id和单项目Id获取单项目数据
func (*Single) GetSingleByShopIdAndTagId ¶
func (s *Single) GetSingleByShopIdAndTagId(ctx context.Context, args *cards.ArgsShopSingleByPage, reply *cards.ReplyShopSingle) error
根据门店id查询单项目服务
func (*Single) GetSingleDetailByShopId ¶
func (s *Single) GetSingleDetailByShopId(ctx context.Context, args *cards.ArgsGetInfoByShopId, reply *cards.ReplyGetSingleDetailByShopId) error
根据门店id和singleid 或者 sspid 获取单项目数据和价格 - rpc 体验详情用
func (*Single) GetSingleInfo ¶
func (s *Single) GetSingleInfo(ctx context.Context, args *cards.ArgsGetSingleInfo, reply *cards.SingleDetail) error
获取单项目数据
func (*Single) GetSingleInfoRpc ¶
func (s *Single) GetSingleInfoRpc(ctx context.Context, args *cards.ArgsGetSingleInfoRpc, reply *cards.SingleDetail) error
获取单项目数据-rpc
func (*Single) GetSingleInfos ¶
func (s *Single) GetSingleInfos(ctx context.Context, args *cards.ArgsGetSingleInfos, reply *[]cards.ReplyGetSingleInfos) error
根据多个singleid和多个sspid查询数据-rpc
func (*Single) GetSingleInfosGetBusSingleInfos ¶
func (s *Single) GetSingleInfosGetBusSingleInfos(ctx context.Context, args *[]cards.GetSingleInfoItem, reply *[]cards.ReplyGetBusSingleInfos) error
根据多个singleid和多个sspid查询数据-rpc
func (*Single) GetSinglePriceListsBySingleIds ¶
func (s *Single) GetSinglePriceListsBySingleIds(ctx context.Context, singleIds []int, reply *map[int]cards.SinglePriceInfo) error
根据单项目id批量获取基础价格信息
func (*Single) GetSingleSpecBySspId ¶
func (s *Single) GetSingleSpecBySspId(ctx context.Context, args *cards.ArgsSubSpecID, reply *cards.ReplySubServer2) error
根据规格ID获取门店规格数据
func (*Single) GetSubServerBySingleId ¶
func (s *Single) GetSubServerBySingleId(ctx context.Context, args *cards.ArgsSubServer, reply *cards.ReplySubServer) error
根据单项目id获取子规格服务
func (*Single) ShopAddSingle ¶
func (s *Single) ShopAddSingle(ctx context.Context, single *cards.ArgsShopAddSingle, reply *bool) error
子店添加单项目
func (*Single) ShopChangePrice ¶
func (s *Single) ShopChangePrice(ctx context.Context, args *cards.ArgsShopChangePrice, reply *bool) error
子店铺设置单项目价格
func (*Single) ShopDownUpSingle ¶
func (s *Single) ShopDownUpSingle(ctx context.Context, args *cards.ArgsShopDownUpSingle, reply *bool) error
子店上下架单项目
func (*Single) ShopSinglePage ¶
func (s *Single) ShopSinglePage(ctx context.Context, args *cards.ArgsShopSinglePage, reply *cards.ReplyShopSinglePage) error
获取子店的单项目列表
type Sm ¶
type Sm struct {
client.Baseclient
}
func (*Sm) BusSmPage ¶
func (s *Sm) BusSmPage(ctx context.Context, args *cards.ArgsBusSmPage, reply *cards.ReplySmPage) error
获取商家的套餐列表
func (*Sm) DeleteShopSm ¶
分店-删除套餐
func (*Sm) ShopAddToSm ¶
子店添加套餐(一期优化,去掉总店推送,改为门店自动拉取)
func (*Sm) ShopDownUpSm ¶
子店上下架套餐
func (*Sm) ShopGetBusSmPage ¶
func (s *Sm) ShopGetBusSmPage(ctx context.Context, args *cards.ArgsShopGetBusSmPage, reply *cards.ReplyShopGetBusSmPage) error
子店获取适用本店的套餐列表
func (*Sm) ShopSmPage ¶
func (s *Sm) ShopSmPage(ctx context.Context, args *cards.ArgsShopSmPage, reply *cards.ReplyShopSmPage) error
获取子店的套餐列表
func (*Sm) SmInfo ¶
func (s *Sm) SmInfo(ctx context.Context, args *cards.ArgsSmInfo, reply *cards.ReplySmInfo) error
获取套餐的详情
type Spec ¶
type Spec struct {
client.Baseclient
}
func (*Spec) GetByParentSpecId ¶
func (s *Spec) GetByParentSpecId(ctx context.Context, args *cards.GetSubSpecParams, reply *[]cards.SubSpec) error
获取子规格