TODO: 反射
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user