Parcourir la source

商城备份文件名更换

Xiao_123 il y a 2 mois
Parent
commit
87581b1af3

+ 18 - 0
src/api/mall1.js

@@ -0,0 +1,18 @@
+import request from '@/config/axios'
+
+// 提交积分商品兑换
+export const redeemSubmit = async (data) => {
+  return request.post({
+    url: '/app-api/menduner/system/redeem/submit',
+    openEncryption: true,
+    data
+  })
+}
+
+// 获取兑换记录
+export const getRedeemPage = async (params) => {
+  return request.get({
+    url: '/app-api/menduner/system/redeem/page',
+    params
+  })
+}

+ 1 - 1
src/router/modules/recruit.js

@@ -103,7 +103,7 @@ const recruit = [
     children: [
       {
         path: '/pointsExchange',
-        component: () => import('@/views/mallCopy/index.vue'),
+        component: () => import('@/views/mall1/index.vue'),
         name: 'pointsExchange',
         meta: {
           title: '门墩儿商城'

+ 0 - 0
src/views/mallCopy/components/table.vue → src/views/mall1/components/table.vue


+ 1 - 1
src/views/mallCopy/exchange.vue → src/views/mall1/exchange.vue

@@ -33,7 +33,7 @@ import { ref } from 'vue'
 import { getToken } from '@/utils/auth'
 import Dialog from '@/components/CtDialog'
 import Snackbar from '@/plugins/snackbar'
-import { redeemSubmit } from '@/api/mallCopy'
+import { redeemSubmit } from '@/api/mall1'
 import { useUserStore } from '@/store/user'
 import { getDict } from '@/hooks/web/useDictionaries'
 import { checkPersonBaseInfo } from '@/utils/check'

+ 1 - 1
src/views/mallCopy/exchangeRecords.vue → src/views/mall1/exchangeRecords.vue

@@ -21,7 +21,7 @@
 <script setup>
 defineOptions({name: 'mall-exchangeRecords'})
 import { ref } from 'vue'
-import { getRedeemPage } from '@/api/mallCopy'
+import { getRedeemPage } from '@/api/mall1'
 import { getToken } from '@/utils/auth'
 
 const total = ref(0)

+ 0 - 0
src/views/mallCopy/index.vue → src/views/mall1/index.vue


+ 0 - 0
src/views/mallCopy/purchasePackage/components/packageList.js → src/views/mall1/purchasePackage/components/packageList.js


+ 0 - 0
src/views/mallCopy/purchasePackage/components/packageList.vue → src/views/mall1/purchasePackage/components/packageList.vue


+ 0 - 0
src/views/mallCopy/purchasePackage/index.vue → src/views/mall1/purchasePackage/index.vue