|
@@ -6,6 +6,8 @@ import lombok.AllArgsConstructor;
|
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
import lombok.NoArgsConstructor;
|
|
import lombok.NoArgsConstructor;
|
|
|
|
|
|
|
|
|
|
+import java.util.Objects;
|
|
|
|
|
+
|
|
|
@Data
|
|
@Data
|
|
|
@NoArgsConstructor
|
|
@NoArgsConstructor
|
|
|
@AllArgsConstructor
|
|
@AllArgsConstructor
|
|
@@ -58,4 +60,15 @@ public class YtAppDefaultConfig {
|
|
|
private Integer interstitialIntervalTime;
|
|
private Integer interstitialIntervalTime;
|
|
|
@ApiModelProperty("渠道类型id")
|
|
@ApiModelProperty("渠道类型id")
|
|
|
private String ditchId;
|
|
private String ditchId;
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ public YtAppDefaultConfig(Object o, String appName, String wxAppId, String wxSecret, String appId, String appKey, int appType) {
|
|
|
|
|
+ this.configId = Objects.isNull(o)?null: Integer.parseInt(o.toString());
|
|
|
|
|
+ this.configName = appName;
|
|
|
|
|
+ this.openId = wxAppId;
|
|
|
|
|
+ this.secret = wxSecret;
|
|
|
|
|
+ this.appId = appId;
|
|
|
|
|
+ this.appKey = appKey;
|
|
|
|
|
+ this.appType = appType;
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|