| | |
| | | [LifePayChannelAgentType.BrandAgent]: 'åç代ç', |
| | | [LifePayChannelAgentType.AreaAgent]: 'åºå代ç', |
| | | }; |
| | | |
| | | export enum AnnouncementTypeEnum { |
| | | /**æ®éå
Œ */ |
| | | Normal = 10, |
| | | /**å¼¹çªå
Œ */ |
| | | Dialog = 20, |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** æ°å¢ç¼è¾å
Œ POST /api/LifePayAnnouncement/CreateOrEditLifePayAnnouncement */ |
| | | export async function createOrEditLifePayAnnouncement( |
| | | body: API.CreateEditLifePayAnnouncementInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePayAnnouncement/CreateOrEditLifePayAnnouncement', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å é¤å
Œ GET /api/LifePayAnnouncement/DeleteLifePayAnnouncement */ |
| | | export async function deleteLifePayAnnouncement( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIdeleteLifePayAnnouncementParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePayAnnouncement/DeleteLifePayAnnouncement', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åå
¬åå页 POST /api/LifePayAnnouncement/GetLifePayAnnouncementPage */ |
| | | export async function getLifePayAnnouncementPage( |
| | | body: API.GetLifePayAnnouncementPageInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.CreateEditLifePayAnnouncementOutputPageOutput>( |
| | | '/api/LifePayAnnouncement/GetLifePayAnnouncementPage', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è·åå½åå±ç¤ºä¸çå
Œ GET /api/LifePayAnnouncement/GetShowingLifePayAnnouncement */ |
| | | export async function getShowingLifePayAnnouncement(options?: API.RequestConfig) { |
| | | return request<API.CreateEditLifePayAnnouncementOutput>( |
| | | '/api/LifePayAnnouncement/GetShowingLifePayAnnouncement', |
| | | { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** æ°å¢ç¼è¾ææ£ééé
ç½® POST /api/LifePayRate/CreateOrEditLifePayRateChannel */ |
| | | export async function createOrEditLifePayRateChannel( |
| | | body: API.CreateEditRateChannelInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePayRate/CreateOrEditLifePayRateChannel', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å 餿æ£éé POST /api/LifePayRate/DeleteRateChannel */ |
| | | export async function deleteRateChannel( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIdeleteRateChannelParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePayRate/DeleteRateChannel', { |
| | | method: 'POST', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åææ£ééé
ç½®å表 POST /api/LifePayRate/GetLifePayRateChannelAllList */ |
| | | export async function getLifePayRateChannelAllList( |
| | | body: API.QueryRateChannelInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.CreateEditRateChannelOutput[]>( |
| | | '/api/LifePayRate/GetLifePayRateChannelAllList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è·åææ£ééé
ç½®å页 POST /api/LifePayRate/GetLifePayRateChannelPage */ |
| | | export async function getLifePayRateChannelPage(body: API.PageInput, options?: API.RequestConfig) { |
| | | return request<API.CreateEditRateChannelOutputPageOutput>( |
| | | '/api/LifePayRate/GetLifePayRateChannelPage', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è®¾ç½®ææ£ééç¶æ GET /api/LifePayRate/SetRateChannelStatus */ |
| | | export async function setRateChannelStatus( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIsetRateChannelStatusParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/LifePayRate/SetRateChannelStatus', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/WxPayNotify/WxPayDomesticRefundsNotifyImp */ |
| | | export async function wxPayDomesticRefundsNotifyImp( |
| | | body: API.WxPayDomesticRefundsNotice, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/WxPayNotify/WxPayDomesticRefundsNotifyImp', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 微信æ¯ä»åè°éç¥ POST /api/WxPayNotify/WxRechargeNotify */ |
| | | export async function wxRechargeNotify( |
| | | body: API.WxRechargeNotifyInput, |
| | |
| | | import * as IdentityUser from './IdentityUser'; |
| | | import * as IdentityUserLookup from './IdentityUserLookup'; |
| | | import * as LifePay from './LifePay'; |
| | | import * as LifePayAnnouncement from './LifePayAnnouncement'; |
| | | import * as LifePayRate from './LifePayRate'; |
| | | import * as Log from './Log'; |
| | | import * as OperateHistory from './OperateHistory'; |
| | | import * as Permissions from './Permissions'; |
| | |
| | | IdentityUser, |
| | | IdentityUserLookup, |
| | | LifePay, |
| | | LifePayAnnouncement, |
| | | LifePayRate, |
| | | Log, |
| | | OperateHistory, |
| | | Permissions, |
| | |
| | | column?: ModuleColumnDto[]; |
| | | } |
| | | |
| | | type AnnouncementStatusEnum = 10 | 20 | 30; |
| | | |
| | | type AnnouncementTypeEnum = 10 | 20; |
| | | |
| | | interface APIaddOrEditModuleStatusParams { |
| | | id?: string; |
| | | isMenu?: number; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteLifePayAnnouncementParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteModuleButtonParams { |
| | | id?: string; |
| | | } |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteRateChannelParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteRoleParams { |
| | | id?: string; |
| | | } |
| | |
| | | status?: LifePayChannelsStatsEnum; |
| | | } |
| | | |
| | | interface APIsetRateChannelStatusParams { |
| | | id?: string; |
| | | status?: LifePayRateChannelStatus; |
| | | } |
| | | |
| | | interface APIstatisticsByDateParams { |
| | | days?: number; |
| | | } |
| | |
| | | customerResources?: string; |
| | | } |
| | | |
| | | interface CreateEditLifePayAnnouncementInput { |
| | | id?: string; |
| | | announcementType: AnnouncementTypeEnum; |
| | | /** çææ¥æ */ |
| | | startTime: string; |
| | | /** æªæ¢æ¥æ */ |
| | | endTime: string; |
| | | /** å
¬åå
容 */ |
| | | announcementContent: string; |
| | | } |
| | | |
| | | interface CreateEditLifePayAnnouncementOutput { |
| | | id?: string; |
| | | announcementType: AnnouncementTypeEnum; |
| | | /** çææ¥æ */ |
| | | startTime: string; |
| | | /** æªæ¢æ¥æ */ |
| | | endTime: string; |
| | | /** å
¬åå
容 */ |
| | | announcementContent: string; |
| | | creationTime?: string; |
| | | status?: AnnouncementStatusEnum; |
| | | } |
| | | |
| | | interface CreateEditLifePayAnnouncementOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: CreateEditLifePayAnnouncementOutput[]; |
| | | } |
| | | |
| | | interface CreateEditPayChannelsInput { |
| | | id?: string; |
| | | channlesName?: string; |
| | |
| | | data?: CreateEditPayChannelsInput[]; |
| | | } |
| | | |
| | | interface CreateEditRateChannelInput { |
| | | id?: string; |
| | | lifePayOrderType: LifePayOrderTypeEnum; |
| | | /** éé */ |
| | | rateChannelName: string; |
| | | /** ID */ |
| | | code: string; |
| | | /** ä¾åºåææ£ */ |
| | | supplierRate: number; |
| | | /** å¹³å°ææ£ */ |
| | | platformRate: number; |
| | | status: LifePayRateChannelStatus; |
| | | /** éç¥å
容 */ |
| | | remark: string; |
| | | } |
| | | |
| | | interface CreateEditRateChannelOutput { |
| | | id?: string; |
| | | lifePayOrderType: LifePayOrderTypeEnum; |
| | | /** éé */ |
| | | rateChannelName: string; |
| | | /** ID */ |
| | | code: string; |
| | | /** ä¾åºåææ£ */ |
| | | supplierRate: number; |
| | | /** å¹³å°ææ£ */ |
| | | platformRate: number; |
| | | status: LifePayRateChannelStatus; |
| | | /** éç¥å
容 */ |
| | | remark: string; |
| | | creationTime?: string; |
| | | } |
| | | |
| | | interface CreateEditRateChannelOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: CreateEditRateChannelOutput[]; |
| | | } |
| | | |
| | | interface CreateLifePayOrderOutput { |
| | | orderNo?: string; |
| | | } |
| | |
| | | groups?: FeatureGroupDto[]; |
| | | } |
| | | |
| | | interface GetLifePayAnnouncementPageInput { |
| | | pageModel?: Pagination; |
| | | creationTimeBegin?: string; |
| | | creationTimeEnd?: string; |
| | | startTime?: string; |
| | | endTime?: string; |
| | | status?: AnnouncementStatusEnum; |
| | | } |
| | | |
| | | interface GetOperateHistoryInput { |
| | | pageModel?: Pagination; |
| | | relationId?: string; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | type LifePayRateChannelStatus = 10 | -10; |
| | | |
| | | interface LifePayRateInput { |
| | | rateType?: LifePayRateTypeEnum; |
| | | rate?: number; |
| | |
| | | phoneChargeOrder?: PhoneChargeOrderOutput; |
| | | } |
| | | |
| | | interface QueryRateChannelInput { |
| | | status?: LifePayRateChannelStatus; |
| | | } |
| | | |
| | | interface QueryUserAccountAllListInput { |
| | | pageModel?: Pagination; |
| | | checkChannelId?: string; |
| | |
| | | incomeList?: ReceiptsDetail[]; |
| | | } |
| | | |
| | | interface RefundAmount { |
| | | total: number; |
| | | refund: number; |
| | | payerTotal: string; |
| | | payerRefund: string; |
| | | } |
| | | |
| | | interface RefundLifePayOrderInput { |
| | | id?: string; |
| | | /** ä¸ä¼ åè¯ */ |
| | |
| | | unionId?: string; |
| | | } |
| | | |
| | | interface WxPayDomesticRefundsNotice { |
| | | mchid?: string; |
| | | outTradeNo?: string; |
| | | transactionId?: string; |
| | | outRefundNo?: string; |
| | | refundStatus?: string; |
| | | amount?: RefundAmount; |
| | | } |
| | | |
| | | interface WxPayDomesticRefundsQueryReponse { |
| | | code?: string; |
| | | message?: string; |