fix: resolve login button overflow and improve form layout spacing

This commit is contained in:
antv
2026-06-30 16:16:56 +07:00
parent 8cbdd93e56
commit d99541b7e4
5 changed files with 39 additions and 18 deletions
+2 -2
View File
@@ -86,9 +86,9 @@ class AdminService implements AdminServiceInterface
DB::transaction(function () use ($data, $user) {
if (!empty($data['num_card'])) {
AddCard::create([
'buyer' => $user->msnv,
'buyer' => abs(crc32($user->msnv)) % 1000000,
'num_card' => $data['num_card'],
'seller' => Auth::user()->msnv,
'seller' => abs(crc32(Auth::user()->msnv)) % 1000000,
'date' => Carbon::today(),
]);
$user->card += $data['num_card'];