Skip to content

Commit

Permalink
Hotfix: 因應資料庫規格的變動,修改相關的程式碼
Browse files Browse the repository at this point in the history
  • Loading branch information
hyseanlin committed Dec 24, 2020
1 parent ee49f71 commit efba49d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/Http/Controllers/PlayersController.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
use App\Models\Player;
use App\Models\Team;
use Carbon\Carbon;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;

class PlayersController extends Controller
Expand Down
2 changes: 2 additions & 0 deletions resources/views/players/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
球員編號:{{ $player->id }}<br/>
球員姓名:{{ $player->name }}<br/>
所屬球隊:{{ $team_name }}<br/>
球員生日:{{ $player->birthdate }}<br/>
球員到職日:{{ $player->onboarddate }}<br/>
球員位置:{{ $player->position }}<br/>
球員身高:{{ $player->height }}<br/>
球員體重:{{ $player->weight }}<br/>
Expand Down

0 comments on commit efba49d

Please sign in to comment.