mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-03 10:30:51 +08:00
fix(epay): allow custom payment types via string input
- Replace select dropdown with string input for `type`
This commit is contained in:
@@ -45,12 +45,8 @@ class Plugin extends AbstractPlugin implements PaymentInterface
|
||||
],
|
||||
'type' => [
|
||||
'label' => '支付类型',
|
||||
'type' => 'select',
|
||||
'options' => [
|
||||
['value' => 'alipay', 'label' => '支付宝'],
|
||||
['value' => 'wxpay', 'label' => '微信支付'],
|
||||
['value' => 'qqpay', 'label' => 'QQ钱包']
|
||||
]
|
||||
'type' => 'string',
|
||||
'description' => '支付类型,如: alipay, wxpay, qqpay 等,可自定义'
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user