Browse Source

添加直播预约

unknown 4 years ago
parent
commit
78c3c2ad38
2 changed files with 10 additions and 0 deletions
  1. 3 0
      config/api.js
  2. 7 0
      pagesMedia/liveDetail.vue

+ 3 - 0
config/api.js

@@ -73,6 +73,9 @@ module.exports = {
 	creatPickVideo: WX_API_BASE + 'app/liveAndVideo/merchant/addPickLive',
 	//  自助采摘直播获取个人信息
 	getMainInfo: WX_API_BASE + 'app/member/selectUserById/',
+	//  小程序-商户端-发起直播推送给订阅用户推送消息
+	startLivePushMessage: WX_API_BASE + '/app/liveAndVideo/startLivePushMessage/',
+	
 
 	//  获取订单列表
 	getOrderList: WX_API_BASE + 'app/order/merchant/my/orderList/',

+ 7 - 0
pagesMedia/liveDetail.vue

@@ -100,6 +100,13 @@
 					type: 'warning',
 				})
 			})
+			NET.request(API.startLivePushMessage + options.liveId, {}, 'GET').then(res => {
+				
+			//this.goodsList = res.data
+			}).catch(res => {
+				
+			})
+			
 		},
 		onReady() {
 			var that=this;