mirror of https://github.com/jeecgboot/jeecg-boot
Create abstract YDRequestBody for all YD requests
parent
0eda4dfee1
commit
c9dad6b470
|
@ -0,0 +1,22 @@
|
||||||
|
package org.jeecg.modules.business.domain.api.yd;
|
||||||
|
|
||||||
|
public abstract class YDRequestBody {
|
||||||
|
|
||||||
|
private final String serviceMethod;
|
||||||
|
|
||||||
|
private final String paramsJson;
|
||||||
|
|
||||||
|
public YDRequestBody(String serviceMethod, String paramsJson) {
|
||||||
|
this.serviceMethod = serviceMethod;
|
||||||
|
this.paramsJson = paramsJson;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getServiceMethod() {
|
||||||
|
return serviceMethod;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getParamsJson() {
|
||||||
|
return paramsJson;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue