优惠券
This commit is contained in:
parent
4f4c95d3d4
commit
01ada8da2b
|
|
@ -184,7 +184,7 @@
|
|||
this.confirmVisible = false
|
||||
try {
|
||||
const api = this.pendingType === 'scan' ? scanVerify : codeVerify
|
||||
await api({ code: this.pendingCode })
|
||||
await api({ couponCode: this.pendingCode })
|
||||
this.showResult(true, '优惠券核销成功')
|
||||
} catch (err) {
|
||||
const msg = (err && err.message) || '核销失败,请重试'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@
|
|||
*/
|
||||
|
||||
// 后台 API 基础地址,按环境配置
|
||||
const BASE_URL = 'http://localhost:5030'
|
||||
// const BASE_URL = 'http://localhost:5030'
|
||||
const BASE_URL = 'https://api.pli.shhmkjgs.cn'
|
||||
|
||||
// 请求超时时间(毫秒)
|
||||
const TIMEOUT = 10000
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user