123
This commit is contained in:
@@ -8,11 +8,13 @@ public class PayReturnResp {
|
||||
private String data;
|
||||
@Schema(description = "H5,APP")
|
||||
private String appType;
|
||||
private String payType;
|
||||
|
||||
public static PayReturnResp createH5(String data){
|
||||
PayReturnResp resp = new PayReturnResp();
|
||||
resp.setData(data);
|
||||
resp.setAppType("H5");
|
||||
resp.setPayType("H5");
|
||||
return resp;
|
||||
}
|
||||
|
||||
@@ -20,6 +22,7 @@ public class PayReturnResp {
|
||||
PayReturnResp resp = new PayReturnResp();
|
||||
resp.setData(data);
|
||||
resp.setAppType("APP");
|
||||
resp.setPayType("APP");
|
||||
return resp;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user