GET api/Finance/GetFinanceConfig

获取财务配置

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

获取财务配置

FinPaymentConfigDto
NameDescriptionTypeAdditional information
CreditName

积分名称

string

None.

BalanceName

余额名称

string

None.

CanCashout

是否允许余额提现

boolean

None.

CashoutMinAmount

提现最低金额(分)

integer

None.

CashoutMinAmountYuan

提现最低金额(元)

decimal number

None.

CreditBalanceRatio

1元等于多少积分

integer

None.

BalanceUnit

货币单位名称

string

None.

BalanceSymbol

货币单位符号

string

None.

CreditFinanceItems

财务项目

Collection of FinItemDto

None.

CashOutNeedAudit

提现是否需要审批

boolean

None.

CashOutThreshold

提现审批金额阈值(分),大于该阈值需要审批

integer

None.

CashOutThresholdYuan

提现审批金额阈值(元),大于该阈值需要审批

decimal number

None.

Response Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<FinPaymentConfigDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Common.Service.Dto.Finance">
  <BalanceName>sample string 2</BalanceName>
  <BalanceSymbol>sample string 8</BalanceSymbol>
  <BalanceUnit>sample string 7</BalanceUnit>
  <CanCashout>true</CanCashout>
  <CashOutNeedAudit>true</CashOutNeedAudit>
  <CashOutThreshold>1110</CashOutThreshold>
  <CashOutThresholdYuan>11.1</CashOutThresholdYuan>
  <CashoutMinAmount>510</CashoutMinAmount>
  <CashoutMinAmountYuan>5.1</CashoutMinAmountYuan>
  <CreditBalanceRatio>6</CreditBalanceRatio>
  <CreditFinanceItems>
    <FinItemDto>
      <AllowCustomPrice>true</AllowCustomPrice>
      <CanBeRefunded>true</CanBeRefunded>
      <CreditNum>6</CreditNum>
      <ExtraParams>sample string 8</ExtraParams>
      <Id>1</Id>
      <Level>11</Level>
      <Module>None</Module>
      <Name>sample string 2</Name>
      <NumTimes>10</NumTimes>
      <PayMode>ByCredit</PayMode>
      <PeriodLength>12</PeriodLength>
      <PeriodUnit>Day</PeriodUnit>
      <PriceFen>510</PriceFen>
      <PriceYuan>5.1</PriceYuan>
      <Sellable>true</Sellable>
    </FinItemDto>
    <FinItemDto>
      <AllowCustomPrice>true</AllowCustomPrice>
      <CanBeRefunded>true</CanBeRefunded>
      <CreditNum>6</CreditNum>
      <ExtraParams>sample string 8</ExtraParams>
      <Id>1</Id>
      <Level>11</Level>
      <Module>None</Module>
      <Name>sample string 2</Name>
      <NumTimes>10</NumTimes>
      <PayMode>ByCredit</PayMode>
      <PeriodLength>12</PeriodLength>
      <PeriodUnit>Day</PeriodUnit>
      <PriceFen>510</PriceFen>
      <PriceYuan>5.1</PriceYuan>
      <Sellable>true</Sellable>
    </FinItemDto>
  </CreditFinanceItems>
  <CreditName>sample string 1</CreditName>
</FinPaymentConfigDto>