All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.guerlab.smart.banner.web.controller.commons.BannerController Maven / Gradle / Ivy

There is a newer version: 21.0.0
Show newest version
package net.guerlab.smart.banner.web.controller.commons;

import io.swagger.annotations.Api;
import net.guerlab.commons.exception.ApplicationException;
import net.guerlab.smart.banner.core.domain.BannerDTO;
import net.guerlab.smart.banner.core.exception.BannerInvalidException;
import net.guerlab.smart.banner.core.searchparams.BannerSearchParams;
import net.guerlab.smart.banner.service.entity.Banner;
import net.guerlab.smart.banner.service.service.BannerService;
import net.guerlab.smart.platform.server.controller.BaseFindController;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * banner
 *
 * @author guer
 */
@Api(tags = "banners")
@RestController("/commons/banner")
@RequestMapping("/commons/banner")
public class BannerController extends BaseFindController {

    @Override
    protected ApplicationException nullPointException() {
        return new BannerInvalidException();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy