feat: add model
This commit is contained in:
parent
c5f6a24b3a
commit
42a75ba800
6 changed files with 117 additions and 1 deletions
|
|
@ -26,6 +26,16 @@ async fn test_quick_dev() -> Result<()> {
|
|||
)
|
||||
);
|
||||
req_login.await?.print().await?;
|
||||
let req_login = hc.do_post(
|
||||
"/api/login",
|
||||
json!(
|
||||
{
|
||||
"username": "demo1",
|
||||
"password": "demowrong"
|
||||
}
|
||||
)
|
||||
);
|
||||
req_login.await?.print().await?;
|
||||
|
||||
hc.do_get("/hello2/mike").await?.print().await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue