Documentation ¶
Index ¶
- type ArgsAddServiceNum
- type ArgsCashCardAssets
- type ArgsDateBusIdCommon
- type ArgsDescEarnedProfitRpc
- type ArgsGetBusCashRateAndShopInfo
- type ArgsInformation
- type ArgsInsuranceStatic
- type ArgsSalesCardNum
- type ArgsSalesOrCashCardAssets
- type ArgsStatisticsCardProductUnderRate
- type ArgsStatisticsEarnedProfit
- type ArgsStatisticsMaxOrderAssets
- type ArgsStatisticsStaffAddRate
- type ArgsStatisticsUserActive
- type ArgsStoreInformation
- type BusBasicAccumulatice
- type BusBasicIndusAvg
- type BusBasicIndusAvgMonth
- type BusBasicMonth
- type ReplyCashCardAssets
- type ReplyGetBusCashRateAndShopInfo
- type ReplyGetBussCashInfo
- type ReplyRiskInformation
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArgsCashCardAssets ¶
type ArgsDateBusIdCommon ¶
type ArgsDescEarnedProfitRpc ¶
type ArgsDescEarnedProfitRpc struct { ArgsDateBusIdCommon RefundAssets float64 //退款金额 }
退款-减少营业额(时间取当前订单的创建时间)
type ArgsGetBusCashRateAndShopInfo ¶
type ArgsGetBusCashRateAndShopInfo struct {
RiskBusId int
}
监管平台直连接口-预付卡消费经营状况/门店信息
type ArgsInformation ¶
type ArgsInformation struct { BusId int // 商户ID ShopId int // 门店ID MemberId int // 会员人员ID StaffAddId int // 企业员工增加ID StaffDelId int // 企业员工减少ID OrdenrSn string // 订单编号 ConsumeLogId int // 消费者日志ID ServiceCommentId int // 评分ID }
添加 统计预付卡风险管理系统信息
type ArgsInsuranceStatic ¶
type ArgsInsuranceStatic struct { RelationId int // 卡包关联ID CardPackageId int // 卡包ID CardPackageType int // 卡包类型 }
添加 投保率 入参
type ArgsSalesCardNum ¶
type ArgsSalesCardNum struct { ArgsDateBusIdCommon SalesCardNum int }
统计当月发卡数量-入参
type ArgsSalesOrCashCardAssets ¶
type ArgsSalesOrCashCardAssets struct { ArgsDateBusIdCommon SalesCardAssets float64 //售卡金额 CashCardAssets float64 //消费金额 }
统计本月售卡/消费金额-入参
type ArgsStatisticsCardProductUnderRate ¶
type ArgsStatisticsCardProductUnderRate struct {
ShopId int
}
统计当月卡项/商品下架率
type ArgsStatisticsEarnedProfit ¶
type ArgsStatisticsEarnedProfit struct { ArgsDateBusIdCommon SingleAmount float64 //单项目金额 CardAmount float64 //卡项金额 ProductAmount float64 //商品金额 }
统计当月营业额=单项目+售卡+商品金额 入参
type ArgsStatisticsMaxOrderAssets ¶
type ArgsStatisticsMaxOrderAssets struct { ArgsDateBusIdCommon Assets float64 //单张售卡金额 }
当月单售卡张卡最高金额-入参
type ArgsStatisticsStaffAddRate ¶
type ArgsStatisticsStaffAddRate struct {
StaffId int
}
统计当月员工新增率-入参
type ArgsStatisticsUserActive ¶
type ArgsStatisticsUserActive struct { UserActive float64 ArgsDateBusIdCommon }
本月用户活跃度 本月复购人数/总人数(去重)
type ArgsStoreInformation ¶
type ArgsStoreInformation struct {
BusId int // 商户ID
}
添加预付卡风险管理系统-企业数据信息入参数
type BusBasicAccumulatice ¶
type BusBasicAccumulatice interface { // 添加 预付卡风险管理系统--riskId BusBasicRisId(ctx context.Context, busId int, reply *bool) (err error) // 添加 预付卡风险管理系统--风控系统商户ID 门店总数量统计 ShopNumRpc(ctx context.Context, shopId int, reply *bool) error // 添加 预付卡风险管理系统-会员总人数 UserNumRpc(ctx context.Context, memberId *int, reply *bool) error // 添加 预付卡风险管理系统-统计企业员工人数 StaffNumRpc(ctx context.Context, staffId *int, reply *bool) error // 添加 预付卡风险管理系统 ---- 会员复购率 PurchaseRate(ctx context.Context, orderSn *string, reply *bool) error //添加 预付卡风险管理系统---统计累计已兑付(消费)金额 更新累计兑付率 所辖门店平均年限 CashCardAssets(ctx context.Context, consumeLogId *int, reply *bool) error //添加 预付卡风险管理系统-消费者评分 ConsumerEvaluation(ctx context.Context, serviceCommentId *int, reply *bool) error // 添加 已兑付金额 AddCashCardAssets(ctx context.Context, args *ArgsCashCardAssets, reply *ReplyCashCardAssets) (err error) // 添加 投保率 AddInsuranceRateRpc(ctx context.Context, args *ArgsInsuranceStatic, reply *bool) error //监管平台直连接口-预付卡消费经营状况 GetBusCashRateAndShopInfo(ctx context.Context, args *ArgsGetBusCashRateAndShopInfo, reply *ReplyGetBusCashRateAndShopInfo) error // 添加 产品/卡项/商品总数 AddGoodsNumRpc(ctx context.Context, args *task.ArgsAddDelGoods, reply *bool) error //监管平台直连接口-多商家的经营状况 GetBussCashInfo(ctx context.Context, riskBusIds *[]int, reply *map[int]ReplyGetBussCashInfo) error }
type BusBasicIndusAvg ¶
type BusBasicIndusAvg interface { //审核商户 RiskForAuditBus(ctx context.Context, busId *int, reply *bool) error //审核店铺 RiskForAuditShop(ctx context.Context, shopId *int, reply *bool) error //员工新增、离职、删除 RiskForSetStaff(ctx context.Context, staffId *int, reply *bool) error //会员新增 RiskForAddMember(ctx context.Context, memberId *int, reply *bool) error //订单支付成功 RiskForPaySuccess(ctx context.Context, orderSn *string, reply *bool) error //店铺面积更新 RiskForShopAreaUpdate(ctx context.Context, args *bus.ArgsShopAreaUpdate, reply *bool) error //新增删除卡项/商品 RiskForAddDelGoods(ctx context.Context, args *task.ArgsAddDelGoods, reply *bool) error }
type BusBasicIndusAvgMonth ¶
type BusBasicMonth ¶
type BusBasicMonth interface { //统计当月企业新增会员数量 AddMemberNumRpc(ctx context.Context, memberId *int, reply *bool) error //统计当月发卡数量-(前提是订单支付成功) AddSalesCardNumRpc(ctx context.Context, args *ArgsSalesCardNum, reply *bool) error //统计当月消费人数(消费次数) AddServiceNumRpc(ctx context.Context, args *ArgsAddServiceNum, reply *bool) error //统计当月员工新增/离职率 StatisticsStaffAddRateRpc(ctx context.Context, args *ArgsStatisticsStaffAddRate, reply *bool) error //统计当月/年度营业额=单项目+售卡+商品金额 StatisticsEarnedProfitRpc(ctx context.Context, args *ArgsStatisticsEarnedProfit, reply *bool) error //用户退款-减少企业当月/年度营业额 DescEarnedProfitRpc(ctx context.Context, args *ArgsDescEarnedProfitRpc, reply *bool) error //本月用户活跃度 StatisticsUserActiveRpc(ctx context.Context, args *ArgsStatisticsUserActive, reply *bool) error //统计当月单售卡张卡最高金额 StatisticsMaxOrderAssetsRpc(ctx context.Context, args *ArgsStatisticsMaxOrderAssets, reply *bool) error //统计本月售卡/消费金额-订单付款成功/确认消费时调用 SalesOrCashCardAssetsRpc(ctx context.Context, args *ArgsSalesOrCashCardAssets, reply *bool) error //统计当月卡项/商品下架率 StatisticsCardProductUnderRateRpc(ctx context.Context, args *ArgsStatisticsCardProductUnderRate, reply *bool) error //确认消费完成,统计消费次数,今日耗卡金额 RiskStatisticsConsume(ctx context.Context, consumeLogId *int, reply *bool) error //订单支付成功,统计(支付订单数,售卡金额,充值卡金额) RiskStatisticsOrderPaySuc(ctx context.Context, orderSn *string, reply *bool) error }
type ReplyCashCardAssets ¶
type ReplyGetBussCashInfo ¶
Click to show internal directories.
Click to hide internal directories.