wupengfei
2025-04-11 c86a0c980b3c353be357a3cf7b64ea4d35beb66d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 此处后端没有提供注释 POST /api/LgGigWorkerSignChannelSetting/CreateOrEditLgGigWorkerSignChannelSetting */
export async function createOrEditLgGigWorkerSignChannelSetting(
  body: API.CreateOrEditLgGigWorkerSignChannelSettingInput,
  options?: API.RequestConfig
) {
  return request<string>(
    '/api/LgGigWorkerSignChannelSetting/CreateOrEditLgGigWorkerSignChannelSetting',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 删除渠道配置管理 DELETE /api/LgGigWorkerSignChannelSetting/DeleteLgGigWorkerSignChannelSetting */
export async function deleteLgGigWorkerSignChannelSetting(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIdeleteLgGigWorkerSignChannelSettingParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/LgGigWorkerSignChannelSetting/DeleteLgGigWorkerSignChannelSetting', {
    method: 'DELETE',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 获取渠道管理列表 POST /api/LgGigWorkerSignChannelSetting/GetLgGigWorkerSignChannelSettingList */
export async function getLgGigWorkerSignChannelSettingList(
  body: API.GetGigWorkerSignChannelSettingInput,
  options?: API.RequestConfig
) {
  return request<API.LgGigWorkerSignChannelSettingDtoPageOutput>(
    '/api/LgGigWorkerSignChannelSetting/GetLgGigWorkerSignChannelSettingList',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 设置配置状态 POST /api/LgGigWorkerSignChannelSetting/SetLgGigWorkerSignChannelSettingStatus */
export async function setLgGigWorkerSignChannelSettingStatus(
  body: API.SetSignChannelStatusInput,
  options?: API.RequestConfig
) {
  return request<number>(
    '/api/LgGigWorkerSignChannelSetting/SetLgGigWorkerSignChannelSettingStatus',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  );
}