| 12345678910111213141516171819202122232425262728293031323334353637 |
- package com.ruoyi.app.utils.omg;
- import lombok.Data;
- /**
- * OMG(歐買尬/FunPoint) 商店配置(运行时传入,支持多门店)。
- *
- * <p>每个门店在 OMG 平台申请商店后会拿到一组专属金钥,由业务层从 pos_store_omg 读取后构造本对象。
- * 申请入口:测试环境 https://payment-stage.funpoint.com.tw/ | 正式环境 https://payment.funpoint.com.tw/
- *
- * <p>OMG 签名用 CheckMacValue(SHA256, EncryptType=1),与蓝新 NewebPay(AES+SHA256) 不同,
- * 故本配置与签名工具均独立于 newebpay 包。
- *
- * @author ruoyi
- * @date 2026-07-29
- */
- @Data
- public class OmgPayConfig {
- /** 商店代号 MerchantID(OMG 分配)。 */
- private String merchantId;
- /** 商店 HashKey(OMG 分配)。 */
- private String hashKey;
- /** 商店 HashIV(OMG 分配)。 */
- private String hashIv;
- public OmgPayConfig() {
- }
- public OmgPayConfig(String merchantId, String hashKey, String hashIv) {
- this.merchantId = merchantId;
- this.hashKey = hashKey;
- this.hashIv = hashIv;
- }
- }
|