TODO: 反射

This commit is contained in:
eson
2023-06-28 19:32:41 +08:00
parent 0851c922ef
commit d4e75b1efc
27 changed files with 527 additions and 186 deletions

View File

@@ -37,6 +37,9 @@ service home-user-auth {
@handler UserAddAddressHandler
post /user/add-address(RequestAddAddress) returns (response);
@handler UserContactServiceHandler
post /user/contact-service (RequestContactService) returns (response);
// @handler UserOderListHandler
// get /user/order-list(RequestOrderId) returns (response);
@@ -44,6 +47,15 @@ service home-user-auth {
post /user/order-delete(RequestOrderId) returns (response);
}
type RequestContactService {
Type string `json:"type"` // 类型
RelationID int64 `json:"relation_id"` // 关系id
Name string `json:"name"` // 名字
Email string `json:"email"` // email
Phone string `json:"phone,optional"` // phone
Remark string `json:"remark,optional"` // remark标记
}
type RequestBasicInfoForm {
FirstName string `json:"first_name"` // FirstName
LastName string `json:"last_name"` // LastName