mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-23 20:45:10 +08:00
commit
This commit is contained in:
@@ -0,0 +1,70 @@
|
||||
package com.jsowell.wxpay.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 小程序模板消息发送模板
|
||||
*/
|
||||
@Data
|
||||
public class AppletTemplateMessageSendDTO implements Serializable {
|
||||
private static final long serialVersionUID = 2234575457450378840L;
|
||||
|
||||
// 场景类型(1-开始充电;2-结束充电)
|
||||
private String type;
|
||||
|
||||
//接收者(用户)的 openid
|
||||
private String touser;
|
||||
|
||||
//所需下发的订阅模板id
|
||||
private String template_id;
|
||||
|
||||
//所跳转的页面
|
||||
private String page;
|
||||
|
||||
//模板消息内容
|
||||
private Object data;
|
||||
|
||||
private StartChargingMessage startChargingMessage;
|
||||
|
||||
private StopChargingMessage stopChargingMessage;
|
||||
|
||||
@Data
|
||||
public static class StartChargingMessage {
|
||||
|
||||
/**
|
||||
* 站点名称
|
||||
* thing5
|
||||
*/
|
||||
private String stationName;
|
||||
|
||||
/**
|
||||
* 开始时间
|
||||
* time2
|
||||
*/
|
||||
private String startTime;
|
||||
|
||||
}
|
||||
|
||||
@Data
|
||||
public static class StopChargingMessage {
|
||||
/**
|
||||
* 充电费用
|
||||
* amount17
|
||||
*/
|
||||
private String chargingAmount;
|
||||
|
||||
/**
|
||||
* 结束时间
|
||||
* time3
|
||||
*/
|
||||
private String endTime;
|
||||
|
||||
/**
|
||||
* 结束原因
|
||||
* thing7
|
||||
*/
|
||||
private String endReason;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
package com.jsowell.wxpay.dto;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
@AllArgsConstructor
|
||||
@NoArgsConstructor
|
||||
@Builder
|
||||
public class WeChatRefundDTO {
|
||||
/**
|
||||
* 会员id
|
||||
*/
|
||||
private String memberId;
|
||||
|
||||
/**
|
||||
* 订单编号
|
||||
*/
|
||||
private String orderCode;
|
||||
|
||||
/**
|
||||
* 退款类型
|
||||
* 1-订单结算退款 2-用户余额退款
|
||||
*/
|
||||
private String refundType;
|
||||
|
||||
/**
|
||||
* 退款金额
|
||||
*/
|
||||
private BigDecimal refundAmount;
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package com.jsowell.wxpay.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 小程序下发消息DTO
|
||||
*
|
||||
* @author JS-ZZA
|
||||
* @date 2023/2/15 9:50
|
||||
*/
|
||||
@Data
|
||||
public class WechatSendMsgDTO {
|
||||
/**
|
||||
* 用户code
|
||||
*/
|
||||
private String code;
|
||||
|
||||
/**
|
||||
* 用户openid
|
||||
*/
|
||||
private String openId;
|
||||
|
||||
/**
|
||||
* 订单号
|
||||
*/
|
||||
private String orderCode;
|
||||
}
|
||||
Reference in New Issue
Block a user