Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

物品貸し出しシステムの追加 #184

Open
gpioblink opened this issue Nov 19, 2020 · 2 comments
Open

物品貸し出しシステムの追加 #184

gpioblink opened this issue Nov 19, 2020 · 2 comments

Comments

@gpioblink
Copy link
Member

No description provided.

@gpioblink
Copy link
Member Author

進捗報告

DBまわりの実装はそこそこ完成

image

@gpioblink
Copy link
Member Author

APIの仕様予定

/api/borrow GET 特定ユーザーが貸出中のアイテム一覧を取得。何も指定しないと全ユーザーの貸し出し中物品が分かる。
/api/borrow POST { sid:"s1240095", operation: [ {id:"1", op: "return"}, {id:"2", op:"borrow"}] } のような形式で指定して貸し借り操作。

/api/item GET 在庫情報の検索, 表示
/api/item PUT 新規在庫の追加
/api/item POST 在庫情報の修正
/api/item DELETE 在庫情報の削除

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant