改造授权接口

20230922-ljl-fixBug
qiushengjie 1 year ago
parent 9876e84074
commit 4cbfedc364

@ -6,6 +6,7 @@ import com.jinritemai.cloud.base.api.BaseResponse;
import com.jinritemai.cloud.base.api.ExtensionServiceHandler; import com.jinritemai.cloud.base.api.ExtensionServiceHandler;
import com.ms.api.bo.ShopBO; import com.ms.api.bo.ShopBO;
import com.ms.dal.entity.Shop; import com.ms.dal.entity.Shop;
import org.modelmapper.ModelMapper;
/** /**
* SPI * SPI
@ -23,6 +24,9 @@ public class SPIBaseService<T,R> implements ExtensionServiceHandler<T, R> {
// TODO 数据库查下shopId 有就注入到shopInfo中没有要新增 // TODO 数据库查下shopId 有就注入到shopInfo中没有要新增
// TODO 并且调用抖店的查询店铺详情接口补充详情,可以是accesToken那个接口 // TODO 并且调用抖店的查询店铺详情接口补充详情,可以是accesToken那个接口
// ModelMapper modelMapper = new ModelMapper();
// UserDTO userDTO = modelMapper.map(user, UserDTO.class);
return null; return null;
} }
} }

@ -13,6 +13,11 @@
<name>ms-dal</name> <name>ms-dal</name>
<dependencies> <dependencies>
<dependency>
<groupId>org.modelmapper</groupId>
<artifactId>modelmapper</artifactId>
<version>2.4.4</version>
</dependency>
</dependencies> </dependencies>

Loading…
Cancel
Save