Sfoglia il codice sorgente

feat(env): 更新环境变量配置并优化相关功能

- 修改 .env.development 和 .env.production 文件中的 VITE_PROXY 和 VITE_GLOB_DOMAIN_URL 配置
- 更新后端接口 URL 为 https 方式
- 修复部分 API 路径缺失斜线的问题
- 优化反馈表单,移除不必要的必填字段
- 更新赛事二维码生成逻辑
zhangtao 6 giorni fa
parent
commit
6204ca61c4

+ 4 - 2
.env.development

@@ -11,14 +11,16 @@ VITE_PUBLIC_PATH = /
 # VITE_PROXY = [["/jeecgboot","http://192.168.0.11:8080/jeecg-boot"],["/upload","http://192.168.0.11:8080/upload"]]
 # VITE_PROXY = [["/jeecgboot","http://192.168.1.253:8080/jeecg-boot"],["/upload","http://192.168.1.253:8080/upload"]]
 # VITE_PROXY = [["/jeecgboot","http://192.168.1.166:8080/jeecg-boot"],["/upload","http://192.168.1.166:8080/upload"]]
-VITE_PROXY = [["/jeecgboot","http://47.109.18.141:8080/jeecg-boot"],["/upload","http://47.109.18.141:8080/upload"]]
+# VITE_PROXY = [["/jeecgboot","http://47.109.18.141:8080/jeecg-boot"],["/upload","http://47.109.18.141:8080/upload"]]
+VITE_PROXY = [["/jeecgboot","https://api.qlapp.cn/jeecgboot"],["/upload","https://api.qlapp.cn/jeecgboot/upload"]]
 
 #后台接口全路径地址(必填)
 # VITE_GLOB_DOMAIN_URL=http://192.168.1.34:8080/jeecg-boot #//黄、
 # VITE_GLOB_DOMAIN_URL=http://192.168.0.11:8080/jeecg-boot  #李
 # VITE_GLOB_DOMAIN_URL=http://192.168.1.253:8080/jeecg-boot  #张
 # VITE_GLOB_DOMAIN_URL=http://192.168.1.166:8080/jeecg-boot  #张
-VITE_GLOB_DOMAIN_URL=http://47.109.18.141:8080/jeecg-boot  #fwq
+# VITE_GLOB_DOMAIN_URL=http://47.109.18.141:8080/jeecg-boot  #fwq
+VITE_GLOB_DOMAIN_URL=https://api.qlapp.cn/jeecgboot  #fwq
 
 
 #后台接口父地址(必填)

+ 1 - 1
.env.production

@@ -17,7 +17,7 @@ VITE_GLOB_API_URL=/jeecgboot
 
 #后台接口全路径地址(必填)
 # VITE_GLOB_DOMAIN_URL=https://api.qlapp.cn/jeecg-boot
-VITE_GLOB_DOMAIN_URL=http://47.109.18.141:8080/jeecg-boot
+VITE_GLOB_DOMAIN_URL=https://api.qlapp.cn/jeecgboot
 
 # 接口父路径前缀
 VITE_GLOB_API_URL_PREFIX=

BIN
dist.rar


+ 3 - 1
src/views/businessManagement/competition/index.vue

@@ -126,7 +126,9 @@
     ];
   }
   function handleViewCode(record) {
-    CodeText.value = `/pages/index/eventsDetail/index?id=${record.id}`;
+    console.log(record.id, '');
+
+    CodeText.value = `https://api.qlapp.cn/useprogram/?id=${record.id}`;
     openCode.value = true;
   }
   async function handleDelete(record) {

+ 1 - 1
src/views/businessManagement/courses/courses.api.ts

@@ -8,7 +8,7 @@ enum Api {
   save = '/app/appCourese/add',
   edit = '/app/appCourese/edit',
   deleteOne = '/app/appCourese/delete',
-  detaile = 'app/appCourese/queryById',
+  detaile = '/app/appCourese/queryById',
   address = '/app/appCourese/queryAddressList',
   Coach = '/staff/staff/queryList',
   queryCourseList = '/app/appCoursesPriceRules/queryListByCoursesId',

+ 1 - 1
src/views/businessManagement/gymnasiumBag/gymnasiumBag.api.ts

@@ -5,7 +5,7 @@ enum Api {
   save = '/app/appSitePlace/savePack',
   edit = '/app/appSitePlace/editPack',
   deleteOne = '/app/appSitePlace/deleteUnfixed',
-  detaile = 'app/appCourese/queryById',
+  detaile = '/app/appCourese/queryById',
   queryById = '/app/appSitePlace/queryPack',
   Business = '/app/appSitePlace/queryByOrgCode',
   getProject = '/app/appCategory/queryCategories',

+ 1 - 1
src/views/businessManagement/gymnasiumNoFixed/gymnasiumNoFixed.api.ts

@@ -5,7 +5,7 @@ enum Api {
   save = '/app/appSitePlace/addUnfixed',
   edit = '/app/appSitePlace/updateUnfixed',
   deleteOne = '/app/appSitePlace/deleteUnfixed',
-  detaile = 'app/appCourese/queryById',
+  detaile = '/app/appCourese/queryById',
 }
 export const list = (params) => defHttp.get({ url: Api.list, params });
 

+ 1 - 7
src/views/operationManagement/feedback/feedback.data.ts

@@ -72,7 +72,6 @@ export const formSchema: FormSchema[] = [
   {
     label: '昵称',
     field: 'userName',
-    required: true,
 
     component: 'Input',
     span: 12,
@@ -84,7 +83,6 @@ export const formSchema: FormSchema[] = [
     label: '手机号码',
     field: 'phone',
     component: 'Input',
-    required: true,
 
     span: 12,
     componentProps: {
@@ -93,9 +91,8 @@ export const formSchema: FormSchema[] = [
   },
   {
     label: '问题类型',
-    field: 'feedbackType',
+    field: 'feedbackName',
     component: 'Input',
-    required: true,
 
     span: 12,
     componentProps: {
@@ -107,7 +104,6 @@ export const formSchema: FormSchema[] = [
     field: 'feedbackDescribed',
     component: 'Input',
     span: 12,
-    required: true,
 
     componentProps: {
       readonly: true,
@@ -118,7 +114,6 @@ export const formSchema: FormSchema[] = [
     field: 'feedbackImgList',
     component: 'Input',
     span: 12,
-    required: true,
 
     componentProps: {
       readonly: true,
@@ -144,7 +139,6 @@ export const formSchema: FormSchema[] = [
     field: 'createTime',
     component: 'Input',
     span: 12,
-    required: true,
     componentProps: {
       readonly: true,
     },