Commit d1819c2a by 李长胜

修改会员中心接口

1 parent da8d679c
......@@ -26,8 +26,8 @@ const getMoreMerchant = params => {
}
//获取上方卡片的相关信息
const getCardContent = params => {
params.method = `scrm.api.equity.card.get.by.merchant.id`
// scrm.api.equity.card.get.by.merchant.id旧版的
params.method = `scrm.api.equity.open.card.price.get.by.merchantid`
return http({
url: 'rop-scrm-equity/router',
......
......@@ -309,7 +309,8 @@ mounted () {
if(!(res && res.length)){
return
}
this.ruleForm.equityId = res[0].id
// this.ruleForm.equityId = res[0].id
this.ruleForm.equityId = res[0].equityClassId
this.ruleForm.cardName = res[0].cardClassName
this.ruleForm.price = res[0].price
this.ruleForm.marketPrice = res[0].marketPrice
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!