Jelajahi Sumber

登录开屏

ouyj 4 bulan lalu
induk
melakukan
23daff9428
1 mengubah file dengan 14 tambahan dan 0 penghapusan
  1. 14 0
      api/system/config.uts

+ 14 - 0
api/system/config.uts

@@ -0,0 +1,14 @@
+/**
+ * 系统参数配置接口
+ */
+import { request } from '@/utils/request'
+
+/**
+ * 根据参数键名查询参数值
+ */
+export const getConfigKey = (configKey: string): Promise<any> => {
+    return request({
+        url: '/system/config/configKey/' + configKey,
+        method: 'GET'
+    })
+}