diff --git a/.env b/.env
index ac9e939..0f1e628 100644
--- a/.env
+++ b/.env
@@ -1,5 +1,5 @@
VITE_BASE=/fe-student-h5
-VITE_BASE_API=
+VITE_BASE_API=/
VITE_OUTPUT_DIR=./dist
VITE_BASE_LOGIN_URL=//u-pre.boe.com/web?returnUrl=
VITE_PROXY_URL=http://43.143.139.204/manageApi
@@ -16,4 +16,6 @@ VITE_BOE_API_URL=https://u-pre.boe.com
VITE_TASK_WHITE_TYPE=-8-,-12-,-13-
# boe域名
-VUE_APP_BOE_API_URL=//u-pre.boe.com
\ No newline at end of file
+VUE_APP_BOE_API_URL=//u-pre.boe.com
+#评论上传图片
+VITE_IMG=/manageApi
\ No newline at end of file
diff --git a/.env.boe b/.env.boe
index 1dedcd7..aa80821 100644
--- a/.env.boe
+++ b/.env.boe
@@ -8,4 +8,6 @@ VITE_BOE_TEST_OUT_DETAIL_URL=//u-pre.boe.com/api/b1/tale/do-quiz?quizKid=
VITE_BOE_EXAM_DETAIL_URL=//u-pre.boe.com/mobile/pages/exam/exam?id=
VITE_BOE_API_URL=https://u-pre.boe.com
-VUE_APP_BOE_API_URL=//u-pre.boe.com
\ No newline at end of file
+VUE_APP_BOE_API_URL=//u-pre.boe.com
+
+VITE_IMG=/manageApi
\ No newline at end of file
diff --git a/.env.prod b/.env.prod
index 16eede7..4320f82 100644
--- a/.env.prod
+++ b/.env.prod
@@ -13,4 +13,6 @@ VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc/forward?to=/student-h5
VITE_BOE_API_URL=https://u.boe.com
VITE_TASK_WHITE_TYPE=-8-,-12-,-13-
-VUE_APP_BOE_API_URL=//u.boe.com
\ No newline at end of file
+VUE_APP_BOE_API_URL=//u.boe.com
+
+VITE_IMG=/manageApi
\ No newline at end of file
diff --git a/.env.release b/.env.release
index 7b73af2..a74ee91 100644
--- a/.env.release
+++ b/.env.release
@@ -10,4 +10,6 @@ VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc-release/mobile/pages/exam/exam?id=
VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc-release/forward?to=/student-h5-release
VITE_BOE_API_URL=https://u.boe.com
-VUE_APP_BOE_API_URL=//u.boe.com
\ No newline at end of file
+VUE_APP_BOE_API_URL=//u.boe.com
+
+VITE_IMG=/manageApi-release
\ No newline at end of file
diff --git a/src/api/api.js b/src/api/api.js
index 44a7d2a..932052b 100644
--- a/src/api/api.js
+++ b/src/api/api.js
@@ -2,7 +2,7 @@
* @Author: lixg lixg@dongwu-inc.com
* @Date: 2023-01-13 11:42:48
* @LastEditors: lixg lixg@dongwu-inc.com
- * @LastEditTime: 2023-02-20 17:57:40
+ * @LastEditTime: 2023-02-22 14:17:37
* @FilePath: /stu_h5/src/api/api.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
@@ -66,6 +66,7 @@ export const PostDetails = `/statement/info`
export const COMMENT_LIST = '/comment/list'
export const COMMENT_PRAISE = '/comment/praise'
+export const COMMENT_ADD = '/comment/add post'
// 外部考试详情接口
export const EXTERNALEXAM = `/external/exam/queryExternalExam`
@@ -79,4 +80,5 @@ export const FACETEACH_SIGNUP = `/stu/project/stuFaceTeachSignUp`
export const SubmitExternalExam = `/stu/externalExam/submitExternalExam post`
export const UPDATE_CURRENT_TASK = `/admin/student/updateCurrentTask post`
// 测评任务去学习
-export const EvaluationToLearn = '/evaluation/evaluationToLearn post'
\ No newline at end of file
+export const EvaluationToLearn = '/evaluation/evaluationToLearn post'
+export const FILE_UPLOAD_IMG = import.meta.env.VITE_IMG + '/file/img'
\ No newline at end of file
diff --git a/src/components/img/UploadPostImg.vue b/src/components/img/UploadPostImg.vue
new file mode 100644
index 0000000..91ecc53
--- /dev/null
+++ b/src/components/img/UploadPostImg.vue
@@ -0,0 +1,101 @@
+
+
+
+
-
+
+
+