@@ -965,6 +965,9 @@ public class CmsAccountController {
}
account.setType(2);
+ if (account.getGoodsId() == 26 && account.getPreSkuId() == null) {
+ throw BusinessRuntimeException.getInstance("请选择对应规格id");
+ }
accountService.save(account);
return GatewayResponse.SUCCESS.newBuilder().toResult();