接口文件
调取方法 :
1). 在接口文件的 export default {} 方法中注册接口如: export default{getthorderinfo(data) { //注册名为 getthorderinfo 的接口return post('apicloud/MemberOrder/thorderinfo', data)}}2). 在需要使用的页面触发接口如: this.$http.getthorderinfo(此处写入需要上传的数据).then(res => { // 调取名为 getthorderinfo 的接口console.log(res)// res为返回数据})
接口域名替换 :
全局替换掉以下文件中的原始域名 ( wosmart.s1107.com )
1). 前端根目录/api/config.js
2). 前端根目录/api/index.js
3). 前端根目录/pages/businessSon/chat.vue
4). 前端根目录/pages/homeSon/invite.vue
5). 前端根目录/pages/live/BroadcastLive.vue
6). 前端根目录/pages/live/AnchorSub.nvue
7). 前端根目录/pages/live/AudienceSub.nvue
8). 前端根目录/pagesB/personalSon/TradingType.vue
9). 前端根目录/pagesB/personalSon/myTeam.vue
10). 前端根目录/pagesB/seller/live.vue
11). 前端根目录/platforms/mp-weixin/live-pusher.vue
12). 前端根目录/platforms/mp-weixin/live-player.vue
13). 前端根目录//utils/socket.js
14). 前端根目录//main.js
15). 前端根目录/App.vue
(注意要全局搜索替换)
接口域名替换 :
搜索play.s110y.net,替换成你的拉流域名
搜索push.s110y.net,替换成你的推流域名
