|
@@ -629,7 +629,7 @@ class SettleService extends BaseService
|
|
|
RedisService::clear("caches:orders:settleList");
|
|
RedisService::clear("caches:orders:settleList");
|
|
|
RedisService::set("{$cacheKey}result", $info, 3600);
|
|
RedisService::set("{$cacheKey}result", $info, 3600);
|
|
|
$result = ['id' => $orderId, 'user_id' => $orderUserId, 'logs' => $logs, 'commission' => $commission];
|
|
$result = ['id' => $orderId, 'user_id' => $orderUserId, 'logs' => $logs, 'commission' => $commission];
|
|
|
- RedisService::set("caches:settles:{$orderId}_success", $result, 7200);
|
|
|
|
|
|
|
+ RedisService::set("caches:settles:{$orderId}_{$orderNo}_success", $result, 7200);
|
|
|
return $result;
|
|
return $result;
|
|
|
} catch (\Exception $exception){
|
|
} catch (\Exception $exception){
|
|
|
RedisService::set("caches:settles:{$orderId}_error", ['error'=>$exception->getMessage(),'trace'=>$exception->getTrace()], 7200);
|
|
RedisService::set("caches:settles:{$orderId}_error", ['error'=>$exception->getMessage(),'trace'=>$exception->getTrace()], 7200);
|