syntax = "v1" type ( resp { Error_code int64 `json:"error_code"` //响应代码 Error_msg string `json:"error_msg"` //响应消息 Data interface{} `json:"data"` } buyProductListReq { EntId int64 `header:"entId"` } usePersonListReq { WaitEmpowerId int64 `json:"wait_empower_id"` } addUsePersonReq { WaitEmpowerId int64 `json:"wait_empower_id"` EntId int64 `header:"entId"` EntUserId int64 `json:"ent_user_id"` } delUsePersonReq { EntnichePowerId int64 `json:"entniche_power_id"` } ) service entManageApplication-api { @handler BuyProductList post /entManageApplication/buyProductList (buyProductListReq) returns (resp) @handler UsePersonList post /entManageApplication/usePersonList (usePersonListReq) returns (resp) @handler AddUsePerson post /entManageApplication/addUsePerson (addUsePersonReq) returns (resp) @handler DelUsePerson post /entManageApplication/delUsePerson (delUsePersonReq) returns (resp) }