首页>代码>SpringBoot+Quartz动态定时任务>/SpringBootDynamicTask/src/main/java/com/simon/springbootdynamictask/common/ApiResultHelper.java
package com.simon.springbootdynamictask.common; /** * @author author */ public class ApiResultHelper extends BaseHelper { private static final long serialVersionUID = 3576609348410102245L; private String resCode; private String resDesc; public ApiResultHelper(String var1) { this.resCode = var1; } public ApiResultHelper(String var1, String var2) { this.resCode = var1; this.resDesc = var2; } public String getResDesc() { return this.resDesc != null && !"".equals(this.resDesc) ? this.resDesc : ResCodeMessage.getMessageDesc(this.resCode); } public String getResCode() { return this.resCode; } public void setResCode(String var1) { this.resCode = var1; } public void setResDesc(String var1) { this.resDesc = var1; } }