更改部分接口传参方式

This commit is contained in:
gyq
2025-07-16 09:38:30 +08:00
parent d1621e78f1
commit 4306ba1900
8 changed files with 698 additions and 690 deletions

View File

@@ -5,6 +5,9 @@ export async function init() {
//热搜词
http.request({
url: 'common/type/249',
data: {
type: 249
}
}).then(res => {
if (res.code == 0) {
uni.setStorageSync('moreSearch', res.data.value)
@@ -18,6 +21,9 @@ export async function init() {
export const commonType = (num) => {
return http.request({
url: `/common/type/${num}`,
data:{
type: num
}
})
}