Initial commit

Created from https://vercel.com/new
This commit is contained in:
IamFurina
2025-02-22 11:16:58 +00:00
commit 8f9d38529c
435 changed files with 59341 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
// 首页轮播图
const createOption = require('../util/option.js')
module.exports = (query, request) => {
const type =
{
0: 'pc',
1: 'android',
2: 'iphone',
3: 'ipad',
}[query.type || 0] || 'pc'
return request(
`/api/v2/banner/get`,
{ clientType: type },
createOption(query),
)
}