添加了请求接口 #373
| @ -374,6 +374,11 @@ export default { | |||||||
| 			recordAppOpenTimes({appversion,device_type}){ | 			recordAppOpenTimes({appversion,device_type}){ | ||||||
| 				// appversion=1.0.0&device_type=android/ios
 | 				// appversion=1.0.0&device_type=android/ios
 | ||||||
| 				return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type}) | 				return vm.$u.post("Member/recordAppOpenTimes",{appversion,device_type}) | ||||||
|  | 			}, | ||||||
|  | 			//统计直播间浏览次数
 | ||||||
|  | 			// https://mall.dmygkeji.com/api/Live/countLiveBrowse?live_id=1
 | ||||||
|  | 			countLiveBrowse({live_id}){ | ||||||
|  | 				return vm.$u.post("Live/countLiveBrowse",{live_id}) | ||||||
| 			} | 			} | ||||||
|       } |       } | ||||||
|     } |     } | ||||||
|  | |||||||
| @ -73,6 +73,9 @@ export default { | |||||||
|     }, |     }, | ||||||
|     methods:{ |     methods:{ | ||||||
|         zhibo(){ |         zhibo(){ | ||||||
|  |             this.$u.api.countLiveBrowse({live_id:this.zid}).then((res)=>{ | ||||||
|  |                 console.log(JSON.stringify(res),77) | ||||||
|  |             }) | ||||||
|             this.$u.route({ |             this.$u.route({ | ||||||
|                 url:"/pages/zhibo/index", |                 url:"/pages/zhibo/index", | ||||||
|                params:{ |                params:{ | ||||||
| @ -81,6 +84,7 @@ export default { | |||||||
|                    rid:this.rid |                    rid:this.rid | ||||||
|                }  |                }  | ||||||
|             }) |             }) | ||||||
|  |              | ||||||
|         }, |         }, | ||||||
|         articleAddShield() { |         articleAddShield() { | ||||||
|             console.log(this.item) |             console.log(this.item) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user