|
@@ -100,7 +100,7 @@
|
|
import bus from "../../common/bus.js";
|
|
import bus from "../../common/bus.js";
|
|
import qrCode from "../../common/qrCode.vue";
|
|
import qrCode from "../../common/qrCode.vue";
|
|
import { mapState } from "vuex";
|
|
import { mapState } from "vuex";
|
|
-import { couponList } from "../../api/user.js";
|
|
|
|
|
|
+import { getCouponList } from "../../api/amount.js";
|
|
import { sendOrder } from "../../api/order.js";
|
|
import { sendOrder } from "../../api/order.js";
|
|
export default {
|
|
export default {
|
|
data() {
|
|
data() {
|
|
@@ -536,7 +536,7 @@ export default {
|
|
status: 0,
|
|
status: 0,
|
|
isNew: 1,
|
|
isNew: 1,
|
|
};
|
|
};
|
|
- couponList(params).then((res) => {
|
|
|
|
|
|
+ getCouponList(params).then((res) => {
|
|
if (res.code == 200) {
|
|
if (res.code == 200) {
|
|
console.log(res.data);
|
|
console.log(res.data);
|
|
this.couponList = this.couponList.concat(res.data.data);
|
|
this.couponList = this.couponList.concat(res.data.data);
|