| | |
| | | import cc.mrbird.febs.mall.mapper.MallOrderInfoMapper; |
| | | import cc.mrbird.febs.pay.model.FIUUInitPayRequest; |
| | | import cn.hutool.core.date.DateUtil; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.codec.digest.DigestUtils; |
| | |
| | | |
| | | @Slf4j |
| | | @RestController |
| | | @Api(value = "FIUUController", tags = "FIUU支付") |
| | | @RequestMapping(value = "/api/fuPay") |
| | | public class FIUUController { |
| | | |
| | |
| | | try { |
| | | String merchantId = "e2umart01"; |
| | | String verifyKey = "4e3a4ed58e62ddbfacf41f6d5ec56bf2"; |
| | | String returnUrl = "https://www.mye2u.com/api/fuPay/callback"; // 支付结果回调地址 |
| | | String returnUrl = "https://api.mye2u.com/api/fuPay/callback"; // 支付结果回调地址 |
| | | |
| | | // 生成 vcode(MD5(amount + merchantId + orderId + verifyKey)) |
| | | String vcode = DigestUtils.md5Hex( |