update: payment icon

This commit is contained in:
tokumeikoi
2021-12-13 14:24:53 +08:00
parent a69eb4058b
commit b392fa3345
9 changed files with 10 additions and 7 deletions

View File

@ -69,6 +69,7 @@ class PaymentController extends Controller
]);
if (!Payment::create([
'name' => $request->input('name'),
'icon' => $request->input('icon'),
'payment' => $request->input('payment'),
'config' => $request->input('config'),
'uuid' => Helper::randomChar(8)

View File

@ -211,7 +211,8 @@ class OrderController extends Controller
$methods = Payment::select([
'id',
'name',
'payment'
'payment',
'icon'
])
->where('enable', 1)->get();