| | |
| | | |
| | | <script> |
| | | import '@/components/uview-components/uview-ui'; |
| | | import MyTag from '@/components/my-tag.vue' |
| | | import MyTag from '@/pages/video/my-tag.vue' |
| | | |
| | | import { getSTSToken, getFilePreviewUrl } from "@/api/common.js"; |
| | | import { updateVideo, getVideoDetail } from "@/api/video.js"; |
| | |
| | | this.loading = true; |
| | | this.formData.fileInfo = this.videoInfo; |
| | | this.formData["goodsList"] = this.selectedGoodsList.map(item => {return {goodsId: item.goodsId, goodsSkuId: item.id, goodsNum: item.goodsNum}}); |
| | | updateVideo(this.formData).then(res => { |
| | | if (this.formData.videoContentType === 'img') { |
| | | this.formData.videoImgs = JSON.parse(this.formData.videoImgs) |
| | | } |
| | | updateVideo(this.formData).then(res => { |
| | | uni.showToast({ |
| | | title: '视频已提交审核~', |
| | | icon: 'success' |