|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- import { host, iMServiceHost } from './utils/domain.js'
-
- var config = {
- service: {
- host,
-
- iMServiceHost,
- getStage:`${host}/customer/getStage`,
- //验证toen
- verify:`${host}/user/verify`,
- //登录
- login: `${host}/user/login`,
- //获取用户信息
- getUser: `${host}/user/getUser`,
- //获取权限
- getMenu:`${host}/user/getMenu`,
- //发送验证码
- sendCode:`${host}/user/sendCode`,
- //验证码校验
- plogin:`${host}/user/plogin`,
- //忘记密码
- forgotPassword:`${host}/user/forgotPassword`,
- //修改密码
- updatePassword: `${host}/user/resetPwd`,
- //修改用户信息
- upload: `${host}/user/update`,
- // 上传头像
- uploadHeadImg:`${host}/user/uploadHeadPortrait`,
- //分点学习标签
- findSelectedLabel:`${host}/addtodigest/findSelectedLabel`,
- //获取全部学习
- findAllZATD:`${host}/addtodigest/findAllZATD`,
- //查询点赞列表
- likegetLike:`${host}/like/getLike`,
- // 获取评论
- cmmentList:`${host}/comment/list`,
- // 新增评论
- saveCmment:`${host}/comment/saveCmment`,
- // 新增文件评论
- saveCmmentUpload:`${host}/comment/upload`,
- // 点赞
- saveLike:`${host}/like/saveLike`,
- // 取消点赞
- cancelLike:`${host}/like/cancelLike`,
- //同音转译接口3
- getCorpusAnal: `${host}/corpus/splicAudioPlay`,
- //转写内容获取快进时间是第几个文件
- fastForward:`${host}/corpus/fastForward`,
- //标记顾问
- markConsultant:`${host}/corpus/markConsultant`,
- //同音转译接口
- getSpeechAnalysis: `${host}/cms/mobile/getBytargetId`,
- //同音转译接口2
- getCorpusAnalysis: `${host}/corpus/audioPlay`,
- //查询设备电量
- findElectricity:`${host}/equipment/findElectricity`,
- //首页设备查询
- findEquipmentState:`${host}/cusLvStatistics/findEquipmentState`,
- //首页实时统计
- realTimeStatistics:`${host}/cusLvStatistics/realTimeStatistics`,
- //首页本周工作
- workThisWeek:`${host}/cusLvStatistics/workThisWeek`,
- //查询是否开启选择顾问权限
- getSelfAssignedByHouseId:`${host}/user/getSelfAssignedByHouseId`,
- //确认加精
- addATD:`${host}/addtodigest/addATD`,
- //取消加精
- delATD:`${host}/addtodigest/delATD`,
- // 获取客户来源列表
- sourceList: `${host}/customer/sourceList`,
- // 升级公告
- updateList: `${host}/zkMessage/messageList`,
- // 升级公告更新阅读
- updateRead: `${host}/zkMessage/updateFlag`,
- // 隐私协议
- privacyAgr: `${host}/zkPrivate/findById`,
- //首页更新弹框
- updatePopup: `${host}/zkMessage/showMessage`,
- //首页首次更新弹框
- firstShowPopup: `${host}/zkMessage/firstShow`,
- //消息未读数
- notReadNum: `${host}/zkMessage/findFlagCount`,
- //设备日志
- eqLog: `${host}/equipment/equipmentLog`,
- }
- };
- module.exports = config;
|