feat:优化

This commit is contained in:
苏竹红
2025-11-18 10:28:47 +08:00
parent d1e045a72f
commit 579bef59cd
11 changed files with 154 additions and 20 deletions

View File

@@ -0,0 +1,20 @@
package com.cool.store.dto.wallet;
import com.cool.store.request.wallet.WalletBasicPageInfo;
import lombok.Data;
import java.util.List;
/**
* @Author suzhuhong
* @Date 2025/11/18 10:12
* @Version 1.0
*/
@Data
public class AccountPageDTO {
private List<AccountInfoDTO> pageData;
private WalletBasicPageInfo page;
}

View File

@@ -0,0 +1,27 @@
package com.cool.store.request.wallet;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2025/11/18 10:02
* @Version 1.0
*/
@Data
public class AccountBatchQueryRequest {
@ApiModelProperty(value = "关键字(门店编号、门店名称、账户名称、账户别名)")
private String keyword;
@ApiModelProperty(value = "账户状态 1 待提交 2 待鉴权 3 鉴权中 4开通 账户状态")
private Integer accountStatus;
@ApiModelProperty(value = "工商类型 1.企业 2.个体工商户 3.小微商户(自然人)")
private Integer businessType;
@ApiModelProperty(value = "分页信息",required = true)
private WalletBasicPageInfo page;
}

View File

@@ -0,0 +1,29 @@
package com.cool.store.request.wallet;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
* @Author suzhuhong
* @Date 2025/11/18 9:36
* @Version 1.0
*/
@Data
public class AccountTradeCallbackRequest {
@ApiModelProperty(name = "CRM门店编号", required = true)
private String outStoreId;
@ApiModelProperty(name = "业务系统付款单号(如 CRM 单号)", required = true)
private String reqNo;
@ApiModelProperty(name = "交易Id", required = true)
private Long tradeId;
@ApiModelProperty(name = "交易编号", required = true)
private String outTTradeNo;
@ApiModelProperty(name = "金额(元)", required = true)
private String amount;
@ApiModelProperty(name = "交易状态1.成功 2.失败 3.处理中", required = true)
private Integer tradeStatus;
@ApiModelProperty(name = "1.转账2.提现", required = true)
private Integer tradeType;
}