Commit ceebb61c by 李伟康

commit 修改众筹活动、门店请求参数

1 parent 6149ff87
...@@ -284,7 +284,7 @@ const liveroomOverview = params => { ...@@ -284,7 +284,7 @@ const liveroomOverview = params => {
const getCrowdfundingParams = params => { const getCrowdfundingParams = params => {
params.method = 'scrm.api.shopmall.crowdfunding.activity.parameter.list' params.method = 'scrm.api.shopmall.crowdfunding.activity.parameter.list'
/**1秒杀 2直播间活动 3众筹 4膨胀金 */ /**1秒杀 2直播间活动 3众筹 4膨胀金 */
params.marketingType = 3 params.marketingType = params.marketingType || 3
return http({ return http({
url: 'rop-scrm-shopmall/router', url: 'rop-scrm-shopmall/router',
method: 'POST', method: 'POST',
......
...@@ -863,7 +863,8 @@ export default { ...@@ -863,7 +863,8 @@ export default {
/**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */ /**参数类型 1:众筹活动名称(返回类型String),2:众筹活动门店 */
if (parameterTypeList.includes(1)) { if (parameterTypeList.includes(1)) {
const activity = await this.$apis.seckillActivity.getCrowdfundingParams({ const activity = await this.$apis.seckillActivity.getCrowdfundingParams({
parameterType: 1 parameterType: 1,
marketingType: '3,6'
}) })
let activityNameList = [] let activityNameList = []
if (activity?.parameters && activity.parameters.length) { if (activity?.parameters && activity.parameters.length) {
...@@ -878,7 +879,8 @@ export default { ...@@ -878,7 +879,8 @@ export default {
} }
if (parameterTypeList.includes(2)) { if (parameterTypeList.includes(2)) {
const merchant = await this.$apis.seckillActivity.getCrowdfundingParams({ const merchant = await this.$apis.seckillActivity.getCrowdfundingParams({
parameterType: 2 parameterType: 2,
marketingType: '3,6'
}) })
let merchantNameList = [] let merchantNameList = []
if (merchant?.parameters && merchant.parameters.length) { if (merchant?.parameters && merchant.parameters.length) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!