SpringBoot接口返回结果封装

1.创建Api返回码接口 /** * Api返回码接口 */ public interface ICode { Integer getCode(); String getMessage(); } 2.实现ICode接口 /** * API返回码封装类 */ @A