Răsfoiți Sursa

fix(config): 更新开发与体验环境接口配置

- 注释掉本地开发地址 192.168.0.19:8080
- 启用 smqjh.api.zswlgz.com 开发环境地址
- 注释体验版 47.109.84.152:8081 地址,启用体验版 smqjh.api.zswlgz.com 地址

fix(integral): 禁用积分弹窗并修改积分列表显示

- 在 openPointsPopup 函数中添加 return 语句,禁用弹窗显示
- 注释积分列表中业务场景与操作类型的显示
- 将积分列表展示字段改为显示业务类型名称,fallback 文本为“未知状态”
zhangtao 1 zi în urmă
părinte
comite
d4a38d57e8
2 a modificat fișierele cu 7 adăugiri și 5 ștergeri
  1. 4 4
      src/config/index.ts
  2. 3 1
      src/subPack-common/integral/index.vue

+ 4 - 4
src/config/index.ts

@@ -6,7 +6,7 @@ const mapEnvVersion = {
   // develop: 'http://192.168.1.101:8080',
   // develop: 'http://192.168.0.157:8080',
   // develop: 'http://192.168.1.253:8080',
-  develop: 'http://192.168.0.19:8080', // 邓
+  // develop: 'http://192.168.0.19:8080', // 邓
   // develop: 'http://192.168.1.20:8080', // 黄
   // develop: 'http://192.168.0.11:8081', // 王
   // develop: 'http://192.168.1.21:8080', // 田
@@ -14,16 +14,16 @@ const mapEnvVersion = {
   // develop: 'http://47.109.84.152:8081', // 测试代理
   // develop: 'https://5ed0f7cc.r9.vip.cpolar.cn',
   // develop: 'https://25740642.r3.cpolar.top',
-  // develop: 'https://smqjh.api.zswlgz.com',
+  develop: 'https://smqjh.api.zswlgz.com',
   /**
    * 体验版
    */
   // trial: "http://192.168.1.166:8080/jeecg-boot",
   // trial: 'http://192.168.0.157:8080',
-  trial: 'http://47.109.84.152:8081',
+  // trial: 'http://47.109.84.152:8081',
   // trial: 'http://192.168.0.11:8081', // 王
   // trial: 'http://192.168.1.166:8080,
-  // trial: 'https://smqjh.api.zswlgz.com',
+  trial: 'https://smqjh.api.zswlgz.com',
   /**
    * 正式版
    */

+ 3 - 1
src/subPack-common/integral/index.vue

@@ -35,6 +35,7 @@ getNavList()
 
 const PointsExpiryDate = ref()
 async function openPointsPopup() {
+  return
   showPointsPopup.value = true
   const res = await Apis.xsb.getUserPointsExpiryDate({})
   PointsExpiryDate.value = res.data || ''
@@ -86,7 +87,8 @@ async function openPointsPopup() {
       <view v-for="(item, index) in pointList" :key="item.pointsId" class="bg-white p-24rpx">
         <view class="flex items-center justify-between text-32rpx font-semibold">
           <view class="text-[#222]">
-            {{ `${item.businessScene}-${item.pointsActionType}` || '未知状态' }}
+            <!-- {{ `${item.businessScene}-${item.pointsActionType}` || '未知状态' }} -->
+            {{ item.businessTypeName || '未知状态' }}
           </view>
           <view class="text-[#FF4A39]">
             {{ item?.pointsTypeName }}{{ item?.variablePoints || 0 }}