Administrator
2023-08-21 e31c5747945aafa2adbdf4d62a5f538b55dac61e
华鑫本地/系统订单号管理独立
1个文件已修改
4 ■■■■ 已修改文件
trade/huaxin/huaxin_trade_record_manager.py 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
trade/huaxin/huaxin_trade_record_manager.py
@@ -352,7 +352,7 @@
        val = local_order_id
        if code in self.__huaxin_local_order_id_cache:
            self.__huaxin_local_order_id_cache[code].discard(val)
        RedisUtils.srem_async(self.__get_redis(), f"huaxin_local_order_id-{code}", val)
        RedisUtils.srem_async(self.__db, f"huaxin_local_order_id-{code}", val)
        # 查询所有的订单号
@@ -378,7 +378,7 @@
        val = json.dumps((account_id, order_id))
        if code in self.__huaxin_order_id_cache:
            self.__huaxin_order_id_cache[code].discard(val)
        RedisUtils.srem_async(self.__get_redis(), f"huaxin_order_id-{code}", val)
        RedisUtils.srem_async(self.__db, f"huaxin_order_id-{code}", val)
    # 查询所有的订单号