工作179:接口对接
生活随笔
收集整理的這篇文章主要介紹了
工作179:接口对接
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
/*創(chuàng)建我的視頻接口 第一個(gè)參數(shù)自己手動(dòng)錄入 第二個(gè)參數(shù)取值任務(wù)詳情的接口接口*/// postActionXing("/internal/users/current/video-projects",{// brand_id:this.account.brand_id,name:this.project_name// }).then(// res=>{// this.project_id=res.data// console.log(this.project_id)// /*傳入四個(gè)個(gè)參數(shù) 傳入title icon_path transcode paths 設(shè)置傳入的參數(shù) */// postActionXing("/internal/users/current/video-projects/"+this.project_id+"/videos",{// title: this.content.title,// icon_path:this.content.resource,// transcode: true,// paths: [this.content.thumbnail]// })// }// )/*創(chuàng)建我的圖文接口 進(jìn)行數(shù)據(jù)的傳輸*/// postActionXing("/internal/users/current/word-projects",{// brand_id:this.account.brand_id,name:this.project_name,body:this.content.resource// }).then(// res=>{// this.project_id=res.data// console.log(this.project_id)// }// )/*獲取圖文詳情*/// getActionXing("/internal/users/current/brands/word-projects/"+this.project_id).then(res=>{// console.log(res)// })/*圖文詳情 圖文修改 圖文分發(fā)接口*/// getActionXing("/internal/users/current/word-projects").then(res=>{// console.log(res)// this.dialogVisible=false// })
?
總結(jié)
以上是生活随笔為你收集整理的工作179:接口对接的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: delphi 10.4来了
- 下一篇: 8021x 获取IP信息失败,请检查锐捷