Commit 07f401d5 authored by 劳琪峰's avatar 劳琪峰

chore: 奖品图

parent 99dd2099
...@@ -9,7 +9,7 @@ const pages = [ ...@@ -9,7 +9,7 @@ const pages = [
{value: '/mini/#/page/home/index?page_source=3', alias: '路演活动'}, {value: '/mini/#/page/home/index?page_source=3', alias: '路演活动'},
] ]
const mpPage = 'pages/activity/index' const mpPage = '/pages/activity/index'
function joinUrlAndQs(url, qs) { function joinUrlAndQs(url, qs) {
return qs return qs
...@@ -19,7 +19,7 @@ function joinUrlAndQs(url, qs) { ...@@ -19,7 +19,7 @@ function joinUrlAndQs(url, qs) {
for (const page of pages) { for (const page of pages) {
for (const host of hosts) { for (const host of hosts) {
const url = joinUrlAndQs(mpPage, `url=${encodeURIComponent(host.value + page.value)}`) const url = joinUrlAndQs(mpPage, `needLogin=1&url=${encodeURIComponent(host.value + page.value)}`)
console.log(`${page.alias}-${host.alias}: ${url}`) console.log(`${page.alias}-${host.alias}: ${url}`)
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment