- 修改 ConfigService.GetPlatformConfigAsync 返回 isWebPay=false,关闭 Web 支付 - 重写 WechatService.CreatePayOrderAsync 实现原生微信支付: - 调用微信统一下单 API 获取 prepay_id - 生成 MD5 签名 - 返回前端 uni.requestPayment 所需的参数(appId, timeStamp, nonceStr, package, signType, paySign) - 更新 IWechatService 接口,添加 NativePayParams 类型 - 更新 WarehouseModels.cs,SendResultDto 使用 NativePayResultDto - 更新 WarehouseService.SendPrizesAsync 使用新的支付参数格式 - 更新 appsettings.json 配置微信支付商户信息 |
||
|---|---|---|
| .. | ||
| HoneyBox | ||
| php | ||
| scripts | ||