Documentation ¶
Overview ¶
Code generated by lark suite oapi sdk gen
Code generated by lark suite oapi sdk gen
Index ¶
- func SetAppOpenEventHandler(conf *config.Config, fn func(ctx *core.Context, event *AppOpenEvent) error)
- func SetAppStatusChangeEventHandler(conf *config.Config, ...)
- func SetAppUninstalledEventHandler(conf *config.Config, ...)
- func SetOrderPaidEventHandler(conf *config.Config, fn func(ctx *core.Context, event *OrderPaidEvent) error)
- type AppOpenEvent
- type AppOpenEventData
- type AppOpenEventHandler
- type AppStatusChangeEvent
- type AppStatusChangeEventData
- type AppStatusChangeEventHandler
- type AppUninstalledEvent
- type AppUninstalledEventData
- type AppUninstalledEventHandler
- type OrderPaidEvent
- type OrderPaidEventData
- type OrderPaidEventHandler
- type UserId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetAppOpenEventHandler ¶
Types ¶
type AppOpenEvent ¶
type AppOpenEvent struct { *model.BaseEvent Event *AppOpenEventData `json:"event"` }
type AppOpenEventData ¶
type AppOpenEventHandler ¶
type AppOpenEventHandler struct {
Fn func(*core.Context, *AppOpenEvent) error
}
func (*AppOpenEventHandler) GetEvent ¶
func (h *AppOpenEventHandler) GetEvent() interface{}
type AppStatusChangeEvent ¶
type AppStatusChangeEvent struct { *model.BaseEvent Event *AppStatusChangeEventData `json:"event"` }
type AppStatusChangeEventHandler ¶
type AppStatusChangeEventHandler struct {
Fn func(*core.Context, *AppStatusChangeEvent) error
}
func (*AppStatusChangeEventHandler) GetEvent ¶
func (h *AppStatusChangeEventHandler) GetEvent() interface{}
type AppUninstalledEvent ¶
type AppUninstalledEvent struct { *model.BaseEvent Event *AppUninstalledEventData `json:"event"` }
type AppUninstalledEventData ¶
type AppUninstalledEventHandler ¶
type AppUninstalledEventHandler struct {
Fn func(*core.Context, *AppUninstalledEvent) error
}
func (*AppUninstalledEventHandler) GetEvent ¶
func (h *AppUninstalledEventHandler) GetEvent() interface{}
type OrderPaidEvent ¶
type OrderPaidEvent struct { *model.BaseEvent Event *OrderPaidEventData `json:"event"` }
type OrderPaidEventData ¶
type OrderPaidEventData struct { AppId string `json:"app_id,omitempty"` TenantKey string `json:"tenant_key,omitempty"` Type string `json:"type,omitempty"` OrderId string `json:"order_id,omitempty"` PricePlanId string `json:"price_plan_id,omitempty"` PricePlanType string `json:"price_plan_type,omitempty"` Seats int `json:"seats,omitempty"` BuyCount int `json:"buy_count,omitempty"` CreateTime string `json:"create_time,omitempty"` PayTime string `json:"pay_time,omitempty"` BuyType string `json:"buy_type,omitempty"` SrcOrderId string `json:"src_order_id,omitempty"` OrderPayPrice int `json:"order_pay_price,omitempty"` }
type OrderPaidEventHandler ¶
type OrderPaidEventHandler struct {
Fn func(*core.Context, *OrderPaidEvent) error
}
func (*OrderPaidEventHandler) GetEvent ¶
func (h *OrderPaidEventHandler) GetEvent() interface{}
Click to show internal directories.
Click to hide internal directories.