Skip to content

Commit 3231a90

Browse files
authored
Merge pull request #93 from beclab/fix/smb_history
fix: smb history req and resp bugfix
2 parents 89b122d + 7815a88 commit 3231a90

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

pkg/hertz/biz/handler/api/external/external_service.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/hertz/idl/external.thrift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ struct UnmountResp {
4747
}
4848

4949
struct SmbInfo {
50-
1: optional string url;
51-
2: optional string username;
52-
3: optional string password;
53-
4: optional i64 timestamp;
50+
1: string url;
51+
2: string username;
52+
3: string password;
53+
4: i64 timestamp;
5454
}
5555

5656
struct GetSmbHistoryResp {
57-
1: optional list<SmbInfo> data;
57+
1: list<SmbInfo> data;
5858
}
5959

6060
struct SmbHistoryInfo {
6161
1: required string url (api.data="url");
62-
2: optional string username (api.data="username");
63-
3: optional string password (api.data="password");
62+
2: string username (api.data="username");
63+
3: string password (api.data="password");
6464
}
6565

6666
struct PutSmbHistoryReq {

0 commit comments

Comments
 (0)