| | |
| | | } |
| | | |
| | | async lifePayPhoneMesssageCodeLogin(body: PhoneMesssageCodeLoginInput, options?: RequestConfig) { |
| | | return this.request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', { |
| | | return this.request<LifePayPhoneMesssageCodeLoginOutput>( |
| | | '/api/Account/LifePayPhoneMesssageCodeLogin', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 获取折扣 GET /api/LifePay/GetRate */ |
| | |
| | | '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(options?: RequestConfig) { |
| | | return this.request<CreateEditPayChannelsInput[]>('/api/LifePay/GetLifePayChannlesAllList', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | export interface ChannelRateOutput { |
| | | channlesRate?: number; |
| | | } |
| | | |
| | | export interface CreateEditPayChannelsInput { |
| | | id?: string; |
| | | channlesName?: string; |
| | | channlesNum?: string; |
| | | channlesRate?: number; |
| | | channlesRakeRate?: number; |
| | | } |
| | | |
| | | export interface LifePayPhoneMesssageCodeLoginOutput { |
| | | /** 用户Id */ |
| | | userId?: string; |
| | | /** 是否是后台用户 */ |
| | | isBackClientUser?: boolean; |
| | | /** 渠道号 */ |
| | | channlesNum?: string[]; |
| | | } |