Quellcode durchsuchen

feta add openapi

Young vor 4 Monaten
Ursprung
Commit
10cb2594b7

+ 63 - 0
src/services/swagger/factionLevelAdmin.ts

@@ -0,0 +1,63 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 宗门等级详情 GET /apis/admin/factionLevel/details */
+export async function getFactionLevelDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getFactionLevelDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.FactionLevelVO>('/apis/admin/factionLevel/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询宗门等级 POST /apis/admin/factionLevel/page */
+export async function postFactionLevelPageApi(
+  body: SectApi.FactionLevelPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPageFactionLevelVO>('/apis/admin/factionLevel/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 删除宗门等级 DELETE /apis/admin/factionLevel/remove */
+export async function deleteFactionLevelRemoveApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.deleteFactionLevelRemoveApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/factionLevel/remove', {
+    method: 'DELETE',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 保存宗门等级 POST /apis/admin/factionLevel/save */
+export async function postFactionLevelSaveApi(
+  body: SectApi.FactionLevelSaveQuery,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/factionLevel/save', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 33 - 0
src/services/swagger/factionLevelClients.ts

@@ -0,0 +1,33 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 宗门等级详情 GET /apis/clients/factionLevel/details */
+export async function getFactionLevelDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getFactionLevelDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.FactionLevelVO>('/apis/clients/factionLevel/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询宗门等级 POST /apis/clients/factionLevel/page */
+export async function postFactionLevelPageApi(
+  body: SectApi.FactionLevelPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPageFactionLevelVO>('/apis/clients/factionLevel/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 63 - 0
src/services/swagger/peakAdmin.ts

@@ -0,0 +1,63 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 峰详情 GET /apis/admin/peak/details */
+export async function getPeakDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getPeakDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.PeakVO>('/apis/admin/peak/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询峰 POST /apis/admin/peak/page */
+export async function postPeakPageApi(
+  body: SectApi.PeakPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPagePeakVO>('/apis/admin/peak/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 删除峰 DELETE /apis/admin/peak/remove */
+export async function deletePeakRemoveApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.deletePeakRemoveApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/peak/remove', {
+    method: 'DELETE',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 保存峰 POST /apis/admin/peak/save */
+export async function postPeakSaveApi(
+  body: SectApi.PeakSaveQuery,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/peak/save', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 33 - 0
src/services/swagger/peakClients.ts

@@ -0,0 +1,33 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 峰详情 GET /apis/clients/peak/details */
+export async function getPeakDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getPeakDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.PeakVO>('/apis/clients/peak/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询峰 POST /apis/clients/peak/page */
+export async function postPeakPageApi(
+  body: SectApi.PeakPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPagePeakVO>('/apis/clients/peak/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 63 - 0
src/services/swagger/peakLevelAdmin.ts

@@ -0,0 +1,63 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 峰等级详情 GET /apis/admin/peakLevel/details */
+export async function getPeakLevelDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getPeakLevelDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.PeakLevelVO>('/apis/admin/peakLevel/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询峰等级 POST /apis/admin/peakLevel/page */
+export async function postPeakLevelPageApi(
+  body: SectApi.PeakLevelPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPagePeakLevelVO>('/apis/admin/peakLevel/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 删除峰等级 DELETE /apis/admin/peakLevel/remove */
+export async function deletePeakLevelRemoveApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.deletePeakLevelRemoveApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/peakLevel/remove', {
+    method: 'DELETE',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 保存峰等级 POST /apis/admin/peakLevel/save */
+export async function postPeakLevelSaveApi(
+  body: SectApi.PeakLevelSaveQuery,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/peakLevel/save', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 33 - 0
src/services/swagger/peakLevelClients.ts

@@ -0,0 +1,33 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 峰等级详情 GET /apis/clients/peakLevel/details */
+export async function getPeakLevelDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getPeakLevelDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.PeakLevelVO>('/apis/clients/peakLevel/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询峰等级 POST /apis/clients/peakLevel/page */
+export async function postPeakLevelPageApi(
+  body: SectApi.PeakLevelPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPagePeakLevelVO>('/apis/clients/peakLevel/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 63 - 0
src/services/swagger/peakStageAdmin.ts

@@ -0,0 +1,63 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 峰等级阶段详情 GET /apis/admin/peakStage/details */
+export async function getPeakStageDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getPeakStageDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.PeakStageVO>('/apis/admin/peakStage/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询峰等级阶段 POST /apis/admin/peakStage/page */
+export async function postPeakStagePageApi(
+  body: SectApi.PeakStagePageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPagePeakStageVO>('/apis/admin/peakStage/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 删除峰等级阶段 DELETE /apis/admin/peakStage/remove */
+export async function deletePeakStageRemoveApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.deletePeakStageRemoveApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/peakStage/remove', {
+    method: 'DELETE',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 保存峰等级阶段 POST /apis/admin/peakStage/save */
+export async function postPeakStageSaveApi(
+  body: SectApi.PeakStageSaveQuery,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/peakStage/save', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 33 - 0
src/services/swagger/peakStageClients.ts

@@ -0,0 +1,33 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 峰等级阶段详情 GET /apis/clients/peakStage/details */
+export async function getPeakStageDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getPeakStageDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.PeakStageVO>('/apis/clients/peakStage/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询峰等级阶段 POST /apis/clients/peakStage/page */
+export async function postPeakStagePageApi(
+  body: SectApi.PeakStagePageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPagePeakStageVO>('/apis/clients/peakStage/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 33 - 0
src/services/swagger/userClients.ts

@@ -0,0 +1,33 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 用户详情 GET /apis/clients/user/details */
+export async function getUserDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getUserDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.UserVO>('/apis/clients/user/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 修改密码 POST /apis/clients/user/edit_pwd */
+export async function postUserEditPwdApi(
+  body: SectApi.UserPwdEditQuery,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/clients/user/edit_pwd', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 63 - 0
src/services/swagger/userLevelAdmin.ts

@@ -0,0 +1,63 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 用户等级详情 GET /apis/admin/userLevel/details */
+export async function getUserLevelDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getUserLevelDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.UserLevelVO>('/apis/admin/userLevel/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询用户等级 POST /apis/admin/userLevel/page */
+export async function postUserLevelPageApi(
+  body: SectApi.UserLevelPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPageUserLevelVO>('/apis/admin/userLevel/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 删除用户等级 DELETE /apis/admin/userLevel/remove */
+export async function deleteUserLevelRemoveApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.deleteUserLevelRemoveApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/userLevel/remove', {
+    method: 'DELETE',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 保存用户等级 POST /apis/admin/userLevel/save */
+export async function postUserLevelSaveApi(
+  body: SectApi.UserLevelSaveQuery,
+  options?: { [key: string]: any },
+) {
+  return request<boolean>('/apis/admin/userLevel/save', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}

+ 33 - 0
src/services/swagger/userLevelClients.ts

@@ -0,0 +1,33 @@
+// @ts-ignore
+/* eslint-disable */
+import { invoke as request } from '@/core/network';
+
+/** 用户等级详情 GET /apis/clients/userLevel/details */
+export async function getUserLevelDetailsApi(
+  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
+  params: SectApi.getUserLevelDetailsApiParams,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.UserLevelVO>('/apis/clients/userLevel/details', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 分页查询用户等级 POST /apis/clients/userLevel/page */
+export async function postUserLevelPageApi(
+  body: SectApi.UserLevelPageQuery,
+  options?: { [key: string]: any },
+) {
+  return request<SectApi.IPageUserLevelVO>('/apis/clients/userLevel/page', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}