|
|
|
@ -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<String, Object> result = new HashMap<>();
|
|
|
|
|
result.put("data", response.getData().getList());
|
|
|
|
|