mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-11-17 05:33:42 +08:00
在线充值支持设置最低充值数量
This commit is contained in:
@@ -20,6 +20,7 @@ const SystemSetting = () => {
|
||||
EpayId: '',
|
||||
EpayKey: '',
|
||||
Price: 7.3,
|
||||
MinCharge: 1,
|
||||
TopupGroupRatio: '',
|
||||
PayAddress: '',
|
||||
Footer: '',
|
||||
@@ -308,6 +309,15 @@ const SystemSetting = () => {
|
||||
min={0}
|
||||
onChange={handleInputChange}
|
||||
/>
|
||||
<Form.Input
|
||||
label='最低充值数量'
|
||||
placeholder='例如:10,最低10刀起'
|
||||
value={inputs.MinCharge}
|
||||
name='MinCharge'
|
||||
|
||||
min={1}
|
||||
onChange={handleInputChange}
|
||||
/>
|
||||
</Form.Group>
|
||||
<Form.Group widths='equal'>
|
||||
<Form.TextArea
|
||||
|
||||
@@ -202,12 +202,12 @@ const TopUp = () => {
|
||||
</Grid>
|
||||
</Segment>
|
||||
<Segment>
|
||||
<Header as='h3'>在线充值,最低1</Header>
|
||||
<Header as='h3'>在线充值</Header>
|
||||
<Grid columns={2} stackable>
|
||||
<Grid.Column>
|
||||
<Form>
|
||||
<Form.Input
|
||||
placeholder='充值金额,最低1'
|
||||
placeholder='充值金额'
|
||||
name='redemptionCount'
|
||||
type={'number'}
|
||||
value={topUpCount}
|
||||
|
||||
Reference in New Issue
Block a user