add 付费资源

This commit is contained in:
王鹏
2025-12-05 14:18:36 +08:00
parent de0fea0dbd
commit c390e4a033
8 changed files with 124 additions and 19 deletions

View File

@@ -79,6 +79,17 @@ public class AppBlogArticle extends BaseEntity
private List<String> picList;
/** 关联的资源对象 */
private AppResource appResource;
public AppResource getAppResource() {
return appResource;
}
public void setAppResource(AppResource appResource) {
this.appResource = appResource;
}
public String getOrderType() {
return orderType;
}

View File

@@ -32,6 +32,10 @@ public class AppPayOrder extends BaseEntity
@Excel(name = "用户ID")
private Long userId;
/** 资源ID */
@Excel(name = "资源ID")
private Long resourceId;
/** openid */
@Excel(name = "openid")
private String openId;
@@ -135,6 +139,14 @@ public class AppPayOrder extends BaseEntity
return payTime;
}
public Long getResourceId() {
return resourceId;
}
public void setResourceId(Long resourceId) {
this.resourceId = resourceId;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
@@ -142,6 +154,7 @@ public class AppPayOrder extends BaseEntity
.append("orderNo", getOrderNo())
.append("tradeNo", getTradeNo())
.append("userId", getUserId())
.append("resourceId", getResourceId())
.append("openId", getOpenId())
.append("amount", getAmount())
.append("points", getPoints())