[breaking change] Coupon: use camelcase data (#1643)

This commit is contained in:
neverland
2018-08-17 15:20:08 +08:00
committed by GitHub
parent bf7b84fee6
commit abd4819ca1
5 changed files with 25 additions and 21 deletions
+4 -4
View File
@@ -63,12 +63,12 @@ export default {
available: 1,
discount: 0,
denominations: 150,
origin_condition: 0,
originCondition: 0,
reason: '',
value: 150,
name: this.$t('coupon.name'),
start_at: 1489104000,
end_at: 1514592000
startAt: 1489104000,
endAt: 1514592000
};
},
@@ -78,7 +78,7 @@ export default {
id: 2,
discount: 88,
denominations: 0,
origin_condition: 50,
originCondition: 50,
value: 12
};
},