From c24cdd854e258712408a7904bdb401c49e3f07c1 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 28 八月 2025 13:09:08 +0800
Subject: [PATCH] fix: 修改通道充值提示语
---
packages/core/src/lifeRechargeServices.ts | 720 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 699 insertions(+), 21 deletions(-)
diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index e39d156..41e981e 100644
--- a/packages/core/src/lifeRechargeServices.ts
+++ b/packages/core/src/lifeRechargeServices.ts
@@ -1,15 +1,36 @@
import { BlLifeRechargeServicesOptions } from './types';
import { LifeRechargeConstants } from './lifeRechargeConstants';
import { Request, IRequest } from 'senior-request';
+import { BlLifeRecharge } from './lifeRecharge';
export interface RequestConfig {}
export class BlLifeRechargeServices<TResponse = any, TRequestOptions = any> {
private request: IRequest;
- constructor({ axiosConfig }: BlLifeRechargeServicesOptions<TResponse, TRequestOptions>) {
+ ctx: BlLifeRecharge<TResponse, TRequestOptions>;
+
+ constructor(
+ ctx: BlLifeRecharge<TResponse, TRequestOptions>,
+ { axiosConfig }: BlLifeRechargeServicesOptions<TResponse, TRequestOptions>
+ ) {
+ this.ctx = ctx;
this.request = Request.create({
...axiosConfig,
- // baseURL: isWeb ? process.env.BASE_URL_H5 : process.env.BASE_URL,
+ // baseURL: process.env.NODE_ENV === 'development' ? '/' : 'https://api.81812333.com',
+ requestInterceptors: [
+ [
+ (config) => {
+ if (config.params) {
+ config.params.checkChannelId = this.ctx.accountModel.channlesNum;
+ }
+ if (config.data) {
+ config.data.checkChannelId = this.ctx.accountModel.channlesNum;
+ }
+ return config;
+ },
+ ],
+ ...axiosConfig.requestInterceptors,
+ ],
timeout: 10 * 1000,
headers: {
Accept: 'application/json, text/plain, */*',
@@ -21,14 +42,17 @@
}
async lifePayPhoneMesssageCodeLogin(body: PhoneMesssageCodeLoginInput, options?: RequestConfig) {
- return this.request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
+ return this.request<LifePayPhoneMesssageCodeLoginOutput>(
+ '/api/Account/LifePayPhoneMesssageCodeLogin',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
}
/** 鑾峰彇鎶樻墸 GET /api/LifePay/GetRate */
@@ -40,25 +64,37 @@
}
/** 鑾峰彇鐢佃垂鍏呭�煎尯鍩� GET /api/LifePay/GetElectricSupportArea */
- async getElectricSupportArea(options?: RequestConfig) {
+ async getElectricSupportArea(body: ChannelsBaseInput, options?: RequestConfig) {
return this.request<ElectricSupportAreaResponse>('/api/LifePay/GetElectricSupportArea', {
- method: 'GET',
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
...(options || {}),
});
}
- /** 鑾峰彇鐢佃垂闈㈠�� GET /api/LifePay/GetElectricParValue */
- async getElectricParValue(options?: RequestConfig) {
+ /** 鑾峰彇鐢佃垂闈㈠�� POST /api/LifePay/GetElectricParValue */
+ async getElectricParValue(body: ChannelsBaseInput, options?: RequestConfig) {
return this.request<ElectricParValueResponse>('/api/LifePay/GetElectricParValue', {
- method: 'GET',
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
...(options || {}),
});
}
/** 鑾峰彇璇濊垂闈㈠�� GET /api/LifePay/GetPhoneParValue */
- async getPhoneParValue(options?: RequestConfig) {
+ async getPhoneParValue(body: ChannelsBaseInput, options?: RequestConfig) {
return this.request<PhoneParValueResponse>('/api/LifePay/GetPhoneParValue', {
- method: 'GET',
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
...(options || {}),
});
}
@@ -94,14 +130,15 @@
}
/** 鏍规嵁璁㈠崟鍙疯幏鍙栨敮浠樼姸鎬� GET /api/LifePay/GetPayStatusByOrderNo */
- async getPayStatusByOrderNo(params: APIgetPayStatusByOrderNoParams, options?: RequestConfig) {
+ async getPayStatusByOrderNo(body: GetPayStatusByOrderNoInput, options?: RequestConfig) {
return this.request<LifeRechargeConstants.LifePayStatusEnum>(
'/api/LifePay/GetPayStatusByOrderNo',
{
- method: 'GET',
- params: {
- ...params,
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
},
+ data: body,
...(options || {}),
}
);
@@ -153,6 +190,277 @@
'Content-Type': 'application/json',
},
data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鎴戠殑鍏ㄩ儴鎴峰彿鍒楄〃 POST /api/LifePay/GetUserAccountAllList */
+ async getUserAccountAllList(body: QueryUserAccountAllListInput, options?: RequestConfig) {
+ return this.request<UserAccountListOutput[]>('/api/LifePay/GetUserAccountAllList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鎴戠殑鎴峰彿鍒楄〃 POST /api/LifePay/GetUserAccountList */
+ async getUserAccountList(body: QueryUserAccountListInput, options?: RequestConfig) {
+ return this.request<UserAccountListOutputPageOutput>('/api/LifePay/GetUserAccountList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 娣诲姞鎴栦慨鏀规垜鐨勬埛鍙� POST /api/LifePay/AddUpdateUserAccount */
+ async addUpdateUserAccount(body: AddUpdateUserAccountInput, options?: RequestConfig) {
+ return this.request<number>('/api/LifePay/AddUpdateUserAccount', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鍒涘缓鐢熸椿缂磋垂鐕冩皵璁㈠崟 POST /api/LifePay/CreateLifePayGasOrder */
+ async createLifePayGasOrder(body: LifeGasDataCreateLifePayOrderInput, options?: RequestConfig) {
+ return this.request<CreateLifePayOrderOutput>('/api/LifePay/CreateLifePayGasOrder', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鐕冩皵闈㈠�� GET /api/LifePay/GetGasParValue */
+ async getGasParValue(body: ChannelsBaseInput, options?: RequestConfig) {
+ return this.request<GasParValueResponse>('/api/LifePay/GetGasParValue', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鐢ㄦ埛鍙戣捣鐢熸椿缂磋垂閫�娆� POST /api/LifePay/RefundUserLifePayOrder */
+ async refundUserLifePayOrder(body: RefundUserLifePayOrderInput, options?: RequestConfig) {
+ return this.request<number>('/api/LifePay/RefundUserLifePayOrder', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鍒犻櫎鎴戠殑鎴峰彿 POST /api/LifePay/DeleteUserAccount */
+ async deleteUserAccount(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIdeleteUserAccountParams,
+ options?: RequestConfig
+ ) {
+ return this.request<number>('/api/LifePay/DeleteUserAccount', {
+ method: 'POST',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鎴戠殑鎴峰彿璇︽儏 GET /api/LifePay/GetUserAccountDetail */
+ async getUserAccountDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIgetUserAccountDetailParams,
+ options?: RequestConfig
+ ) {
+ return this.request<UserAccountOutput>('/api/LifePay/GetUserAccountDetail', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鎴戠殑璁㈠崟璇︽儏 GET /api/LifePay/GetUserLifePayOrderDetail */
+ async getUserLifePayOrderDetail(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIgetUserLifePayOrderDetailParams,
+ options?: RequestConfig
+ ) {
+ return this.request<UserLifePayOrderOutput>('/api/LifePay/GetUserLifePayOrderDetail', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鎼滅储绠$悊--鍒楄〃(鍖哄煙绠$悊) GET /api/Area/GetRegionalManagementList */
+ async getRegionalManagementList(options?: RequestConfig) {
+ return this.request<AreaInfo[]>('/api/Area/GetRegionalManagementList', {
+ method: 'GET',
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇椤荤煡 GET /api/LifePay/GetIntroInfo */
+ async getIntroInfo(params: APIgetIntroInfoParams, options?: RequestConfig) {
+ return this.request<LifePayIntroInfoOutput[]>('/api/LifePay/GetIntroInfo', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇娓犻亾鎶樻墸 GET /api/LifePay/GetChannelRate */
+ async getChannelRate(body: ChannelsBaseInput, options?: RequestConfig) {
+ return this.request<ChannelRateOutput>('/api/LifePay/GetChannelRate', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鍦ㄧ嚎瀹㈡湇 GET /api/LifePay/GetOnlineService */
+ async getOnlineService(options?: RequestConfig) {
+ return this.request<string>('/api/LifePay/GetOnlineService', {
+ method: 'GET',
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鍏ㄩ儴缂磋垂娓犻亾 GET /api/LifePay/GetLifePayChannlesAllList */
+ async getLifePayChannlesAllList(body: QueryLifePayChannlesInput, options?: RequestConfig) {
+ return this.request<CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鏍规嵁鐢ㄦ埛ID鑾峰彇鐢ㄦ埛鏄惁涓哄悗鍙扮鐞嗗憳 POST /api/Account/LifePayUserMesssageByIduser */
+ async lifePayUserMesssageByIduser(
+ body: LifePayUserMesssageByIduserInput,
+ options?: RequestConfig
+ ) {
+ return this.request<LifePayPhoneMesssageCodeLoginOutput>(
+ '/api/Account/LifePayUserMesssageByIduser',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+ }
+
+ /** 鑾峰彇椤堕儴缁熻鏁版嵁 GET /api/LifePay/GetTopStatistics */
+ async getTopStatistics(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ body: TopStatisticsInput,
+ options?: RequestConfig
+ ) {
+ return this.request<TopStatisticsOutput>('/api/LifePay/GetTopStatistics', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鐐瑰嚮鏁�+1 POST /api/Promoter/SetClickCount */
+ async setClickCount(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIsetClickCountParams,
+ options?: RequestConfig
+ ) {
+ return this.request<any>('/api/Promoter/SetClickCount', {
+ method: 'POST',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鐢宠娓犻亾鍜ㄨ POST /api/Promoter/CreateChannelConsultation */
+ async createChannelConsultation(body: CreateChannelConsultationInput, options?: RequestConfig) {
+ return this.request<string>('/api/Promoter/CreateChannelConsultation', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鍒涘缓鎴栨洿鏂版帹骞垮憳 POST /api/Promoter/CreateOrUpdatePromoter */
+ async createOrUpdatePromoter(body: CreateOrUpdatePromoterInput, options?: RequestConfig) {
+ return this.request<CreateOrUpdatePromoterOutput>('/api/Promoter/CreateOrUpdatePromoter', {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇娓犻亾鍜ㄨId GET /api/Promoter/GetChannelConsultationById */
+ async getChannelConsultationById(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIgetChannelConsultationByIdParams,
+ options?: RequestConfig
+ ) {
+ return this.request<ChannelConsultationDto>('/api/Promoter/GetChannelConsultationById', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
+ ...(options || {}),
+ });
+ }
+
+ /** 鑾峰彇鎺ㄥ箍鍛樹俊鎭� GET /api/Promoter/GetPromoter */
+ async getPromoter(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+ params: APIgetPromoterParams,
+ options?: RequestConfig
+ ) {
+ return this.request<PromoterDto>('/api/Promoter/GetPromoter', {
+ method: 'GET',
+ params: {
+ ...params,
+ },
...(options || {}),
});
}
@@ -219,6 +527,8 @@
export interface LifePhoneDataCreateLifePayOrderInput {
userId?: string;
+ /** 娓犻亾Id */
+ channelId?: string;
productData?: LifePhoneData;
}
@@ -239,6 +549,8 @@
export interface LifeElectricDataCreateLifePayOrderInput {
userId?: string;
+ /** 娓犻亾Id */
+ channelId?: string;
productData?: LifeElectricData;
}
@@ -328,6 +640,17 @@
creationTime?: string;
/** 閫�娆炬椂闂� */
refundTime?: string;
+ /** 閫�娆剧敵璇锋椂闂� */
+ refundApplyTime?: string;
+ /** 閫�娆惧嚟璇� */
+ refundCredentialsImgUrl?: string;
+ refundApplyRemark?: string;
+ refundCheckRemark?: string;
+ /** 娓犻亾娴佹按鍙� */
+ acoolyOrderNo?: string;
+ frontStatus?: LifeRechargeConstants.LifePayOrderFrontStatusEnum;
+ lifePayRefundStatus?: LifeRechargeConstants.LifePayRefundStatusEnum;
+ acoolyStatus?: LifeRechargeConstants.ACOOLYStatusEnum;
}
export interface ElectricSupportAreaResponse {
@@ -380,6 +703,7 @@
lifePayType?: LifeRechargeConstants.LifePayTypeEnum;
openId?: string;
attach?: string;
+ payAppId?: string;
}
export interface ModelPaymentMiniPay {
@@ -391,3 +715,357 @@
timeExpire?: string;
message?: string;
}
+
+export interface QueryUserAccountAllListInput {
+ /** 鐢ㄦ埛Id */
+ userId?: string;
+ lifePayOrderType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+}
+
+export interface UserAccountListOutput {
+ id?: string;
+ lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+ /** 杩愯惀鍟� */
+ operators?: string;
+ /** 鎵嬫満鍙�/鎴峰彿 */
+ content?: string;
+ /** 鐪� */
+ province?: string;
+ /** 甯� */
+ city?: string;
+ /** 鎷撳睍瀛楁锛堢數璐圭被鍨嬶級 */
+ extraProperties?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ /** 鍒涘缓鏃堕棿 */
+ creationTime?: string;
+ isDeleted?: boolean;
+}
+
+export interface AddUpdateUserAccountInput {
+ id?: string;
+ /** 鐢ㄦ埛缂栧彿 */
+ userId?: string;
+ lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+ /** 杩愯惀鍟� */
+ operators?: string;
+ /** 鎵嬫満鍙�/鎴峰彿 */
+ content?: string;
+ /** 鐪� */
+ province?: string;
+ /** 甯� */
+ city?: string;
+ /** 鎷撳睍瀛楁锛堢數璐圭被鍨嬶級 */
+ extraProperties?: string;
+ /** 澶囨敞 */
+ remark?: string;
+}
+
+export interface LifeGasDataCreateLifePayOrderInput {
+ userId?: string;
+ /** 娓犻亾Id */
+ channelId?: string;
+ productData?: LifeGasData;
+}
+
+export interface LifeGasData {
+ /** 鍏呭�奸潰棰濓紝鍗曚綅涓哄厓銆� */
+ parValue: number;
+ /** 澶╃劧姘斿叕鍙哥被鍨嬶紝"zhong_ran"浠h〃涓噧鐕冩皵锛�"bei_jing"浠h〃鍖椾含鐕冩皵銆� */
+ gasOrgType: string;
+ /** 鐕冩皵鎴峰彿 */
+ gasAccount: string;
+ /** 鐪佷唤 */
+ province: string;
+ /** 鍩庡競 */
+ city?: string;
+}
+
+export interface GasParValueResponse {
+ success?: boolean;
+ requestNo?: string;
+ partnerId?: string;
+ service?: string;
+ version?: string;
+ protocol?: string;
+ context?: string;
+ ext?: any;
+ code?: string;
+ message?: string;
+ detail?: string;
+ gasParValue?: GasParValueOutput[];
+}
+
+export interface GasParValueOutput {
+ gasOrgName?: string;
+ gasOrgCode?: string;
+ parValue?: string[];
+ rate?: number;
+ comments?: string;
+}
+
+export interface RefundUserLifePayOrderInput {
+ id?: string;
+ /** 鐢ㄦ埛Id */
+ userId?: string;
+ refundApplyRemark?: string;
+}
+
+export interface QueryUserAccountListInput {
+ pageModel?: Pagination;
+ /** 鐢ㄦ埛Id */
+ userId?: string;
+ lifePayOrderType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+}
+
+export interface UserAccountListOutputPageOutput {
+ pageModel?: Pagination;
+ objectData?: any;
+ data?: UserAccountListOutput[];
+}
+
+export interface APIdeleteUserAccountParams {
+ id?: string;
+}
+
+export interface APIgetUserAccountDetailParams {
+ id?: string;
+}
+
+export interface UserAccountOutput {
+ id?: string;
+ lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+ /** 杩愯惀鍟� */
+ operators?: string;
+ /** 鎵嬫満鍙�/鎴峰彿 */
+ content?: string;
+ /** 鐪� */
+ province?: string;
+ /** 甯� */
+ city?: string;
+ /** 鎷撳睍瀛楁锛堢數璐圭被鍨嬶級 */
+ extraProperties?: string;
+ /** 澶囨敞 */
+ remark?: string;
+ /** 鍒涘缓鏃堕棿 */
+ creationTime?: string;
+ isDeleted?: boolean;
+}
+
+export interface APIgetUserLifePayOrderDetailParams {
+ orderNo?: string;
+}
+
+export interface ChannelsBaseInput {
+ checkChannelId?: string;
+}
+
+export interface AreaInfo {
+ areaCode?: number;
+ parentId?: number;
+ areaName?: string;
+ /** 1鐪� 2甯� 3鍖� 4闀� */
+ layer?: number;
+ sort?: number;
+ children?: AreaInfo[];
+ /** 绠�鏄撴嫾闊� */
+ simpleSpelling?: string;
+ /** 蹇�熸绱� */
+ quickQuery?: string;
+}
+
+export interface GetPayStatusByOrderNoInput {
+ checkChannelId?: string;
+ orderNo?: string;
+}
+
+export interface APIgetIntroInfoParams {
+ type?: LifeRechargeConstants.LifePayOrderTypeEnum;
+}
+
+export interface LifePayIntroInfoOutput {
+ type?: IntroInfoTypeEnum;
+ lifePayType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+ /** 鎽樿 */
+ contentSummary?: string;
+ /** 鏂囨湰鍐呭 */
+ content?: string;
+ /** 鍥剧墖/瑙嗛璺緞 */
+ path?: string;
+ /** 鎺掑簭 */
+ sequence?: number;
+}
+
+export type IntroInfoTypeEnum = 0 | 1 | 2 | 3 | 4;
+
+export interface ChannelRateOutput {
+ channlesRate?: number;
+}
+
+export interface CreateEditPayChannelsInput {
+ id?: string;
+ channlesName?: string;
+ channlesNum?: string;
+ channlesRate?: number;
+ channlesRakeRate?: number;
+}
+
+export interface LifePayPhoneMesssageCodeLoginOutput {
+ /** 鐢ㄦ埛Id */
+ userId?: string;
+ /** 鎺ㄥ箍鍛業D */
+ promoterIdNumber?: string;
+ /** 鏄惁鏄悗鍙扮敤鎴� */
+ isBackClientUser?: boolean;
+ /** 娓犻亾鍙� */
+ channlesNum?: ChannelOutput[];
+}
+
+export interface ChannelOutput {
+ name?: string;
+ channlesNum?: string;
+ channlesId?: string;
+ switchType?: LifeRechargeConstants.LifePaySwitchTypeEnum;
+}
+
+export interface LifePayUserMesssageByIduserInput {
+ pageModel?: Pagination;
+ checkChannelId?: string;
+ /** 鐢ㄦ埛缂栧彿 */
+ id?: string;
+}
+
+export interface TopStatisticsInput {
+ channleList?: string[];
+}
+
+export interface TopStatisticsOutput {
+ /** 鍒涘缓鏃堕棿 */
+ creationTime?: string;
+ /** 璐︽埛浣欓 */
+ amount?: number;
+ /** 绱鏀舵 */
+ accumulatedReceipts?: number;
+ /** 鏄ㄦ棩鏀舵 */
+ receiptsYesterday?: number;
+ /** 绱鏀跺叆 */
+ accumulatedIncome?: number;
+ /** 绱涓嬪崟 */
+ accumulatedOrders?: number;
+ /** 鏄ㄦ棩涓嬪崟 */
+ ordersNumYesterday?: number;
+ /** 鏄ㄦ棩鎴愬姛 */
+ yesterdaySuccess?: number;
+ /** 鏄ㄦ棩澶辫触 */
+ yesterdayFail?: number;
+ /** 绱鐢ㄦ埛 */
+ accumulatedUsers?: number;
+ /** 鏄ㄦ棩娲昏穬鐢ㄦ埛 */
+ yesterdayActiveUsers?: number;
+ /** 绱浣i噾 */
+ accumulatedChannlesRakePrice?: number;
+}
+
+export interface QueryLifePayChannlesInput {
+ status?: LifeRechargeConstants.LifePayChannelsStatsEnum;
+}
+
+export interface APIsetClickCountParams {
+ idnumber?: string;
+}
+
+export interface CreateChannelConsultationInput {
+ /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */
+ userId?: string;
+ /** 鎺ㄥ箍浜篒d */
+ idNumber?: string;
+ /** 鍜ㄨ浜� */
+ name?: string;
+ agentType?: LifeRechargeConstants.LifePayChannelAgentType;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鍏徃鍚嶇О */
+ companyName?: string;
+ /** 瀹㈡埛璧勬簮 */
+ customerResources?: string;
+}
+
+export interface CreateOrUpdatePromoterInput {
+ /** Id */
+ id?: string;
+ /** 瀹㈡埛绔敤鎴稩d 濡傛湁 */
+ userId?: string;
+ /** ID */
+ idNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ name?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 澶囨敞 */
+ remark?: string;
+}
+
+export interface APIgetChannelConsultationByIdParams {
+ id?: string;
+}
+
+export type LifePayChannelAgentType = 1 | 2 | 3;
+
+export type LifePayChannelConsultationFollowupStatus = 1 | 2 | 3 | 4;
+
+export 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;
+}
+
+export interface APIgetPromoterParams {
+ phoneNumber?: string;
+}
+
+export interface PromoterDto {
+ /** Id */
+ id?: string;
+ /** 鍜ㄨ鏃堕棿 */
+ creationTime?: string;
+ /** ID */
+ idNumber?: string;
+ /** 鎺ㄥ箍鍛� */
+ name?: string;
+ /** 鑱旂郴鏂瑰紡 */
+ phoneNumber?: string;
+ /** 鐐瑰嚮鏁� */
+ clickCount?: number;
+ /** 鐢宠鏁� */
+ applyCount?: number;
+ /** 澶囨敞 */
+ remark?: string;
+}
+
+export interface CreateOrUpdatePromoterOutput {
+ /** Id */
+ id?: string;
+ /** IdNumber */
+ idNumber?: string;
+}
--
Gitblit v1.9.1