更新logic response等使用方法

This commit is contained in:
eson
2023-06-07 11:57:04 +08:00
parent 12fd21df01
commit 50106e3c12
9 changed files with 31 additions and 41 deletions

View File

@@ -36,7 +36,6 @@ service home-user-auth {
get /user/basic-info(request) returns (response);
}
type RequestBasicInfoForm {
FirstName string `form:"first_name,optional" db:"first_name"` // FirstName
LastName string `form:"last_name,optional" db:"last_name"` // LastName
@@ -101,4 +100,4 @@ type DataUserBasicInfo {
type DataGetType {
Id int64 `db:"id" json:"key"` // ID
Name string `db:"name" json:"name"` // 餐厅名字
}
}