diff --git a/src/api/index.ts b/src/api/index.ts
index 57986d2..9114cd5 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -54,5 +54,8 @@ export default {
},
delete_new_message(params: object) {
return $axios.post('/admin/delBuzzNewsMessage', params)
+ },
+ get_visa_list(params: object) {
+ return $axios.post('/admin/visaList', params)
}
}
diff --git a/src/pages/visa/index.tsx b/src/pages/visa/index.tsx
new file mode 100644
index 0000000..8413bac
--- /dev/null
+++ b/src/pages/visa/index.tsx
@@ -0,0 +1,28 @@
+import api from "@/api"
+import MyTable from "@/components/MyTable"
+import React from "react"
+
+const Visa = () => {
+
+ const columns = [
+ {
+ title: '名称',
+ dataIndex: 'name'
+ },
+ {
+ title: 'ID',
+ dataIndex: 'public_key'
+ },
+ ]
+
+ return (
+
+
+
+ )
+}
+
+export default Visa
\ No newline at end of file
diff --git a/src/route/routes.ts b/src/route/routes.ts
index 5c76d1f..f57f20e 100644
--- a/src/route/routes.ts
+++ b/src/route/routes.ts
@@ -3,6 +3,7 @@ import Swiper from "@/pages/swiper"
import System from "@/pages/notify/system"
import { HomeOutlined, SolutionOutlined } from "@ant-design/icons"
import BUZZUPNews from "@/pages/notify/news"
+import Visa from "@/pages/visa"
const routes = [
{
@@ -41,7 +42,15 @@ const routes = [
component: BUZZUPNews,
routes: []
},
-
+ {
+ path: '/visa',
+ name: 'Visa卡申请列表',
+ exact: true,
+ key: 'visa',
+ icon: SolutionOutlined,
+ component: Visa,
+ routes: []
+ },
]
diff --git a/src/utils/axios.ts b/src/utils/axios.ts
index a3b5d3d..049d861 100644
--- a/src/utils/axios.ts
+++ b/src/utils/axios.ts
@@ -13,7 +13,7 @@ interface AxiosConfig {
export const getBaseUrl = () => {
// return `http://192.168.124.20:8008/api/v1`
- return `https://apk.hippoim.us/api/v1`
+ return `https://apk.buzz-up.io/api/v1`
}
const config: AxiosConfig = {