[更新]新增短视频企业id接口

This commit is contained in:
唐明明
2020-12-30 18:15:18 +08:00
parent 630417ab91
commit 648eac57fd
3 changed files with 137 additions and 135 deletions

View File

@@ -22,7 +22,9 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad() {
wx.$api.video.videos().then(res => {
wx.$api.video.videos({
company_id: wx.getStorageSync("compayId")
}).then(res => {
this.setData({
videoList: res,
videoId: res[0].video_id