搬家模板修复发

20230922-ljl-fixBug
cxxxxxxx详 1 year ago
parent 3d82f5a92e
commit 319bd4c954

@ -7,6 +7,7 @@ import com.jinritemai.cloud.base.api.BaseRequest;
import com.jinritemai.cloud.base.api.BaseResponse; import com.jinritemai.cloud.base.api.BaseResponse;
import com.jinritemai.cloud.base.api.ExtensionService; import com.jinritemai.cloud.base.api.ExtensionService;
import com.jinritemai.cloud.base.api.ExtensionServiceHandler; 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.R;
import com.ms.api.common.Ret; import com.ms.api.common.Ret;
import com.ms.api.common.SPIBaseService; import com.ms.api.common.SPIBaseService;
@ -36,6 +37,7 @@ public class GetFreightTemplateList extends SPIBaseService implements ExtensionS
FreightTemplateListRequest request = new FreightTemplateListRequest(); FreightTemplateListRequest request = new FreightTemplateListRequest();
FreightTemplateListParam param = request.getParam(); FreightTemplateListParam param = request.getParam();
param.setSize(fields.getSize()); param.setSize(fields.getSize());
AuthThreadLocalUtil.set(shopId.toString());
FreightTemplateListResponse response = request.execute(); FreightTemplateListResponse response = request.execute();
Map<String, Object> result = new HashMap<>(); Map<String, Object> result = new HashMap<>();
result.put("data", response.getData().getList()); result.put("data", response.getData().getList());

Loading…
Cancel
Save