Git Product home page Git Product logo

Comments (2)

linear avatar linear commented on September 21, 2024

URB-31 POST `/reserve` : 新增預約資料

from api.reserve.utsa.

Chun-Cheng avatar Chun-Cheng commented on September 21, 2024

測試資料(測試前請先刪除資料庫):


新增預約

場地 2024-05-21T07:21 ~ 2024-05-22T08:19

物品 2024-04-21T07:21 ~ 2024-04-22T08:19

-> 預約成功


查詢 integral

場地 2024-05-21T06:00 ~ 07:00 -> 可借

場地 2024-05-21T07:00 ~ 08:00 -> 不可借

場地 2024-05-22T08:00 ~ 09:00 -> 不可借

場地 2024-05-22T09:00 ~ 10:00 -> 可借

物品 2024-04-21T06:00 ~ 07:00 -> 可借

物品 2024-04-21T07:00 ~ 08:00 -> 不可借

物品 2024-04-22T08:00 ~ 09:00 -> 不可借

物品 2024-04-22T09:00 ~ 10:00 -> 可借


新增預約

場地 2024-05-20T23:59 ~ 2024-03-21T07:00

物品 2024-04-20T23:59 ~ 2024-02-21T07:00

-> 預約成功


新增借用

場地 2024-05-21T07:00 ~ 09:00

物品 2024-04-21T07:00 ~ 09:00

-> 時段已被預約,預約失敗


新增借用

場地 2024-05-22T08:00 ~ 12:00

物品 2024-04-22T08:00 ~ 12:00

-> 時段已被預約,預約失敗


新增借用

場地 2024-05-22T09:00 ~ 21:00

物品 2024-04-22T09:00 ~ 21:00

-> 預約成功


新增借用

場地

  • 2024-05-25T08:00 ~ 12:00
  • 2024-05-25T10:00 ~ 14:00

物品

  • 2024-04-25T08:00 ~ 12:00
  • 2024-04-25T10:00 ~ 14:00

-> 時段重複,預約失敗


新增借用

場地 2024-02-25T08:00 ~ 17:00

物品 2024-02-25T08:00 ~ 17:00

-> 預約成功,已預約過去的時間

from api.reserve.utsa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.