Documentation ¶
Index ¶
- func CancelEvaluateActivity(req *CancelEvaluateActivityRequest) (bool, error)
- func CountEvaluateActivity(req *CountEvaluateActivityRequest) (uint, error)
- func CreateEvaluateActivity(req *CreateEvaluateActivityRequest) (uint64, error)
- func CreateEvaluateActivityWithResult(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(req *CancelEvaluateActivityRequest) (bool, error)
func CountEvaluateActivity ¶
func CountEvaluateActivity(req *CountEvaluateActivityRequest) (uint, error)
func CreateEvaluateActivity ¶
func CreateEvaluateActivity(req *CreateEvaluateActivityRequest) (uint64, error)
func CreateEvaluateActivityWithResult ¶
func CreateEvaluateActivityWithResult(req *CreateEvaluateActivityWithResultRequest) (uint64, error)
Types ¶
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 */ }
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 */ }
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 */ }
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 */ }
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(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(req *GetEvaluateAnalysisListRequest) ([]*EvaluateAnalysis, error)
func GetEvaluateAnalysisListByParams ¶
func GetEvaluateAnalysisListByParams(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(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(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"` }
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 */ }
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"` }
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 */ }
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(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"` }
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 */ }
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"` }
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 */ }
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 */ }
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"` }
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 */ }
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"` }
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 */ }
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(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.