装扮商城-购买-拦截续费我的装扮中并且在装扮商城中不能能购买的装扮

(cherry picked from commit 392c25119b)
This commit is contained in:
2025-09-05 11:29:34 +08:00
parent cfbbcd9ac6
commit 5b365fab83

View File

@@ -170,8 +170,8 @@ public class DressShopService extends BaseService {
@Frozen
public void userBuyDressShop(Long uid, Long targetUid, Integer id, DeviceInfo deviceInfo, Byte dressShopBuyType) throws Exception {
DressShop dressShop = dressShopMapper.selectById(id);
if (null == id && dressShop == null) {
throw new ServiceException(BusiStatus.REQUEST_PARAM_ERROR);
if (null == id || dressShop == null) {
throw new ServiceException(BusiStatus.DRESS_NOTEXISTS);
}
Byte dressType = dressShop.getDressType();
List<Integer> idS = new ArrayList<>();