wupengfei
8 天以前 61c935836c947aaf3421731045d024d064cc6688
src/services/api/typings.d.ts
@@ -8,6 +8,11 @@
    request?: GetAliyunOSSAcsQuery;
  }
  interface APIgetCurrentLogierMenuParams {
    /** Id */
    id?: string;
  }
  interface APIgetCurrentLogierMenusParams {
    /** 获取当前登录用户菜单 */
    request?: GetCurrentLogierMenusQuery;
@@ -25,6 +30,21 @@
    categoryCode?: string;
    /** 上级Id */
    parentId?: string;
  }
  interface APIgetEnterpriseElectronSignSettingParams {
    /** Id */
    id?: string;
  }
  interface APIgetEnterpriseParams {
    /** Id */
    id?: string;
  }
  interface APIgetEnterpriseSmsSettingParams {
    /** Id */
    id?: string;
  }
  interface APIgetMenuParams {
@@ -122,6 +142,13 @@
    Desc = 1,
  }
  enum EnumRealAccess {
    /**上上签 */
    BestSign = 10,
    /**支付宝信任签 */
    AlipaySign = 20,
  }
  enum EnumResourceController {
    /**数据字典 */
    Dictionary = 0,
@@ -165,6 +192,11 @@
    All = 999,
  }
  enum EnumSmsAccess {
    /**阿里云短信 */
    AliyunSms = 10,
  }
  enum EnumUserInfoStatus {
    /**正常 */
    Normal = 10,
@@ -189,6 +221,60 @@
    /** 错误码 */
    errorCode?: string;
    data?: GetAliyunOSSAcsQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseElectronSignSettingQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseElectronSignSettingQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultGetEnterpriseSmsSettingQueryResult {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    data?: GetEnterpriseSmsSettingQueryResult;
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
@@ -368,6 +454,44 @@
    timestamp?: number;
  }
  interface FriendlyResultListSelectOptionGuidGetDictionaryCategorySelectQueryOption {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: SelectOptionGuidGetDictionaryCategorySelectQueryOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultListSelectOptionGuidGetDictionaryDataSelectQueryResultOption {
    /** 跟踪Id */
    traceId?: string;
    /** 状态码 */
    code?: number;
    /** 错误码 */
    errorCode?: string;
    /** 数据 */
    data?: SelectOptionGuidGetDictionaryDataSelectQueryResultOption[];
    /** 执行成功 */
    success?: boolean;
    /** 错误信息 */
    msg?: any;
    /** 附加数据 */
    extras?: any;
    /** 时间戳 */
    timestamp?: number;
  }
  interface FriendlyResultPagedListQueryResultGetDictionaryCategoriesQueryResultItem {
    /** 跟踪Id */
    traceId?: string;
@@ -507,10 +631,14 @@
    sort?: number;
  }
  type GetDictionaryCategorySelectQuery = Record<string, any>;
  interface GetDictionaryDatasQuery {
    pageModel?: PagedListQueryPageModel;
    /** 类别Id */
    /** 类别Id(Id/编号二选一) */
    categoryId?: string;
    /** 类别编号(Id/编号二选一) */
    categoryCode?: string;
    /** 关键字 */
    keywords?: string;
  }
@@ -520,6 +648,10 @@
    id?: string;
    /** 类别Id */
    categoryId?: string;
    /** 类别编号 */
    categoryCode?: string;
    /** 类别名称 */
    categoryName?: string;
    /** 上级Id */
    parentId?: string;
    /** 编号 */
@@ -542,6 +674,61 @@
    isDisabled?: boolean;
  }
  interface GetEnterpriseElectronSignSettingQueryResult {
    /** Id */
    id?: string;
    realAccess?: EnumRealAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
  }
  interface GetEnterpriseQueryResult {
    /** Id */
    id?: string;
    /** 企业全称 */
    enterpriseName?: string;
    /** 统一社会信用代码 */
    societyCreditCode?: string;
    /** 法人姓名 */
    legalPerson?: string;
    /** 法人身份证号 */
    legalIdentity?: string;
    /** 所在省份Id */
    provinceId?: string;
    /** 所在省份 */
    provinceContent?: string;
    /** 所在城市Id */
    cityId?: string;
    /** 所在城市 */
    cityContent?: string;
    /** 所属行业Id */
    industryTypeId?: string;
    /** 所属行业 */
    industryTypeContent?: string;
    /** 主营业务 */
    mainBusiness?: string;
    /** 联系人 */
    contacts?: string;
    /** 联系电话 */
    contactPhoneNumber?: string;
    /** 联系邮箱 */
    contactEmail?: string;
    /** 账号 */
    userName?: string;
  }
  interface GetEnterpriseSmsSettingQueryResult {
    /** Id */
    id?: string;
    smsAccess?: EnumSmsAccess;
    /** 短信费用 */
    smsCost?: number;
  }
  interface GetEnterprisesQuery {
    pageModel?: PagedListQueryPageModel;
    /** 关键字 */
@@ -559,10 +746,20 @@
    legalPerson?: string;
    /** 统一社会信用代码 */
    societyCreditCode?: string;
    /** 是否实名 */
    isReal?: boolean;
    /** 联系人 */
    contacts?: string;
    /** 联系电话 */
    contactNumber?: string;
    contactPhoneNumber?: string;
    /** 所在省份 */
    provinceContent?: string;
    /** 所在城市 */
    cityContent?: string;
    /** 所属行业 */
    industryTypeContent?: string;
    /** 是否已配置 */
    isConfigured?: boolean;
  }
  interface GetMenuQueryResult {
@@ -704,8 +901,6 @@
  }
  interface GetOperationUserInfosQueryResultItemRole {
    /** 用户Id */
    userInfoId?: string;
    /** 角色Id */
    id?: string;
    /** 名称 */
@@ -891,6 +1086,7 @@
  }
  interface SaveDictionaryCategoryCommand {
    /** Id */
    id?: string;
    /** 编号 */
    code: string;
@@ -903,6 +1099,7 @@
  }
  interface SaveDictionaryDataCommand {
    /** Id */
    id?: string;
    /** 类别Id */
    categoryId?: string;
@@ -926,6 +1123,37 @@
    sort?: number;
    /** 是否禁用 */
    isDisabled?: boolean;
  }
  interface SaveEnterpriseCommand {
    /** Id */
    id?: string;
    /** 企业全称 */
    enterpriseName: string;
    /** 统一社会信用代码 */
    societyCreditCode: string;
    /** 法人姓名 */
    legalPerson?: string;
    /** 法人身份证号 */
    legalIdentity?: string;
    /** 所在省份Id */
    provinceId?: string;
    /** 所在城市Id */
    cityId?: string;
    /** 所属行业Id */
    industryTypeId?: string;
    /** 主营业务 */
    mainBusiness?: string;
    /** 联系人 */
    contacts?: string;
    /** 联系电话 */
    contactPhoneNumber?: string;
    /** 联系邮箱 */
    contactEmail?: string;
    /** 账号 */
    userName?: string;
    /** 密码 */
    password?: string;
  }
  interface SaveMenuButtonCommand {
@@ -1069,11 +1297,48 @@
    resources?: GetRoleQueryResultResource[];
  }
  interface SelectOptionGuidGetDictionaryCategorySelectQueryOption {
    /** 值 */
    value?: string;
    /** 标签 */
    label?: string;
    /** 数据 */
    data?: any;
  }
  interface SelectOptionGuidGetDictionaryDataSelectQueryResultOption {
    /** 值 */
    value?: string;
    /** 标签 */
    label?: string;
    /** 数据 */
    data?: any;
  }
  interface SetDictionaryDataIsDisabledCommand {
    /** Id */
    ids?: string[];
    /** 是否禁用 */
    /** 是否已禁用 */
    isDisabled?: boolean;
  }
  interface SetEnterpriseElectronSignSettingCommand {
    /** Id */
    id?: string;
    realAccess?: EnumRealAccess;
    /** 实名费用 */
    realVerifyCost?: number;
    /** 签约费用 */
    signCost?: number;
    /** 一口价 */
    mergeSignCost?: number;
  }
  interface SetEnterpriseSmsSettingCommand {
    /** Id */
    id?: string;
    smsAccess?: EnumSmsAccess;
    /** 短信费用 */
    smsCost?: number;
  }
  interface SetMenuSwitchCommand {
@@ -1087,9 +1352,8 @@
  }
  interface SetRoleIsDisabledCommand {
    /** Id */
    ids: string[];
    /** 是否禁用 */
    ids?: string[];
    /** 是否已禁用 */
    isDisabled?: boolean;
  }