道具券使用修复

This commit is contained in:
tianfeng 2025-11-06 18:35:44 +08:00
parent 5f193ad99a
commit 065c18eaff

View File

@ -261,7 +261,8 @@ public class PropCouponUseCmdExe {
private PropsNobleVipAbilityDTO getVipAbilityBySysOriginSourceId(Long propId,
String sysOrigin) {
PropsCommodityStore commodityStore = propsCommodityStoreService.getById(propId);
PropsCommodityStoreDTO commodityStore = ResponseAssert.requiredSuccess(
propsCommodityStoreClient.getPropsCommodityStore(sysOrigin, propId));
ResponseAssert.notNull(OtherErrorCode.PROP_COUPON_PROP_NOT_FOUND, commodityStore);
PropsNobleVipAbilityDTO nobleVipAbility = ResponseAssert.requiredSuccess(
propsNobleVipClient.getAbilityDTO(commodityStore.getSourceId()));