You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
493 B
20 lines
493 B
package com.ynxbd.wx.wxfactory.bean;
|
|
|
|
import lombok.Getter;
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.Setter;
|
|
import lombok.ToString;
|
|
|
|
@Getter
|
|
@Setter
|
|
@ToString(callSuper = true)
|
|
@NoArgsConstructor
|
|
public class WxBaseResult {
|
|
private final String SUCCESS_CODE = "0";
|
|
private String errCode;
|
|
private String errMsg;
|
|
|
|
public boolean isSuccess() {
|
|
return this.errCode == null || this.errCode.isEmpty() || SUCCESS_CODE.equals(this.errCode);
|
|
}
|
|
}
|
|
|