This commit is contained in:
zpc 2026-03-18 00:18:14 +08:00
parent d2f4fb27d8
commit 2e470397e4

View File

@ -815,7 +815,7 @@ public class WechatPayService : IWechatPayService
var redisKey = $"{FAILED_SHIPPING_KEY_PREFIX}{request.OrderNo}";
var json = JsonSerializer.Serialize(failedOrder);
await _redisService.SetAsync(redisKey, json, FAILED_SHIPPING_EXPIRY);
await _redisService.SetStringAsync(redisKey, json, FAILED_SHIPPING_EXPIRY);
_logger.LogInformation("已保存发货失败订单到重试队列: OrderNo={OrderNo}, ErrCode={ErrCode}, ErrMsg={ErrMsg}",
request.OrderNo, errCode, errMsg);