im模块增加

This commit is contained in:
唐明明
2023-03-24 10:06:59 +08:00
parent d43fbd22fd
commit 7508bb7ce2
10 changed files with 182 additions and 31 deletions

View File

@@ -10,8 +10,8 @@ import router from '../router'
// 基础配置
const config = {
apiUrl : 'https://douhuo.douhuofalv.com/api/',
// apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
// apiUrl : 'https://douhuo.douhuofalv.com/api/',
apiUrl : 'https://api.douhuotest.douhuofalv.com/api/', //测试环境
timeout : 60000
}

20
apis/interfaces/yxim.js Normal file
View File

@@ -0,0 +1,20 @@
/**
* Web唐明明
* 匆匆数载恍如梦,岁月迢迢华发增。
* 碌碌无为枉半生,一朝惊醒万事空。
* moduleName: 网易云信IM
*/
import { request } from '../index'
// 获取im登录
const imToken = data => {
return request({
url : 'im/token'
})
}
export {
imToken
}