运营端充值

This commit is contained in:
张松
2025-10-27 13:43:26 +08:00
parent 423b6f303f
commit 7bb6198798
9 changed files with 109 additions and 17 deletions

View File

@@ -31,6 +31,17 @@ public class ShopInfo implements Serializable {
@Serial
private static final long serialVersionUID = 1L;
/**
* 微信openId
*/
private String wechatOpenId;
/**
* 支付宝 openid
*/
private String alipayOpenId;
/**
* 使用系统用户 sys_user id
*/

View File

@@ -8,9 +8,13 @@ import java.util.Map;
* @author Administrator
*/
public interface WxService {
String getPhone(String code);
String getOpenId(String code);
Map<String, String> v3Pay(String openId, BigDecimal amount, String desc, String tradeNo, String type);
String decryptToString(String associatedData, String nonceStr, String ciphertext);
}

View File

@@ -28,7 +28,7 @@ public interface TableValueConstant {
interface DistributionConfig {
@Getter
enum OpenType {
PAY("PAY", "支付购买"),
PAY("pay", "支付购买"),
COST("COST", "消费增积分");
private final String code;
private final String msg;