6
0
Fork 0
base
Jing Li 2023-11-13 11:00:35 +08:00
parent 5916ebcb72
commit 41ac729769
1 changed files with 2 additions and 2 deletions

View File

@ -124,8 +124,8 @@ class VipController extends AdminController
$form->switch('status')->default(1);
$form->textarea('description');
$form->currency('points', '赠送积分')
->symbol('¥')
$form->number('points', '赠送积分')
->min(0)
->customFormat(fn () => data_get($this->gift, 'points'));
$form->table('coupon', function ($table) {
$table->select('id', '优惠券')->options(Coupon::class)->ajax('api/coupons');