Authored by chenjian

Update coupon.md

@@ -437,9 +437,10 @@ @@ -437,9 +437,10 @@
437 "coupon_name": "111", //券名称 437 "coupon_name": "111", //券名称
438 "coupon_type": "6", //券类型:1,平台券;2,B券...... 438 "coupon_type": "6", //券类型:1,平台券;2,B券......
439 "catalog": 100, //券分组:100,店铺券; 200,活动券; 300,免邮券 439 "catalog": 100, //券分组:100,店铺券; 200,活动券; 300,免邮券
  440 + "catalog_name": "店铺券",
440 "coupon_validity": "2018.03.08-2018.03.31", //有效期 441 "coupon_validity": "2018.03.08-2018.03.31", //有效期
441 "coupon_value": 111, //券面值 442 "coupon_value": 111, //券面值
442 - "coupon_value_str": "¥111", //券面值中文描述 443 + "coupon_value_str": "111", //券面值中文描述
443 "is_overdue_soon": "Y", //是否即将过期 444 "is_overdue_soon": "Y", //是否即将过期
444 "is_overtime": "N", //是否过期 445 "is_overtime": "N", //是否过期
445 "notes": [ //使用说明 446 "notes": [ //使用说明
@@ -453,9 +454,10 @@ @@ -453,9 +454,10 @@
453 "coupon_name": "邀请新人优惠券", 454 "coupon_name": "邀请新人优惠券",
454 "coupon_type": "1", 455 "coupon_type": "1",
455 "catalog": 200, 456 "catalog": 200,
  457 + "catalog_name": "活动券",
456 "coupon_validity": "2018.02.01-2018.12.30", 458 "coupon_validity": "2018.02.01-2018.12.30",
457 "coupon_value": 30, 459 "coupon_value": 30,
458 - "coupon_value_str": "¥30", 460 + "coupon_value_str": "30",
459 "is_overtime": "N", 461 "is_overtime": "N",
460 "notes": [ 462 "notes": [
461 "全场通用", 463 "全场通用",
@@ -469,6 +471,7 @@ @@ -469,6 +471,7 @@
469 "coupon_name": "助力活动优惠券", 471 "coupon_name": "助力活动优惠券",
470 "coupon_type": "5", 472 "coupon_type": "5",
471 "catalog": 300, 473 "catalog": 300,
  474 + "catalog_name": "免邮券",
472 "coupon_validity": "2018.02.07-2018.12.30", 475 "coupon_validity": "2018.02.07-2018.12.30",
473 "coupon_value": 100, 476 "coupon_value": 100,
474 "coupon_value_str": "顺丰", 477 "coupon_value_str": "顺丰",
@@ -480,6 +483,24 @@ @@ -480,6 +483,24 @@
480 "use_rule": "" 483 "use_rule": ""
481 } 484 }
482 ], 485 ],
  486 + "filters": [ //过滤条件,"未使用"优惠券返回, "已使用""已过期"不需要
  487 + {
  488 + "filter_id": 0,
  489 + "filter_name": "全部"
  490 + },
  491 + {
  492 + "filter_id": 1,
  493 + "filter_name": "店铺券"
  494 + },
  495 + {
  496 + "filter_id": 2,
  497 + "filter_name": "活动券"
  498 + },
  499 + {
  500 + "filter_id": 3,
  501 + "filter_name": "运费券"
  502 + }
  503 + ],
483 "total": 10 504 "total": 10
484 }, 505 },
485 "md5": "00bd2b952891997e5b25a7435d0665da", 506 "md5": "00bd2b952891997e5b25a7435d0665da",