From 6cecd951579c175053f9383d9d23fb7765033d0a Mon Sep 17 00:00:00 2001 From: ljl Date: Sat, 16 Sep 2023 12:53:06 +0800 Subject: [PATCH] xiuga --- ms-biz/src/main/java/com/ms/api/common/SPIBaseService.java | 4 ---- ms-dal/src/main/resources/mapper/AfterSaleMapper.xml | 1 - 2 files changed, 5 deletions(-) diff --git a/ms-biz/src/main/java/com/ms/api/common/SPIBaseService.java b/ms-biz/src/main/java/com/ms/api/common/SPIBaseService.java index 8f079c80..40c88f77 100644 --- a/ms-biz/src/main/java/com/ms/api/common/SPIBaseService.java +++ b/ms-biz/src/main/java/com/ms/api/common/SPIBaseService.java @@ -41,10 +41,6 @@ public class SPIBaseService { protected String authCode; public void initHandle(BaseRequest req) { - if (SystemTool.isTestEnv()) { - AuthThreadLocalUtil.set(AppConst.TEST_SHOP_ID); - } - shopId = Long.valueOf(req.getAuthId()); // TODO 后面可以redis缓存,避免每次都查库 Shop shop = shopService.getDetailById(shopId); diff --git a/ms-dal/src/main/resources/mapper/AfterSaleMapper.xml b/ms-dal/src/main/resources/mapper/AfterSaleMapper.xml index 70c6725d..2aaec93d 100644 --- a/ms-dal/src/main/resources/mapper/AfterSaleMapper.xml +++ b/ms-dal/src/main/resources/mapper/AfterSaleMapper.xml @@ -68,7 +68,6 @@ #{item} group by order_id - order by after_sale_id desc