Documentation ¶
Index ¶
- func CancelEvaluateActivity(ctx context.Context, req *CancelEvaluateActivityRequest) (bool, error)
- func CountEvaluateActivity(ctx context.Context, req *CountEvaluateActivityRequest) (uint, error)
- func CreateEvaluateActivity(ctx context.Context, req *CreateEvaluateActivityRequest) (uint64, error)
- func CreateEvaluateActivityWithResult(ctx context.Context, req *CreateEvaluateActivityWithResultRequest) (uint64, error)
- type CancelEvaluateActivityData
- type CancelEvaluateActivityRequest
- type CancelEvaluateActivityResponse
- type CountEvaluateActivityData
- type CountEvaluateActivityRequest
- type CountEvaluateActivityResponse
- type CreateEvaluateActivityData
- type CreateEvaluateActivityRequest
- type CreateEvaluateActivityResponse
- type CreateEvaluateActivityWithResultData
- type CreateEvaluateActivityWithResultRequest
- type CreateEvaluateActivityWithResultResponse
- type EvaluateActivity
- type EvaluateAnalysis
- type EvaluateRule
- type EvaluateSku
- type GetEvaluateActivityByIdData
- type GetEvaluateActivityByIdRequest
- type GetEvaluateActivityByIdResponse
- type GetEvaluateActivityListData
- type GetEvaluateActivityListRequest
- type GetEvaluateActivityListResponse
- type GetEvaluateActivityListResult
- type GetEvaluateAnalysisListByParamsData
- type GetEvaluateAnalysisListByParamsRequest
- type GetEvaluateAnalysisListByParamsResponse
- type GetEvaluateAnalysisListData
- type GetEvaluateAnalysisListRequest
- type GetEvaluateAnalysisListResponse
- type GetEvaluateJoinedSkuListData
- type GetEvaluateJoinedSkuListRequest
- type GetEvaluateJoinedSkuListResponse
- type GetEvaluateRuleListByIdData
- type GetEvaluateRuleListByIdRequest
- type GetEvaluateRuleListByIdResponse
- type GetEvaluateSkuListData
- type GetEvaluateSkuListRequest
- type GetEvaluateSkuListResponse
- type JoinedSku
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CancelEvaluateActivity ¶
func CancelEvaluateActivity(ctx context.Context, req *CancelEvaluateActivityRequest) (bool, error)
func CountEvaluateActivity ¶
func CountEvaluateActivity(ctx context.Context, req *CountEvaluateActivityRequest) (uint, error)
func CreateEvaluateActivity ¶
func CreateEvaluateActivity(ctx context.Context, req *CreateEvaluateActivityRequest) (uint64, error)
func CreateEvaluateActivityWithResult ¶
func CreateEvaluateActivityWithResult(ctx context.Context, req *CreateEvaluateActivityWithResultRequest) (uint64, error)
Types ¶
type CancelEvaluateActivityData ¶
type CancelEvaluateActivityData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result bool `json:"result,omitempty" codec:"result,omitempty"` }
func (CancelEvaluateActivityData) Error ¶ added in v1.1.1
func (r CancelEvaluateActivityData) Error() string
func (CancelEvaluateActivityData) IsError ¶ added in v1.1.1
func (r CancelEvaluateActivityData) IsError() bool
type CancelEvaluateActivityRequest ¶
type CancelEvaluateActivityRequest struct { api.BaseRequest AppName string `json:"appName" codec:"appName"` Channel uint8 `json:"channel" codec:"channel"` Id uint64 `json:"id" codec:"id"` }
type CancelEvaluateActivityResponse ¶
type CancelEvaluateActivityResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *CancelEvaluateActivityData `` /* 240-byte string literal not displayed */ }
func (CancelEvaluateActivityResponse) Error ¶ added in v1.1.1
func (r CancelEvaluateActivityResponse) Error() string
func (CancelEvaluateActivityResponse) IsError ¶ added in v1.1.1
func (r CancelEvaluateActivityResponse) IsError() bool
type CountEvaluateActivityData ¶
type CountEvaluateActivityData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result uint `json:"result,omitempty" codec:"result,omitempty"` }
func (CountEvaluateActivityData) Error ¶ added in v1.1.1
func (r CountEvaluateActivityData) Error() string
func (CountEvaluateActivityData) IsError ¶ added in v1.1.1
func (r CountEvaluateActivityData) IsError() bool
type CountEvaluateActivityRequest ¶
type CountEvaluateActivityRequest struct { api.BaseRequest AppName string `json:"appName"` // 服务商名称 Channel uint8 `json:"channel"` // 请求渠道 (PC为1, APP为2, 任务中心为3,发现频道为4, 上海运营模板为5 , 微信为 6, QQ为 7, ISV为8) Name string `json:"name"` Status string `json:"status"` // 活动状态0,1待开始 ,2进行中,3已结束,4, 6, -4代表已关闭 查询全部 不用传递 StartTime string `json:"startTime"` // 活动开始时间 EndTime string `json:"endTime"` // 活动结束时间 PageNumber uint `json:"pageNumber"` // 第几页 PageSize uint `json:"pageSize"` // 每一页的大小 }
type CountEvaluateActivityResponse ¶
type CountEvaluateActivityResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *CountEvaluateActivityData `` /* 234-byte string literal not displayed */ }
func (CountEvaluateActivityResponse) Error ¶ added in v1.1.1
func (r CountEvaluateActivityResponse) Error() string
func (CountEvaluateActivityResponse) IsError ¶ added in v1.1.1
func (r CountEvaluateActivityResponse) IsError() bool
type CreateEvaluateActivityData ¶
type CreateEvaluateActivityData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result uint64 `json:"result,omitempty" codec:"result,omitempty"` }
func (CreateEvaluateActivityData) Error ¶ added in v1.1.1
func (r CreateEvaluateActivityData) Error() string
func (CreateEvaluateActivityData) IsError ¶ added in v1.1.1
func (r CreateEvaluateActivityData) IsError() bool
type CreateEvaluateActivityRequest ¶
type CreateEvaluateActivityRequest struct { api.BaseRequest ClientSource *center.CreateEvaluateActivityClientSource `json:"ClientSource"` EvaluateActivity *center.CreateEvaluateActivityBody `json:"EvaluateActivity"` }
type CreateEvaluateActivityResponse ¶
type CreateEvaluateActivityResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *CreateEvaluateActivityData `` /* 240-byte string literal not displayed */ }
func (CreateEvaluateActivityResponse) Error ¶ added in v1.1.1
func (r CreateEvaluateActivityResponse) Error() string
func (CreateEvaluateActivityResponse) IsError ¶ added in v1.1.1
func (r CreateEvaluateActivityResponse) IsError() bool
type CreateEvaluateActivityWithResultData ¶
type CreateEvaluateActivityWithResultData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result uint64 `json:"result,omitempty" codec:"result,omitempty"` }
func (CreateEvaluateActivityWithResultData) Error ¶ added in v1.1.1
func (r CreateEvaluateActivityWithResultData) Error() string
func (CreateEvaluateActivityWithResultData) IsError ¶ added in v1.1.1
func (r CreateEvaluateActivityWithResultData) IsError() bool
type CreateEvaluateActivityWithResultRequest ¶
type CreateEvaluateActivityWithResultRequest struct { api.BaseRequest AppName string `json:"appName" codec:"appName"` // 服务商名称 Channel uint8 `json:"channel" codec:"channel"` // 请求渠道 (PC为1, APP为2, 任务中心为3,发现频道为4, 上海运营模板为5 , 微信为 6, QQ为 7, ISV为8) SupplierCode string `json:"supplierCode,omitempty" codec:"supplierCode,omitempty"` // 供应商简码 EndTime string `json:"endTime" codec:"endTime"` // 活动结束时间 StartTime string `json:"startTime" codec:"startTime"` // 活动开始时间 PictureRequirement uint `json:"pictureRequirement,omitempty" codec:"pictureRequirement,omitempty"` // 晒单图片数量最低要求 ShopName string `json:"shopName,omitempty" codec:"shopName,omitempty"` // 店铺名称 Name string `json:"name" codec:"name"` // 活动名称 VedioRequirement uint `json:"vedioRequirement,omitempty" codec:"vedioRequirement,omitempty"` // 视频需要的数量 WordRequirement uint `json:"wordRequirement,omitempty" codec:"wordRequirement,omitempty"` // 字数需要的数量 页面上大于10 Modifier string `json:"modifier,omitempty" codec:"modifier,omitempty"` // 活动修改者 SkuName string `json:"skuName,omitempty" codec:"skuName,omitempty"` // 商品名称 Cate3rdName string `json:"cate3rdName,omitempty" codec:"cate3rdName,omitempty"` // 三级类目名称 Cate1stName string `json:"cate1stName,omitempty" codec:"cate1stName,omitempty"` // 一级类目名称 Cate3rdCode string `json:"cate3rdCode,omitempty" codec:"cate3rdCode,omitempty"` // 三级类目code Cate2ndName string `json:"cate2ndName,omitempty" codec:"cate2ndName,omitempty"` // 二级类目名称 Cate1stCode string `json:"cate1stCode,omitempty" codec:"cate1stCode,omitempty"` // 一级类目code Cate2ndCode string `json:"cate2ndCode,omitempty" codec:"cate2ndCode,omitempty"` // 二级类目code Price string `json:"price" codec:"price"` // 商品价格 SkuId string `json:"skuId" codec:"skuId"` // SKU编号 WareId string `json:"wareId,omitempty" codec:"wareId,omitempty"` // 商品编号 ValidateDay string `json:"validateDay,omitempty" codec:"validateDay,omitempty"` // 有效期天数 AssetItemId string `json:"assetItemId,omitempty" codec:"assetItemId,omitempty"` // 权益-资产项id 1 1M流量 2 1元E卡 3 5元E卡 4 20元E卡 5 50元E卡 6 100元E卡 7 京东PLUS会员 8爱奇艺会员月卡 12爱奇艺会员季卡 13 爱奇艺会员半年卡 14爱奇艺会员年卡 15红包 Type string `json:"type" codec:"type"` // 奖项类型 1京豆 2京劵 4东券 6流量包 8积分 10e卡 11plus会员 12爱奇艺会员 14红包 Discount string `json:"discount,omitempty" codec:"discount,omitempty"` // 优惠金额 AwardType string `json:"awardType,omitempty" codec:"awardType,omitempty"` // 红包发奖方式类型 1随机 2固定 Quota string `json:"quota,omitempty" codec:"quota,omitempty"` // 满足优惠的最低消费额 RulePrice string `json:"rulePrice" codec:"rulePrice"` // 单位发放金额 FloatRatio string `json:"floatRatio,omitempty" codec:"floatRatio,omitempty"` // 奖项浮动数(目前仅支持红包)小于 100, 发奖方式为 1的时候必填 Nums string `json:"nums" codec:"nums"` // 总发放人数 BatchKey string `json:"batchKey,omitempty" codec:"batchKey,omitempty"` // 自营优惠券key ExpireType string `json:"expireType,omitempty" codec:"expireType,omitempty"` // pop优惠券日期类型 1相对时间 5 绝对时间 }
type CreateEvaluateActivityWithResultResponse ¶
type CreateEvaluateActivityWithResultResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *CreateEvaluateActivityWithResultData `` /* 244-byte string literal not displayed */ }
func (CreateEvaluateActivityWithResultResponse) Error ¶ added in v1.1.1
func (r CreateEvaluateActivityWithResultResponse) Error() string
func (CreateEvaluateActivityWithResultResponse) IsError ¶ added in v1.1.1
func (r CreateEvaluateActivityWithResultResponse) IsError() bool
type EvaluateActivity ¶
type EvaluateActivity struct { VenderId uint64 `json:"vender_id" codec:"vender_id"` EndTime uint64 `json:"end_time" codec:"end_time"` Type string `json:"type" codec:"type"` Creator string `json:"creator" codec:"creator"` StartTime uint64 `json:"start_time" codec:"start_time"` Created uint64 `json:"created" codec:"created"` RewardTime uint64 `json:"reward_time" codec:"reward_time"` Name string `json:"name" codec:"name"` RfId uint64 `json:"rfId" codec:"rfId"` Id uint64 `json:"id" codec:"id"` Platform uint `json:"platform" codec:"platform"` Status uint8 `json:"status" codec:"status"` Modified uint64 `json:"modified" codec:"modified"` WordRequirement uint `json:"word_requirement" codec:"word_requirement"` PictureRequirement uint `json:"picture_requirement" codec:"picture_requirement"` VedioRequirement uint `json:"vedio_requirement" codec:"vedio_requirement"` }
func GetEvaluateActivityById ¶
func GetEvaluateActivityById(ctx context.Context, req *GetEvaluateActivityByIdRequest) (*EvaluateActivity, error)
type EvaluateAnalysis ¶
type EvaluateAnalysis struct { ActivityId uint64 `json:"activity_id"` // 活动id PrizeRate float64 `json:"prize_rate"` // 获奖比率 Count uint `json:"count"` // 活动期间的评价数量 StandardRate float64 `json:"standard_rate"` // 达标评价的数量 VenderId uint64 `json:"vender_id"` // 商家id SkuId uint64 `json:"sku_id"` // skuId Id uint64 `json:"id"` // 业务id StandardCount uint `json:"standard_count"` // 达标评价的数量 PrizeCount uint `json:"prize_count"` // 获奖评价的数量 }
func GetEvaluateAnalysisList ¶
func GetEvaluateAnalysisList(ctx context.Context, req *GetEvaluateAnalysisListRequest) ([]EvaluateAnalysis, error)
func GetEvaluateAnalysisListByParams ¶
func GetEvaluateAnalysisListByParams(ctx context.Context, req *GetEvaluateAnalysisListByParamsRequest) ([]EvaluateAnalysis, error)
type EvaluateRule ¶
type EvaluateRule struct { VenderId uint64 `json:"vender_id"` AssetItemId uint `json:"asset_item_id"` Type uint8 `json:"type"` CouponId uint64 `json:"coupon_id"` Discount float64 `json:"discount"` Id uint64 `json:"id"` ActivityId uint64 `json:"activity_id"` AwardType uint8 `json:"award_type"` Quota uint `json:"quota"` Price float64 `json:"price"` FloatRatio float64 `json:"float_ratio"` Nums uint `json:"nums"` CollectTimes uint `json:"collect_times"` ExpireType uint8 `json:"expire_type"` }
func GetEvaluateRuleListById ¶
func GetEvaluateRuleListById(ctx context.Context, req *GetEvaluateRuleListByIdRequest) ([]EvaluateRule, error)
type EvaluateSku ¶
type EvaluateSku struct { VenderId uint64 `json:"vender_id"` SkuName string `json:"sku_name"` ActivityId uint64 `json:"activity_id"` SkuId uint64 `json:"sku_id"` WareId uint64 `json:"ware_id"` BusinessId uint64 `json:"business_id"` Price float64 `json:"price"` Cate1stCode uint64 `json:"cate_1st_code"` Cate1stName string `json:"cate_1st_name"` Cate2ndCode uint64 `json:"cate_2nd_code"` Cate2ndName string `json:"cate_2nd_name"` Cate3rdCode uint64 `json:"cate_3rd_code"` Cate3rdName string `json:"cate_3rd_name"` Logo string `json:"logo"` StockNum int `json:"stock_num"` }
func GetEvaluateSkuList ¶
func GetEvaluateSkuList(ctx context.Context, req *GetEvaluateSkuListRequest) ([]EvaluateSku, error)
type GetEvaluateActivityByIdData ¶
type GetEvaluateActivityByIdData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result *EvaluateActivity `json:"EvaluateActivity,omitempty" codec:"GiftActivityResults,omitempty"` }
func (GetEvaluateActivityByIdData) Error ¶ added in v1.1.1
func (r GetEvaluateActivityByIdData) Error() string
func (GetEvaluateActivityByIdData) IsError ¶ added in v1.1.1
func (r GetEvaluateActivityByIdData) IsError() bool
type GetEvaluateActivityByIdRequest ¶
type GetEvaluateActivityByIdRequest struct { api.BaseRequest AppName string `json:"appName" codec:"appName"` Channel uint8 `json:"channel" codec:"channel"` ActivityId uint64 `json:"activityId" codec:"activityId"` }
type GetEvaluateActivityByIdResponse ¶
type GetEvaluateActivityByIdResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateActivityByIdData `` /* 176-byte string literal not displayed */ }
func (GetEvaluateActivityByIdResponse) Error ¶ added in v1.1.1
func (r GetEvaluateActivityByIdResponse) Error() string
func (GetEvaluateActivityByIdResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateActivityByIdResponse) IsError() bool
type GetEvaluateActivityListData ¶
type GetEvaluateActivityListData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result []GetEvaluateActivityListResult `json:"GiftActivityResults,omitempty" codec:"GiftActivityResults,omitempty"` }
func (GetEvaluateActivityListData) Error ¶ added in v1.1.1
func (r GetEvaluateActivityListData) Error() string
func (GetEvaluateActivityListData) IsError ¶ added in v1.1.1
func (r GetEvaluateActivityListData) IsError() bool
type GetEvaluateActivityListRequest ¶
type GetEvaluateActivityListRequest struct { api.BaseRequest AppName string `json:"appName"` // 服务商名称 Channel uint8 `json:"channel"` // 请求渠道 (PC为1, APP为2, 任务中心为3,发现频道为4, 上海运营模板为5 , 微信为 6, QQ为 7, ISV为8) Status string `json:"status"` // 活动状态0,1待开始 ,2进行中,3已结束,4, 6, -4代表已关闭 查询全部 不用传递 StartTime string `json:"startTime"` // 活动开始时间 EndTime string `json:"endTime"` // 活动结束时间 PageNumber uint `json:"pageNumber"` // 第几页 PageSize uint `json:"pageSize"` // 每一页的大小 }
type GetEvaluateActivityListResponse ¶
type GetEvaluateActivityListResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateActivityListData `` /* 254-byte string literal not displayed */ }
func (GetEvaluateActivityListResponse) Error ¶ added in v1.1.1
func (r GetEvaluateActivityListResponse) Error() string
func (GetEvaluateActivityListResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateActivityListResponse) IsError() bool
type GetEvaluateActivityListResult ¶
type GetEvaluateActivityListResult struct { Id uint64 `json:"id"` VenderId uint64 `json:"vender_id"` EndTime uint64 `json:"end_time"` StartTime uint64 `json:"start_time"` Type string `json:"type"` Platform int `json:"platform"` Name string `json:"name"` Status uint8 `json:"status"` }
func GetEvaluateActivityList ¶
func GetEvaluateActivityList(ctx context.Context, req *GetEvaluateActivityListRequest) ([]GetEvaluateActivityListResult, error)
type GetEvaluateAnalysisListByParamsData ¶
type GetEvaluateAnalysisListByParamsData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result []EvaluateAnalysis `json:"result,omitempty" codec:"result,omitempty"` }
func (GetEvaluateAnalysisListByParamsData) Error ¶ added in v1.1.1
func (r GetEvaluateAnalysisListByParamsData) Error() string
func (GetEvaluateAnalysisListByParamsData) IsError ¶ added in v1.1.1
func (r GetEvaluateAnalysisListByParamsData) IsError() bool
type GetEvaluateAnalysisListByParamsRequest ¶
type GetEvaluateAnalysisListByParamsRequest struct { api.BaseRequest AppName string `json:"appName" codec:"appName"` Channel uint8 `json:"channel" codec:"channel"` ActivityId uint64 `json:"activityId" codec:"activityId"` PageNumber uint `json:"pageNumber" codec:"pageNumber"` PageSize uint `json:"pageSize" codec:"pageSize"` SkuId uint64 `json:"skuId,omitempty" codec:"skuId,omitempty"` }
type GetEvaluateAnalysisListByParamsResponse ¶
type GetEvaluateAnalysisListByParamsResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateAnalysisListByParamsData `` /* 254-byte string literal not displayed */ }
func (GetEvaluateAnalysisListByParamsResponse) Error ¶ added in v1.1.1
func (r GetEvaluateAnalysisListByParamsResponse) Error() string
func (GetEvaluateAnalysisListByParamsResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateAnalysisListByParamsResponse) IsError() bool
type GetEvaluateAnalysisListData ¶
type GetEvaluateAnalysisListData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result []EvaluateAnalysis `json:"result,omitempty" codec:"result,omitempty"` }
func (GetEvaluateAnalysisListData) Error ¶ added in v1.1.1
func (r GetEvaluateAnalysisListData) Error() string
func (GetEvaluateAnalysisListData) IsError ¶ added in v1.1.1
func (r GetEvaluateAnalysisListData) IsError() bool
type GetEvaluateAnalysisListRequest ¶
type GetEvaluateAnalysisListRequest struct { api.BaseRequest AppName string `json:"appName" codec:"appName"` Channel uint8 `json:"channel" codec:"channel"` ActivityId uint64 `json:"activityId" codec:"activityId"` }
type GetEvaluateAnalysisListResponse ¶
type GetEvaluateAnalysisListResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateAnalysisListData `` /* 238-byte string literal not displayed */ }
func (GetEvaluateAnalysisListResponse) Error ¶ added in v1.1.1
func (r GetEvaluateAnalysisListResponse) Error() string
func (GetEvaluateAnalysisListResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateAnalysisListResponse) IsError() bool
type GetEvaluateJoinedSkuListData ¶
type GetEvaluateJoinedSkuListData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result []JoinedSku `json:"result,omitempty" codec:"result,omitempty"` }
func (GetEvaluateJoinedSkuListData) Error ¶ added in v1.1.1
func (r GetEvaluateJoinedSkuListData) Error() string
func (GetEvaluateJoinedSkuListData) IsError ¶ added in v1.1.1
func (r GetEvaluateJoinedSkuListData) IsError() bool
type GetEvaluateJoinedSkuListRequest ¶
type GetEvaluateJoinedSkuListRequest struct { api.BaseRequest AppName string `json:"appName"` // 服务商名称 Channel uint8 `json:"channel"` // 请求渠道 (PC为1, APP为2, 任务中心为3,发现频道为4, 上海运营模板为5 , 微信为 6, QQ为 7, ISV为8) StartTime string `json:"startTime"` // 活动开始时间 ActivityId uint64 `json:"activityId"` // 活动id EndTime string `json:"endTime"` // 活动结束时间 PageNumber uint `json:"pageNumber"` // 第几页 PageSize uint `json:"pageSize"` // 每一页的大小 }
type GetEvaluateJoinedSkuListResponse ¶
type GetEvaluateJoinedSkuListResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateJoinedSkuListData `` /* 246-byte string literal not displayed */ }
func (GetEvaluateJoinedSkuListResponse) Error ¶ added in v1.1.1
func (r GetEvaluateJoinedSkuListResponse) Error() string
func (GetEvaluateJoinedSkuListResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateJoinedSkuListResponse) IsError() bool
type GetEvaluateRuleListByIdData ¶
type GetEvaluateRuleListByIdData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result []EvaluateRule `json:"result,omitempty" codec:"result,omitempty"` }
func (GetEvaluateRuleListByIdData) Error ¶ added in v1.1.1
func (r GetEvaluateRuleListByIdData) Error() string
func (GetEvaluateRuleListByIdData) IsError ¶ added in v1.1.1
func (r GetEvaluateRuleListByIdData) IsError() bool
type GetEvaluateRuleListByIdRequest ¶
type GetEvaluateRuleListByIdRequest struct { api.BaseRequest AppName string `json:"appName" codec:"appName"` Channel uint8 `json:"channel" codec:"channel"` ActivityId uint64 `json:"activityId" codec:"activityId"` }
type GetEvaluateRuleListByIdResponse ¶
type GetEvaluateRuleListByIdResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateRuleListByIdData `` /* 246-byte string literal not displayed */ }
func (GetEvaluateRuleListByIdResponse) Error ¶ added in v1.1.1
func (r GetEvaluateRuleListByIdResponse) Error() string
func (GetEvaluateRuleListByIdResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateRuleListByIdResponse) IsError() bool
type GetEvaluateSkuListData ¶
type GetEvaluateSkuListData struct { Code string `json:"code,omitempty" codec:"code,omitempty"` ErrorDesc string `json:"error_description,omitempty" codec:"error_description,omitempty"` Result []EvaluateSku `json:"result,omitempty" codec:"result,omitempty"` }
func (GetEvaluateSkuListData) Error ¶ added in v1.1.1
func (r GetEvaluateSkuListData) Error() string
func (GetEvaluateSkuListData) IsError ¶ added in v1.1.1
func (r GetEvaluateSkuListData) IsError() bool
type GetEvaluateSkuListRequest ¶
type GetEvaluateSkuListRequest struct { api.BaseRequest AppName string `json:"appName"` // 服务商名称 Channel uint8 `json:"channel"` // 请求渠道 (PC为1, APP为2, 任务中心为3,发现频道为4, 上海运营模板为5 , 微信为 6, QQ为 7, ISV为8) StartTime string `json:"startTime"` // 活动开始时间 ActivityId uint64 `json:"activityId"` // 活动id EndTime string `json:"endTime"` // 活动结束时间 PageNumber uint `json:"pageNumber"` // 第几页 PageSize uint `json:"pageSize"` // 每一页的大小 }
type GetEvaluateSkuListResponse ¶
type GetEvaluateSkuListResponse struct { ErrorResp *api.ErrorResponnse `json:"error_response,omitempty" codec:"error_response,omitempty"` Data *GetEvaluateSkuListData `` /* 234-byte string literal not displayed */ }
func (GetEvaluateSkuListResponse) Error ¶ added in v1.1.1
func (r GetEvaluateSkuListResponse) Error() string
func (GetEvaluateSkuListResponse) IsError ¶ added in v1.1.1
func (r GetEvaluateSkuListResponse) IsError() bool
type JoinedSku ¶
type JoinedSku struct { VenderId uint64 `json:"vender_id"` SkuName string `json:"sku_name"` ActivityId uint64 `json:"activity_id"` SkuId uint64 `json:"sku_id"` WareId uint64 `json:"ware_id"` BusinessId uint64 `json:"business_id"` Price float64 `json:"price"` Cate1stCode uint64 `json:"cate_1st_code"` Cate1stName string `json:"cate_1st_name"` Cate2ndCode uint64 `json:"cate_2nd_code"` Cate2ndName string `json:"cate_2nd_name"` Cate3rdCode uint64 `json:"cate_3rd_code"` Cate3rdName string `json:"cate_3rd_name"` Logo string `json:"logo"` StockNum int `json:"stock_num"` }
func GetEvaluateJoinedSkuList ¶
func GetEvaluateJoinedSkuList(ctx context.Context, req *GetEvaluateJoinedSkuListRequest) ([]JoinedSku, error)
Source Files ¶
- cancelEvaluateActivity.go
- countEvaluateActivity.go
- createEvaluateActivity.go
- createEvaluateActivityWithResult.go
- getEvaluateActivityById.go
- getEvaluateActivityList.go
- getEvaluateAnalysisList.go
- getEvaluateAnalysisListByParams.go
- getEvaluateJoinedSkuList.go
- getEvaluateRuleListById.go
- getEvaluateSkuList.go
Click to show internal directories.
Click to hide internal directories.