Skip to content

Commit

Permalink
feat(BE): add banner initial data
Browse files Browse the repository at this point in the history
  • Loading branch information
dotoleeoak committed Apr 12, 2022
1 parent fc645b0 commit 2b46461
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions backend/banner/fixtures/data.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
- model: banner.banner
pk: 1
fields:
title: banner1.png
create_time: 2022-02-17 10:48:49.019174+00:00
path: /public/upload/banner1.png
visible: true

- model: banner.banner
pk: 2
fields:
title: banner2.png
create_time: 2022-02-17 10:48:49.019174+00:00
path: /public/upload/banner2.png
visible: true

- model: banner.banner
pk: 3
fields:
title: banner3.png
create_time: 2022-02-17 10:48:49.019174+00:00
path: /public/upload/banner3.png
visible: true

- model: banner.banner
pk: 4
fields:
title: banner4.png
create_time: 2022-02-17 10:48:49.019174+00:00
path: /public/upload/banner4.png
visible: true
Binary file removed frontend/src/assets/banner1.png
Binary file not shown.
Binary file removed frontend/src/assets/banner2.png
Binary file not shown.
Binary file removed frontend/src/assets/banner3.png
Binary file not shown.
Binary file removed frontend/src/assets/banner4.png
Binary file not shown.

0 comments on commit 2b46461

Please sign in to comment.