neteaseserver
v6.0.0
Published
node api manager
Downloads
5
Readme
netease
1. 介绍
接口请求代理
2. 使用方式
2.1. 初始化
import { Inig, Environment } from 'netease'
Inig({
env: Environment.local,
baseData: {},
})
Environment
2.2. 方法调用
import { getRecommendFm } from 'netease'
export default {
mounted () {
this.getRecommendFm({
pk: '99406937'
})
},
methods: {
/**
* 根据pk获取推荐广播
*/
async getRecommendFm (params) {
const responseFm = await getRecommendFm(params)
}
}
}