資料分三大部分使用者、文章、系統版本,圖片部分使用NOSQL方式儲存.
依據輸入使用者、密碼讀取使用者資訊.
URL /login
Method POST
Data Params
[
IdUser,
Password,
]
Success Response:
Code:200 OK
Error Response:
Code : 400 Bad Request
Content : { error : "輸入資料錯誤" }
Examples:
POST /login
Response:
[
IdUser,
Password,
Permission,
UserName,
Nickname,
Gender,
Phone,
Birthday,
Email,
CreatedTime,
UpdatedTime,
]
取得現有系統版本資訊
URL /systemVersion
Method Get
Data Params None
Success Response:
Code:200 OK
Examples:
Get /systemVersion
Response:
[
Version
Name
UpdatedTime
]