From 319bd4c954d2cdbaa4ad022b13856ec2c851a326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?cxxxxxxx=E8=AF=A6?= <286460656@qq.com> Date: Sun, 17 Sep 2023 13:31:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=90=AC=E5=AE=B6=E6=A8=A1=E6=9D=BF=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/ms/api/spi/move/GetFreightTemplateList.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ms-biz/src/main/java/com/ms/api/spi/move/GetFreightTemplateList.java b/ms-biz/src/main/java/com/ms/api/spi/move/GetFreightTemplateList.java index dd22c928..0c010f6e 100644 --- a/ms-biz/src/main/java/com/ms/api/spi/move/GetFreightTemplateList.java +++ b/ms-biz/src/main/java/com/ms/api/spi/move/GetFreightTemplateList.java @@ -7,6 +7,7 @@ import com.jinritemai.cloud.base.api.BaseRequest; import com.jinritemai.cloud.base.api.BaseResponse; import com.jinritemai.cloud.base.api.ExtensionService; import com.jinritemai.cloud.base.api.ExtensionServiceHandler; +import com.jinritemai.cloud.base.core.util.AuthThreadLocalUtil; import com.ms.api.common.R; import com.ms.api.common.Ret; import com.ms.api.common.SPIBaseService; @@ -36,6 +37,7 @@ public class GetFreightTemplateList extends SPIBaseService implements ExtensionS FreightTemplateListRequest request = new FreightTemplateListRequest(); FreightTemplateListParam param = request.getParam(); param.setSize(fields.getSize()); + AuthThreadLocalUtil.set(shopId.toString()); FreightTemplateListResponse response = request.execute(); Map result = new HashMap<>(); result.put("data", response.getData().getList());