Commit eae92182 by guojuxing

支付配置新增/删除/查询接口

parent 8e672613
......@@ -70,7 +70,7 @@ public class AppPayController {
@RequestMapping("/list-app")
public RestResponse listApp(Integer enterpriseId) {
return ResultControllerUtils.commonResult(payConfigApiService.getApplets(enterpriseId, 1));
return ResultControllerUtils.commonResult(payConfigApiService.getApplets(enterpriseId, 1), AppVO.class);
}
@RequestMapping("/delete")
......
package com.gic.operation.web.vo.apppay;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
public class AppVO implements Serializable{
private static final long serialVersionUID = -4493556752806002351L;
/**
* 服务商、服务号名称
*/
private String serverProviderName;
private String name;
/**
* 小程序配置id
*/
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long appletConfigId;
private Long id;
public String getServerProviderName() {
return serverProviderName;
public String getName() {
return name;
}
public void setServerProviderName(String serverProviderName) {
this.serverProviderName = serverProviderName;
public void setName(String name) {
this.name = name;
}
public Long getAppletConfigId() {
return appletConfigId;
public Long getId() {
return id;
}
public void setAppletConfigId(Long appletConfigId) {
this.appletConfigId = appletConfigId;
public void setId(Long id) {
this.id = id;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment