更新代码
This commit is contained in:
13
api/init.js
Normal file
13
api/init.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import http from '@/http/http.js'
|
||||
|
||||
export async function init() {
|
||||
|
||||
//热搜词
|
||||
http.request({
|
||||
url: 'common/type/249',
|
||||
}).then(res => {
|
||||
if (res.code == 0) {
|
||||
uni.setStorageSync('moreSearch', res.data.value)
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user