fix(epay): allow custom payment types via string input

- Replace select dropdown with string input for `type`
This commit is contained in:
xboard
2025-09-05 16:16:30 +08:00
parent 3238a83d4e
commit b14477098d

View File

@@ -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 等,可自定义'
],
];
}