20240115-ljl-multiPay
ljl 1 year ago
parent 3834ffd0e9
commit 8d2e6470c8

@ -94,6 +94,9 @@ public class ShopServiceImpl implements ShopService {
@Override
public ShopBO getShopInfo(Long shopId) {
Shop shop = getDetailById(shopId);
if (shop == null) {
throw new RuntimeException("店铺不存在");
}
ShopBO shopBO = CommonTool.modelMapper(shop, ShopBO.class);
shopBO.setShopAccessToken(getShopAccessTokenByShop(shop));
return shopBO;

@ -15,7 +15,7 @@ import lombok.extern.slf4j.Slf4j;
@ExtensionService("batchPay")
@Slf4j
@AllArgsConstructor
public class BatchPayService extends SPIBaseService implements ExtensionServiceHandler<BatchPayParam, BatchPayData> {
public class BatchPayService extends SPIBaseService implements ExtensionServiceHandler<BatchPayParam, BatchPayData> {
private DistributionOrderService distributionOrderService;
@Override

@ -22,12 +22,12 @@ mybatis.mapper-locations=classpath*:mapper/*.xml
mybatis.configuration.log-impl=org.apache.ibatis.logging.slf4j.Slf4jImpl
mybatis.configuration.map-underscore-to-camel-case=true
#cloud.app.key=7290512081592305208
#cloud.app.secret=d21bf43e-c671-4fa5-b35a-762a9c775129
cloud.app.key=7290512081592305208
cloud.app.secret=d21bf43e-c671-4fa5-b35a-762a9c775129
# boe
cloud.app.key=7296606199200499244
cloud.app.secret=0063975e-7755-4d51-8255-ad163604456f
#cloud.app.key=7296606199200499244
#cloud.app.secret=0063975e-7755-4d51-8255-ad163604456f
#spring.redis.host=r-2zext1mz5bw1hsochrpd.redis.rds.aliyuncs.com
#spring.redis.port=6379

Loading…
Cancel
Save