From 73ec8dc947e85ce586a95f9491defe98755c2602 Mon Sep 17 00:00:00 2001
From: weipengfei <2187978347@qq.com>
Date: Sat, 16 Sep 2023 13:59:52 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86=E5=85=B6=E4=BB=96?=
=?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=8A=E4=BC=A0=E8=A7=86=E9=A2=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
api/file.js | 6 +-
manifest.json | 3 +-
subpkg/otherTask/otherTask.vue | 153 +++++++++++++++++++++++++++++----
3 files changed, 141 insertions(+), 21 deletions(-)
diff --git a/api/file.js b/api/file.js
index ae56ea5..3e3bea5 100644
--- a/api/file.js
+++ b/api/file.js
@@ -19,9 +19,7 @@ function toLogin() {
function upLoad(url, data) {
let Url = HTTP_REQUEST_URL_THREE,
header = {}
- // if (store.state.app.token) header[TOKENNAME] = 'Bearer ' + store.state.app.token;
if (store.state.app.token) header[TOKENNAME] = store.state.app.token;
- // header[TOKENNAME] = 'Bearer sdjflidshjgfkbdasgjmasbgvhauuiavhkesvndkaesbvkjsdbv';
return new Promise((reslove, reject) => {
uni.uploadFile({
url: Url + '/api' + url,
@@ -41,4 +39,6 @@ function upLoad(url, data) {
export const upLoadImage = (data)=>{
return upLoad('/upload/image', data)
-}
\ No newline at end of file
+}
+
+export const VIDEO_URL = HTTP_REQUEST_URL_THREE + '/api/upload/video'
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index bee337d..d83a7f1 100644
--- a/manifest.json
+++ b/manifest.json
@@ -24,7 +24,8 @@
"Payment" : {},
"Barcode" : {},
"Camera" : {},
- "Maps" : {}
+ "Maps" : {},
+ "VideoPlayer" : {}
},
/* 应用发布信息 */
"distribute" : {
diff --git a/subpkg/otherTask/otherTask.vue b/subpkg/otherTask/otherTask.vue
index 153b0c4..fade700 100644
--- a/subpkg/otherTask/otherTask.vue
+++ b/subpkg/otherTask/otherTask.vue
@@ -14,37 +14,65 @@
详情描述
-
- 添加附件
-
+
+ 添加附件
+
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+