api
This commit is contained in:
@@ -86,7 +86,7 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
getList() {
|
||||
this.instance.post(`/appmerchantinfo/discountList`,null, {
|
||||
this.instance.post(`api/appmerchantinfo/discountList`,null, {
|
||||
params: {
|
||||
...this.page,
|
||||
...this.search
|
||||
@@ -101,7 +101,7 @@ export default {
|
||||
// 删除
|
||||
delBtn(id) {
|
||||
this.$confirm('确定删除该记录?').then(() => {
|
||||
this.instance.post(`/appmerchantinfo/deleteDiscount?ids=${id}`).then(res=>{
|
||||
this.instance.post(`api/appmerchantinfo/deleteDiscount?ids=${id}`).then(res=>{
|
||||
if(res.code == 0) {
|
||||
this.$message.success('删除成功!')
|
||||
this.getList()
|
||||
@@ -118,7 +118,7 @@ export default {
|
||||
title = '确定要审核拒绝该活动吗?'
|
||||
}
|
||||
this.$confirm(title).then(() => {
|
||||
this.instance.post(`/appmerchantinfo/examineDiscount?id=${id}&pass=${pass}`).then(res=>{
|
||||
this.instance.post(`api/appmerchantinfo/examineDiscount?id=${id}&pass=${pass}`).then(res=>{
|
||||
if(res.code == 0) {
|
||||
this.$message.success('审核成功!')
|
||||
this.getList()
|
||||
|
||||
Reference in New Issue
Block a user