// Code generated by goctl. DO NOT EDIT. package types type BaseGoodsClassifyReq struct { AppId string `header:"appId,default=10000"` } type Reply struct { Error_code int64 `json:"error_code"` Error_msg string `json:"error_msg"` Data interface{} `json:"data"` } type GoodsAddReq struct { AppId string `header:"appId,default=10000"` Name string `json:"name"` //商品名称 Code string `json:"code"` //商品代码 Stand_classify_code string `json:"stand_classify_code"` //标准分类代码 Business_classify_code string `json:"business_classify_code"` //商户分类代码 Business_id string `json:"business_id"` //商家id Pc_landpage string `json:"pc_landpage"` //pc端落地页 Wx_landpage string `json:"wx_landpage"` //wx端落地页 App_landpage string `json:"app_landpage"` //app端落地页 Logo string `json:"logo"` //产品logo Introduce_img_1 string `json:"introduce_img_1"` //产品介绍图1 Introduce_img_2 string `json:"introduce_img_2"` //产品介绍图2 Introduce_img_3 string `json:"introduce_img_3"` //产品介绍图3 Detail string `json:"detail"` //详情 Status string `json:"status"` //0下架 1上架 Create_persion string `json:"create_persion"` //创建人 Update_person string `json:"update_person"` //更新人 Describe string `json:"describe"` //描述 Label string `json:"label"` //标签 Attributes string `json:"attributes"` //商品属性 //1:资源包类型 2:权益类型 Id int64 `json:"id,optional"` } type GoodsIdReq struct { Id int64 `json:"id"` AppId string `header:"appId,default=10000"` } type GoodsUpdReq struct { AppId string `header:"appId,default=10000"` Name string `json:"name,optional"` //商品名称 Stand_classify_code string `json:"stand_classify_code,optional"` //标准分类代码 Business_classify_code string `json:"business_classify_code,optional"` //商户分类代码 Business_id string `json:"business_id,optional"` //商家id Pc_landpage string `json:"pc_landpage,optional"` //pc端落地页 Wx_landpage string `json:"wx_landpage,optional"` //wx端落地页 App_landpage string `json:"app_landpage,optional"` //app端落地页 Logo string `json:"logo,optional"` //产品logo Introduce_img_1 string `json:"introduce_img_1,optional"` //产品介绍图1 Introduce_img_2 string `json:"introduce_img_2,optional"` //产品介绍图2 Introduce_img_3 string `json:"introduce_img_3,optional"` //产品介绍图3 Detail string `json:"detail,optional"` //详情 Status string `json:"status,optional"` //0下架 1上架 Create_persion string `json:"create_persion,optional"` //创建人 Update_person string `json:"update_person,optional"` //更新人 Describe string `json:"describe,optional"` //描述 Label string `json:"label,optional"` //标签 Attributes string `json:"attributes,optional"` //商品属性 //1:资源包类型 2:权益类型 Id int64 `json:"id"` } type FunctionDefineReq struct { AppId string `header:"appId,default=10000"` Goods_code string `json:"goods_code"` Function_code_arr []string `json:"function_code_arr"` Name string `json:"name"` } type GoodsSpec struct { AppId string `json:"appId,default=10000"` Name string `json:"name"` //规格名称 Goods_code string `json:"goods_code"` //商品代码 Origin_price int64 `json:"origin_price"` //原价 Sku_max int64 `json:"sku_max"` //sku最大值 Calculation_formula string `json:"calculation_formula"` //价格的计算公式 Calculation_mode int64 `json:"calculation_mode"` //1:一口价 2:公式计价 3:阶梯计价 Calculation_type int64 `json:"calculation_type"` //1:按量 2:sku(个人默认授权,企业手动需要授权) Tag string `json:"tag"` //自定义值,用于分组 Remark string `json:"remark"` //备注 Actual_price int64 `json:"actual_price"` //实际价格 Goods_spec_child []*GoodsSpec `json:"goods_spec_child,optional"` Id int64 `json:"id,optional"` } type GoodSpecIdReq struct { Spec_id int64 `json:"spec_id"` AppId string `header:"appId,default=10000"` } type GoodsSpecUpdReq struct { AppId string `json:"appId,default=10000"` Name string `json:"name,optional"` //规格名称 Goods_code string `json:"goods_code,optional"` //商品代码 Origin_price int64 `json:"origin_price,optional"` //原价 Sku_max int64 `json:"sku_max,optional"` //sku最大值 Calculation_formula string `json:"calculation_formula,optional"` //价格的计算公式 Calculation_mode int64 `json:"calculation_mode,optional"` //1:一口价 2:公式计价 3:阶梯计价 Calculation_type int64 `json:"calculation_type,optional"` //1:按量 2:sku(个人默认授权,企业手动需要授权) Tag string `json:"tag,optional"` //自定义值,用于分组 Remark string `json:"remark,optional"` //备注 Actual_price int64 `json:"actual_price,,optional"` //实际价格 Id int64 `json:"id"` } type GoodsSpecPowerAddReq struct { Id int64 `json:"id,optional"` Appid string `json:"appId,default=10000"` Goods_function_id int64 `json:"goods_function_id"` //商品功能id Goods_code string `json:"goods_code"` //商品代码 Spec_id int64 `json:"spec_id"` //规格id Function_code string `json:"function_code"` //功能代码 Limit_strategy string `json:"limit_strategy"` //限制频率 Cycle string `json:"cycle"` //周期 Strategy_count int64 `json:"strategy_count"` //频率数量 Max_num int64 `json:"max_num"` //最大数量 不可修改,从原始表带过来 Use_count int64 `json:"use_count"` //数量 Power_type int64 `json:"power_type"` //权益所属类型 1:个人 2:企业 Count_type int64 `json:"count_type"` //数量类型 1:固定值 2:计算公式(生成权益时需要计算,比如:超级订阅送画像) Power_count int64 `json:"power_count"` //授权数量 Judge_repeat_mechanism int64 `json:"judge_repeat_mechanism"` //判重机制 0:无 1:通用判重 2:应用判重 Judge_repeat_scope int64 `json:"judge_repeat_scope"` //判重范围 Judge_repeat_flag string `json:"judge_repeat_flag"` //判重标识 _id、projectid Judge_repeat_strategy int64 `json:"judge_repeat_strategy"` //判重策略 0:无需判重 1:通用判重 2:应用自己判重 }