Versions in this module Expand all Collapse all v0 v0.2.21 Oct 23, 2023 v0.2.20 Oct 23, 2023 Changes in this version + type ActApplyInfo struct + GoodsOriginalPrice *int64 + StoreInfo *StoreInfo + func (o ActApplyInfo) Clone() *ActApplyInfo + func (o ActApplyInfo) MarshalJSON() ([]byte, error) + func (o ActApplyInfo) String() string + type ActArea struct + City *string + District *string + Province *string + func (o ActArea) Clone() *ActArea + func (o ActArea) MarshalJSON() ([]byte, error) + func (o ActArea) String() string + type ActInfo struct + ActivityDescription *string + ActivityEndTime *string + ActivityName *string + ActivityStartTime *string + ApplyEndTime *string + ApplyStartTime *string + func (o ActInfo) Clone() *ActInfo + func (o ActInfo) MarshalJSON() ([]byte, error) + func (o ActInfo) String() string + type ActRule struct + Areas []ActArea + ServiceProviderSubsidy *int64 + StoreSubsidy *int64 + StoreSubsidyQuota *int64 + UserSubsidyQuota *int64 + func (o ActRule) Clone() *ActRule + func (o ActRule) MarshalJSON() ([]byte, error) + func (o ActRule) String() string + type ActivityApiService services.Service + func (a *ActivityApiService) ApplyActivity(ctx context.Context, req ApplyActivityRequest) (resp *ApplyActivityResponse, result *core.APIResult, err error) + func (a *ActivityApiService) ListActsByArea(ctx context.Context, req ListActsByAreaRequest) (resp *ListActsByAreaResponse, result *core.APIResult, err error) + type AddRepresentativeRequest struct + ActivityId *string + AddTime *string + OutRequestNo *string + RepresentativeInfoList []RepresentativeInfo + func (o AddRepresentativeRequest) Clone() *AddRepresentativeRequest + func (o AddRepresentativeRequest) MarshalJSON() ([]byte, error) + func (o AddRepresentativeRequest) String() string + type AddRepresentativesRequest struct + AddTime *string + OutRequestNo *string + RepresentativeInfoList []RepresentativeInfo + func (o AddRepresentativesRequest) Clone() *AddRepresentativesRequest + func (o AddRepresentativesRequest) MarshalJSON() ([]byte, error) + func (o AddRepresentativesRequest) String() string + type AddRepresentativesResponse struct + ActivityId *string + AddTime *string + FailedRepresentativeInfoList []RepresentativeInfo + func (o AddRepresentativesResponse) Clone() *AddRepresentativesResponse + func (o AddRepresentativesResponse) MarshalJSON() ([]byte, error) + func (o AddRepresentativesResponse) String() string + type AddStoresBody struct + AddTime *string + OutRequestNo *string + Stores []RetailStoreInfo + func (o AddStoresBody) Clone() *AddStoresBody + func (o AddStoresBody) MarshalJSON() ([]byte, error) + func (o AddStoresBody) String() string + type AddStoresRequest struct + AddTime *string + BrandId *string + OutRequestNo *string + Stores []RetailStoreInfo + func (o AddStoresRequest) Clone() *AddStoresRequest + func (o AddStoresRequest) MarshalJSON() ([]byte, error) + func (o AddStoresRequest) String() string + type AddStoresResponse struct + AddTime *string + FailedStores []RetailStoreInfo + func (o AddStoresResponse) Clone() *AddStoresResponse + func (o AddStoresResponse) MarshalJSON() ([]byte, error) + func (o AddStoresResponse) String() string + type ApplyActivityBody struct + ApplyInfos []ActApplyInfo + CallerMerchantId *string + func (o ApplyActivityBody) Clone() *ApplyActivityBody + func (o ApplyActivityBody) MarshalJSON() ([]byte, error) + func (o ApplyActivityBody) String() string + type ApplyActivityRequest struct + ActivityId *string + ApplyInfos []ActApplyInfo + CallerMerchantId *string + func (o ApplyActivityRequest) Clone() *ApplyActivityRequest + func (o ApplyActivityRequest) MarshalJSON() ([]byte, error) + func (o ApplyActivityRequest) String() string + type ApplyActivityResponse struct + FailedApplyInfos []ActApplyInfo + ReturnMessage *string + SucceedApplyInfos []ActApplyInfo + func (o ApplyActivityResponse) Clone() *ApplyActivityResponse + func (o ApplyActivityResponse) MarshalJSON() ([]byte, error) + func (o ApplyActivityResponse) String() string + type CreateMaterialsBody struct + MaterialNum *int64 + OutRequestNo *string + func (o CreateMaterialsBody) Clone() *CreateMaterialsBody + func (o CreateMaterialsBody) MarshalJSON() ([]byte, error) + func (o CreateMaterialsBody) String() string + type CreateMaterialsRequest struct + BrandId *string + MaterialNum *int64 + OutRequestNo *string + func (o CreateMaterialsRequest) Clone() *CreateMaterialsRequest + func (o CreateMaterialsRequest) MarshalJSON() ([]byte, error) + func (o CreateMaterialsRequest) String() string + type DeleteRepresentativeBody struct + DeleteTime *string + OutRequestNo *string + RepresentativeInfoList []RepresentativeInfo + func (o DeleteRepresentativeBody) Clone() *DeleteRepresentativeBody + func (o DeleteRepresentativeBody) MarshalJSON() ([]byte, error) + func (o DeleteRepresentativeBody) String() string + type DeleteRepresentativeRequest struct + ActivityId *string + DeleteTime *string + OutRequestNo *string + RepresentativeInfoList []RepresentativeInfo + func (o DeleteRepresentativeRequest) Clone() *DeleteRepresentativeRequest + func (o DeleteRepresentativeRequest) MarshalJSON() ([]byte, error) + func (o DeleteRepresentativeRequest) String() string + type DeleteRepresentativeResponse struct + ActivityId *string + DeleteTime *string + FailedRepresentativeInfoList []RepresentativeInfo + func (o DeleteRepresentativeResponse) Clone() *DeleteRepresentativeResponse + func (o DeleteRepresentativeResponse) MarshalJSON() ([]byte, error) + func (o DeleteRepresentativeResponse) String() string + type DeleteStoresBody struct + DeleteTime *string + OutRequestNo *string + Stores []RetailStoreInfo + func (o DeleteStoresBody) Clone() *DeleteStoresBody + func (o DeleteStoresBody) MarshalJSON() ([]byte, error) + func (o DeleteStoresBody) String() string + type DeleteStoresRequest struct + BrandId *string + DeleteTime *string + OutRequestNo *string + Stores []RetailStoreInfo + func (o DeleteStoresRequest) Clone() *DeleteStoresRequest + func (o DeleteStoresRequest) MarshalJSON() ([]byte, error) + func (o DeleteStoresRequest) String() string + type DeleteStoresResponse struct + DeleteTime *string + FailedStores []RetailStoreInfo + func (o DeleteStoresResponse) Clone() *DeleteStoresResponse + func (o DeleteStoresResponse) MarshalJSON() ([]byte, error) + func (o DeleteStoresResponse) String() string + type FmcgAct struct + ActivityId *string + ActivityInfo *ActInfo + BrandId *string + CreatorMerchantId *string + GoodsInformation *GoodsInfo + RuleInformation *ActRule + func (o FmcgAct) Clone() *FmcgAct + func (o FmcgAct) MarshalJSON() ([]byte, error) + func (o FmcgAct) String() string + type GetStoreRequest struct + BrandId *string + StoreCode *string + func (o GetStoreRequest) Clone() *GetStoreRequest + func (o GetStoreRequest) MarshalJSON() ([]byte, error) + func (o GetStoreRequest) String() string + type GoodsInfo struct + GoodsId *string + GoodsName *string + GoodsPictureUrl *string + func (o GoodsInfo) Clone() *GoodsInfo + func (o GoodsInfo) MarshalJSON() ([]byte, error) + func (o GoodsInfo) String() string + type ListActsByAreaRequest struct + CityId *string + Limit *int64 + Offset *int64 + func (o ListActsByAreaRequest) Clone() *ListActsByAreaRequest + func (o ListActsByAreaRequest) MarshalJSON() ([]byte, error) + func (o ListActsByAreaRequest) String() string + type ListActsByAreaResponse struct + Data []FmcgAct + Limit *int64 + Offset *int64 + TotalCount *int64 + func (o ListActsByAreaResponse) Clone() *ListActsByAreaResponse + func (o ListActsByAreaResponse) MarshalJSON() ([]byte, error) + func (o ListActsByAreaResponse) String() string + type ListRepresentativeRequest struct + ActivityId *string + Limit *int64 + Offset *int64 + func (o ListRepresentativeRequest) Clone() *ListRepresentativeRequest + func (o ListRepresentativeRequest) MarshalJSON() ([]byte, error) + func (o ListRepresentativeRequest) String() string + type ListRepresentativeResponse struct + Data []RepresentativeInfo + Limit *int64 + Offset *int64 + TotalCount *int64 + func (o ListRepresentativeResponse) Clone() *ListRepresentativeResponse + func (o ListRepresentativeResponse) MarshalJSON() ([]byte, error) + func (o ListRepresentativeResponse) String() string + type ListStoreRequest struct + BrandId *string + Limit *int64 + Offset *int64 + func (o ListStoreRequest) Clone() *ListStoreRequest + func (o ListStoreRequest) MarshalJSON() ([]byte, error) + func (o ListStoreRequest) String() string + type ListStoreResponse struct + Data []RetailStoreInfo + Limit *int64 + Offset *int64 + TotalCount *int64 + func (o ListStoreResponse) Clone() *ListStoreResponse + func (o ListStoreResponse) MarshalJSON() ([]byte, error) + func (o ListStoreResponse) String() string + type LockQualificationRequest struct + OrderInformation *OrderInfo + QualificationIds []string + func (o LockQualificationRequest) Clone() *LockQualificationRequest + func (o LockQualificationRequest) MarshalJSON() ([]byte, error) + func (o LockQualificationRequest) String() string + type LockQualificationResponse struct + FailedQualificationIds []string + ReturnMessage *string + SucceedQualificationIds []string + func (o LockQualificationResponse) Clone() *LockQualificationResponse + func (o LockQualificationResponse) MarshalJSON() ([]byte, error) + func (o LockQualificationResponse) String() string + type MaterialInfo struct + MaterialId *string + MaterialUrl *string + func (o MaterialInfo) Clone() *MaterialInfo + func (o MaterialInfo) MarshalJSON() ([]byte, error) + func (o MaterialInfo) String() string + type Materials struct + MaterialList []MaterialInfo + func (o Materials) Clone() *Materials + func (o Materials) MarshalJSON() ([]byte, error) + func (o Materials) String() string + type OrderInfo struct + OutTradeNo *string + PayerOpenid *string + StoreId *string + StoreMerchantId *string + TotalFee *int64 + func (o OrderInfo) Clone() *OrderInfo + func (o OrderInfo) MarshalJSON() ([]byte, error) + func (o OrderInfo) String() string + type QualificationApiService services.Service + func (a *QualificationApiService) LockQualification(ctx context.Context, req LockQualificationRequest) (resp *LockQualificationResponse, result *core.APIResult, err error) + func (a *QualificationApiService) UnlockQualification(ctx context.Context, req UnlockQualificationRequest) (resp *UnlockQualificationResponse, result *core.APIResult, err error) + type RepresentativeInfo struct + Openid *string + func (o RepresentativeInfo) Clone() *RepresentativeInfo + func (o RepresentativeInfo) MarshalJSON() ([]byte, error) + func (o RepresentativeInfo) String() string + type RetailStoreActApiService services.Service + func (a *RetailStoreActApiService) AddRepresentative(ctx context.Context, req AddRepresentativeRequest) (resp *AddRepresentativesResponse, result *core.APIResult, err error) + func (a *RetailStoreActApiService) AddStores(ctx context.Context, req AddStoresRequest) (resp *AddStoresResponse, result *core.APIResult, err error) + func (a *RetailStoreActApiService) CreateMaterials(ctx context.Context, req CreateMaterialsRequest) (resp *Materials, result *core.APIResult, err error) + func (a *RetailStoreActApiService) DeleteRepresentative(ctx context.Context, req DeleteRepresentativeRequest) (resp *DeleteRepresentativeResponse, result *core.APIResult, err error) + func (a *RetailStoreActApiService) DeleteStores(ctx context.Context, req DeleteStoresRequest) (resp *DeleteStoresResponse, result *core.APIResult, err error) + func (a *RetailStoreActApiService) GetStore(ctx context.Context, req GetStoreRequest) (resp *RetailStoreInfo, result *core.APIResult, err error) + func (a *RetailStoreActApiService) ListRepresentative(ctx context.Context, req ListRepresentativeRequest) (resp *ListRepresentativeResponse, result *core.APIResult, err error) + func (a *RetailStoreActApiService) ListStore(ctx context.Context, req ListStoreRequest) (resp *ListStoreResponse, result *core.APIResult, err error) + type RetailStoreInfo struct + StoreCode *string + StoreName *string + func (o RetailStoreInfo) Clone() *RetailStoreInfo + func (o RetailStoreInfo) MarshalJSON() ([]byte, error) + func (o RetailStoreInfo) String() string + type StoreInfo struct + AccountingMerchantId *string + MerchantId *string + StoreId *string + func (o StoreInfo) Clone() *StoreInfo + func (o StoreInfo) MarshalJSON() ([]byte, error) + func (o StoreInfo) String() string + type UnlockQualificationRequest struct + OrderInformation *OrderInfo + QualificationIds []string + func (o UnlockQualificationRequest) Clone() *UnlockQualificationRequest + func (o UnlockQualificationRequest) MarshalJSON() ([]byte, error) + func (o UnlockQualificationRequest) String() string + type UnlockQualificationResponse struct + FailedQualificationIds []string + ReturnMessage *string + SucceedQualificationIds []string + func (o UnlockQualificationResponse) Clone() *UnlockQualificationResponse + func (o UnlockQualificationResponse) MarshalJSON() ([]byte, error) + func (o UnlockQualificationResponse) String() string