syntax = "v1" type ( resp { Error_code int64 `json:"error_code"` //响应代码 Error_msg string `json:"error_msg"` //响应消息 Data interface{} `json:"data"` } orderListReq { Appid string `header:"appid"` //应用标识 UserId string `header:"userId,optional"` //老库用户id NewUserId int64 `header:"newUserId,optional"` //新库用户id NewUserIds string `json:"user_id,optional"` //社交中心使用 PageNum int64 `json:"page_num"` //当前页码 PageSize int64 `json:"page_size"` //每页数量 } orderInfoReq { Appid string `header:"appid"` //应用标识 OrderCode string `json:"order_code"` //订单编号 DataType int64 `json:"data_type"` //1新库 2老库 } orderStatusUpdateReq { Appid string `header:"appid"` //应用标识 OrderCode string `json:"order_code"` //订单编号 DataType int64 `json:"data_type"` //1新库 2老库 OrderStatus int64 `json:"order_status"` //订单状态 } OrderExamineReq { Appid string `header:"appid"` //应用标识 OrderCode string `json:"order_code"` //订单编号 AuditStatus int64 `json:"audit_status"` //审核状态;0:待提交 1:待审核 2:审核中 3:审核通过(默认值,前台应用) 4:审核不通过 AuditPerson int64 `json:"audit_person"` //审核人 Remark string `json:"remark"` //备注 } ) service orderApplication-api { @handler OrderList post /orderApplication/order/orderList (orderListReq) returns (resp) @handler OrderInfo post /orderApplication/order/orderInfo (orderInfoReq) returns (resp) @handler OrderStatusUpdate post /orderApplication/order/orderStatusUpdate (orderStatusUpdateReq) returns (resp) @handler OrderExamine post /orderApplication/order/OrderExamine (OrderExamineReq) returns (resp) }