Commit d13eec0c authored by 劳琪峰's avatar 劳琪峰

chore: 改图

parent 51ef1251
This diff is collapsed.
......@@ -9,6 +9,10 @@ const pages = [
{value: '/mini/#/page/home/index?page_source=3', alias: '路演活动'},
]
const singleUrls = [
{value: 'https://testmanage.boysup.cn/smart-age/index.html#/', alias: 'smart-age'},
]
const mpPage = '/pages/activity/index'
function joinUrlAndQs(url, qs) {
......@@ -23,3 +27,8 @@ for (const page of pages) {
console.log(`${page.alias}-${host.alias}: ${url}`)
}
}
for (const item of singleUrls) {
const url = joinUrlAndQs(mpPage, `needLogin=1&url=${encodeURIComponent(item.value)}`)
console.log(`${item.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