zhengyiming
2025-06-06 92544173d5fc7270427e1642b82b24314e68ecd9
fix: v1.4
2个文件已添加
5个文件已修改
305 ■■■■■ 已修改文件
apps/taro/inspect.config.js 24 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/taro/tsconfig.json 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/api/LifePay.ts 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/api/Promoter.ts 108 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/api/Sync.ts 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/api/index.ts 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
packages/services/api/typings.d.ts 142 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
apps/taro/inspect.config.js
@@ -29,7 +29,7 @@
      '@tarojs/runtime': 'F:\\bole\\LifePaymentFront\\node_modules\\.pnpm\\@tarojs+runtime@3.6.20\\node_modules\\@tarojs\\runtime\\dist\\runtime.esm.js',
      '@tarojs/shared': 'F:\\bole\\LifePaymentFront\\node_modules\\.pnpm\\@tarojs+shared@3.6.20\\node_modules\\@tarojs\\shared\\dist\\shared.esm.js',
      '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
      '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components',
      '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components',
      '@tarojs/components$': '@tarojs/plugin-platform-weapp/dist/components-react',
      '@tarojs/plugin-http/dist/runtime': 'F:\\bole\\LifePaymentFront\\node_modules\\.pnpm\\@tarojs+plugin-http@3.6.20_postcss@8.5.3_vue@3.5.12\\node_modules\\@tarojs\\plugin-http\\dist\\runtime.js'
    },
@@ -6034,7 +6034,7 @@
                                },
                                alias: {
                                  '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
                                },
                                sourceRoot: 'src',
                                outputRoot: 'dist/weapp',
@@ -7092,7 +7092,7 @@
                                },
                                alias: {
                                  '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
                                },
                                sourceRoot: 'src',
                                outputRoot: 'dist/weapp',
@@ -8237,7 +8237,7 @@
                                },
                                alias: {
                                  '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
                                },
                                sourceRoot: 'src',
                                outputRoot: 'dist/weapp',
@@ -9295,7 +9295,7 @@
                                },
                                alias: {
                                  '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                                  '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
                                },
                                sourceRoot: 'src',
                                outputRoot: 'dist/weapp',
@@ -10518,7 +10518,7 @@
                  ],
                  [
                    '@life-payment/components',
                    'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                    'F:\\bole\\LifePaymentFront\\packages\\components'
                  ],
                  [
                    '@tarojs/components$',
@@ -12559,7 +12559,7 @@
            },
            alias: {
              '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
            },
            sourceRoot: 'src',
            outputRoot: 'dist/weapp',
@@ -13617,7 +13617,7 @@
            },
            alias: {
              '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
            },
            sourceRoot: 'src',
            outputRoot: 'dist/weapp',
@@ -20861,7 +20861,7 @@
                  ],
                  [
                    '@life-payment/components',
                    'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                    'F:\\bole\\LifePaymentFront\\packages\\components'
                  ],
                  [
                    '@tarojs/components$',
@@ -21119,7 +21119,7 @@
            },
            alias: {
              '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
            },
            sourceRoot: 'src',
            outputRoot: 'dist/weapp',
@@ -22177,7 +22177,7 @@
            },
            alias: {
              '@': 'F:\\bole\\LifePaymentFront\\apps\\taro\\src',
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
              '@life-payment/components': 'F:\\bole\\LifePaymentFront\\packages\\components'
            },
            sourceRoot: 'src',
            outputRoot: 'dist/weapp',
@@ -29372,7 +29372,7 @@
                  ],
                  [
                    '@life-payment/components',
                    'F:\\bole\\LifePaymentFront\\apps\\taro\\node_modules\\@life-payment\\components'
                    'F:\\bole\\LifePaymentFront\\packages\\components'
                  ],
                  [
                    '@tarojs/components$',
apps/taro/tsconfig.json
@@ -4,7 +4,6 @@
    "baseUrl": ".",
    "ignoreDeprecations": "5.0",
    "paths": {
      "@life-payment/*": ["../../packages/*"],
      "@/*": ["src/*"]
    },
    "composite": true,
packages/services/api/LifePay.ts
@@ -839,6 +839,21 @@
  });
}
/** 获取指定天数的统计数据 POST /api/LifePay/StatisticsByDate */
export async function statisticsByDate(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIstatisticsByDateParams,
  options?: API.RequestConfig
) {
  return request<number>('/api/LifePay/StatisticsByDate', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
/** 修改实际到账金额 POST /api/LifePay/UpdateLifePayOrderActualReceivedAmount */
export async function updateLifePayOrderActualReceivedAmount(
  body: API.UpdateLifePayOrderInput,
packages/services/api/Promoter.ts
New file
@@ -0,0 +1,108 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 申请渠道咨询 POST /api/Promoter/CreateChannelConsultation */
export async function createChannelConsultation(
  body: API.CreateChannelConsultationInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Promoter/CreateChannelConsultation', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 新增回访 POST /api/Promoter/CreateChannelConsultationFollowup */
export async function createChannelConsultationFollowup(
  body: API.CreateChannelConsultationFollowupInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Promoter/CreateChannelConsultationFollowup', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 创建或更新推广员 POST /api/Promoter/CreateOrUpdatePromoter */
export async function createOrUpdatePromoter(
  body: API.CreateOrUpdatePromoterInput,
  options?: API.RequestConfig
) {
  return request<string>('/api/Promoter/CreateOrUpdatePromoter', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取渠道咨询列表 POST /api/Promoter/GetChannelConsultation */
export async function getChannelConsultation(
  body: API.GetChannelConsultationsInput,
  options?: API.RequestConfig
) {
  return request<API.ChannelConsultationDtoPageOutput>('/api/Promoter/GetChannelConsultation', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 获取渠道咨询回访记录 GET /api/Promoter/GetChannelConsultationFollowupList */
export async function getChannelConsultationFollowupList(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetChannelConsultationFollowupListParams,
  options?: API.RequestConfig
) {
  return request<API.ChannelConsultationFollowupDto[]>(
    '/api/Promoter/GetChannelConsultationFollowupList',
    {
      method: 'GET',
      params: {
        ...params,
      },
      ...(options || {}),
    }
  );
}
/** 获取推广员列表 POST /api/Promoter/GetPromoters */
export async function getPromoters(body: API.GetPromotersInput, options?: API.RequestConfig) {
  return request<API.PromoterDtoPageOutput>('/api/Promoter/GetPromoters', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
/** 点击数+1 POST /api/Promoter/SetClickCount */
export async function setClickCount(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIsetClickCountParams,
  options?: API.RequestConfig
) {
  return request<any>('/api/Promoter/SetClickCount', {
    method: 'POST',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
packages/services/api/Sync.ts
New file
@@ -0,0 +1,11 @@
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
/** 同步测试订单数据 POST /api/Sync/SyncFromTest */
export async function syncFromTest(options?: API.RequestConfig) {
  return request<string[]>('/api/Sync/SyncFromTest', {
    method: 'POST',
    ...(options || {}),
  });
}
packages/services/api/index.ts
@@ -18,6 +18,8 @@
import * as Permissions from './Permissions';
import * as PhoneMessage from './PhoneMessage';
import * as Profile from './Profile';
import * as Promoter from './Promoter';
import * as Sync from './Sync';
import * as Tenant from './Tenant';
import * as UserRole from './UserRole';
import * as Version from './Version';
@@ -39,6 +41,8 @@
  Permissions,
  PhoneMessage,
  Profile,
  Promoter,
  Sync,
  Tenant,
  UserRole,
  Version,
packages/services/api/typings.d.ts
@@ -240,6 +240,11 @@
    orderNo?: string;
  }
  interface APIgetChannelConsultationFollowupListParams {
    /** 渠道咨询Id */
    id?: string;
  }
  interface APIgetCountParams {
    filter?: string;
  }
@@ -360,6 +365,10 @@
    maxResultCount?: number;
  }
  interface APIsetClickCountParams {
    idnumber?: string;
  }
  interface APIsetForRoleParams {
    roleName?: string;
    permissionName?: string;
@@ -373,6 +382,10 @@
  interface APIsetLifePayChannelsStatusParams {
    id?: string;
    status?: LifePayChannelsStatsEnum;
  }
  interface APIstatisticsByDateParams {
    days?: number;
  }
  interface APItestAliRechargeNotifyParams {
@@ -524,6 +537,51 @@
    type?: number;
  }
  interface ChannelConsultationDto {
    /** Id */
    id?: string;
    /** 咨询时间 */
    creationTime?: string;
    /** 咨询人 */
    name?: string;
    agentType?: LifePayChannelAgentType;
    /** 联系方式 */
    phoneNumber?: string;
    /** 公司名称 */
    companyName?: string;
    /** 客户资源 */
    customerResources?: string;
    /** ID */
    promoterIdNumber?: string;
    /** 推广员 */
    promoterName?: string;
    /** 联系方式 */
    promoterPhoneNumber?: string;
    followupStatus?: LifePayChannelConsultationFollowupStatus;
    /** 最近回访 */
    lastFollowupTime?: string;
    /** 回访记录 */
    followupRemark?: string;
  }
  interface ChannelConsultationDtoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: ChannelConsultationDto[];
  }
  interface ChannelConsultationFollowupDto {
    /** 回访人Id */
    creatorId?: string;
    /** 回访人 */
    creator?: string;
    followupStatus?: LifePayChannelConsultationFollowupStatus;
    /** 回访记录 */
    followupRemark?: string;
    /** 咨询时间 */
    creationTime?: string;
  }
  interface ChannelDataListOutPut {
    /** Top5渠道收款 */
    receiveList?: ChannelDataReceive[];
@@ -627,6 +685,30 @@
    remark?: string;
  }
  interface CreateChannelConsultationFollowupInput {
    /** 渠道咨询Id */
    channelConsultationId?: string;
    followupStatus?: LifePayChannelConsultationFollowupStatus;
    /** 回访记录 */
    followupRemark?: string;
  }
  interface CreateChannelConsultationInput {
    /** 客户端用户Id 如有 */
    userId?: string;
    /** 推广人Id */
    idNumber?: string;
    /** 咨询人 */
    name?: string;
    agentType?: LifePayChannelAgentType;
    /** 联系方式 */
    phoneNumber?: string;
    /** 公司名称 */
    companyName?: string;
    /** 客户资源 */
    customerResources?: string;
  }
  interface CreateEditPayChannelsInput {
    id?: string;
    channlesName?: string;
@@ -646,6 +728,21 @@
  interface CreateLifePayOrderOutput {
    orderNo?: string;
  }
  interface CreateOrUpdatePromoterInput {
    /** Id */
    id?: string;
    /** 客户端用户Id 如有 */
    userId?: string;
    /** ID */
    idNumber?: string;
    /** 推广员 */
    name?: string;
    /** 联系方式 */
    phoneNumber?: string;
    /** 备注 */
    remark?: string;
  }
  interface CreateOrUpdateRoleInput {
@@ -917,6 +1014,16 @@
    queryCondition?: string;
  }
  interface GetChannelConsultationsInput {
    pageModel?: Pagination;
    /** 创建的开始时间 */
    startDate?: string;
    /** 创建的结束时间 */
    endDate?: string;
    /** 搜索关键词 */
    searchKey?: string;
  }
  interface GetFeatureListResultDto {
    groups?: FeatureGroupDto[];
  }
@@ -946,6 +1053,10 @@
  interface GetPermissionListResultDto {
    entityDisplayName?: string;
    groups?: PermissionGroupDto[];
  }
  interface GetPromotersInput {
    pageModel?: Pagination;
  }
  interface GetRolesInput {
@@ -1168,6 +1279,10 @@
    channelId?: string;
    productData?: LifeGasData;
  }
  type LifePayChannelAgentType = 1 | 2 | 3;
  type LifePayChannelConsultationFollowupStatus = 0 | 1;
  type LifePayChannelsStatsEnum = 10 | 20;
@@ -1909,6 +2024,31 @@
    hasPassword?: boolean;
  }
  interface PromoterDto {
    /** Id */
    id?: string;
    /** 咨询时间 */
    creationTime?: string;
    /** ID */
    idNumber?: string;
    /** 推广员 */
    name?: string;
    /** 联系方式 */
    phoneNumber?: string;
    /** 点击数 */
    clickCount?: number;
    /** 申请数 */
    applyCount?: number;
    /** 备注 */
    remark?: string;
  }
  interface PromoterDtoPageOutput {
    pageModel?: Pagination;
    objectData?: any;
    data?: PromoterDto[];
  }
  interface PropertyApiDescriptionModel {
    name?: string;
    jsonName?: string;
@@ -2248,6 +2388,8 @@
    accumulatedUsers?: number;
    /** 昨日活跃用户 */
    yesterdayActiveUsers?: number;
    /** 累计佣金 */
    accumulatedChannlesRakePrice?: number;
  }
  interface TradeFundBill {