在最近的项目中,我们使用protobuf 的enum 类型来表示接口的返回码,类似这样: enum RtnCode { SUCCESS = 0, ERROR_1 = 1, ERROR_2 = 2, } ...
確定! 回上一頁