|
|
@@ -2130,7 +2130,7 @@ var doc = `{
|
|
|
"200": {
|
|
|
"description": "OK",
|
|
|
"schema": {
|
|
|
- "$ref": "#/definitions/models.Couponhold"
|
|
|
+ "$ref": "#/definitions/models.MyCouponHold"
|
|
|
}
|
|
|
},
|
|
|
"500": {
|
|
|
@@ -6469,82 +6469,6 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- "models.Couponhold": {
|
|
|
- "type": "object",
|
|
|
- "required": [
|
|
|
- "couponholdid"
|
|
|
- ],
|
|
|
- "properties": {
|
|
|
- "accountid": {
|
|
|
- "description": "资金账户ID",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "conditionvalue": {
|
|
|
- "description": "条件阈值(可为0)",
|
|
|
- "type": "number"
|
|
|
- },
|
|
|
- "couponcategroy": {
|
|
|
- "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "couponholdid": {
|
|
|
- "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "coupontypeid": {
|
|
|
- "description": "优惠券类型ID - SEQ_COUPONTYPE",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "couponvalue": {
|
|
|
- "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
|
|
|
- "type": "number"
|
|
|
- },
|
|
|
- "createtime": {
|
|
|
- "description": "创建时间",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "enddate": {
|
|
|
- "description": "结束日期",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "giveapplyid": {
|
|
|
- "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "holdstatus": {
|
|
|
- "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "isgeneral": {
|
|
|
- "description": "是否通用券 - 0:否 1:是",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "limitedflag": {
|
|
|
- "description": "是否指定商品 - 0:不限 1:限制",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "limitedgoodsids": {
|
|
|
- "description": "指定商品IDs[逗号分隔]",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "qty": {
|
|
|
- "description": "数量(按1平铺)",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "startdate": {
|
|
|
- "description": "开始日期",
|
|
|
- "type": "string"
|
|
|
- },
|
|
|
- "userid": {
|
|
|
- "description": "用户ID",
|
|
|
- "type": "integer"
|
|
|
- },
|
|
|
- "userscope": {
|
|
|
- "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
|
|
|
- "type": "string"
|
|
|
- }
|
|
|
- }
|
|
|
- },
|
|
|
"models.Division": {
|
|
|
"type": "object",
|
|
|
"required": [
|
|
|
@@ -8210,6 +8134,86 @@ var doc = `{
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ "models.MyCouponHold": {
|
|
|
+ "type": "object",
|
|
|
+ "required": [
|
|
|
+ "couponholdid"
|
|
|
+ ],
|
|
|
+ "properties": {
|
|
|
+ "accountid": {
|
|
|
+ "description": "资金账户ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "conditionvalue": {
|
|
|
+ "description": "条件阈值(可为0)",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "couponcategroy": {
|
|
|
+ "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "couponholdid": {
|
|
|
+ "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "couponname": {
|
|
|
+ "description": "优惠券名称",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "coupontypeid": {
|
|
|
+ "description": "优惠券类型ID - SEQ_COUPONTYPE",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "couponvalue": {
|
|
|
+ "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
|
|
|
+ "type": "number"
|
|
|
+ },
|
|
|
+ "createtime": {
|
|
|
+ "description": "创建时间",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "enddate": {
|
|
|
+ "description": "结束日期",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "giveapplyid": {
|
|
|
+ "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "holdstatus": {
|
|
|
+ "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "isgeneral": {
|
|
|
+ "description": "是否通用券 - 0:否 1:是",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "limitedflag": {
|
|
|
+ "description": "是否指定商品 - 0:不限 1:限制",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "limitedgoodsids": {
|
|
|
+ "description": "指定商品IDs[逗号分隔]",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "qty": {
|
|
|
+ "description": "数量(按1平铺)",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "startdate": {
|
|
|
+ "description": "开始日期",
|
|
|
+ "type": "string"
|
|
|
+ },
|
|
|
+ "userid": {
|
|
|
+ "description": "用户ID",
|
|
|
+ "type": "integer"
|
|
|
+ },
|
|
|
+ "userscope": {
|
|
|
+ "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
|
|
|
+ "type": "string"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ },
|
|
|
"models.OperationPrimaryMenu": {
|
|
|
"type": "object",
|
|
|
"properties": {
|