| | |
| | | |
| | | import com.ks.lib.common.exception.ParamsException; |
| | | import com.ks.lucky.exception.LuckyActivitySponsorInfoException; |
| | | import com.ks.lucky.exception.LuckySponsorAdException; |
| | | import com.ks.lucky.pojo.DO.LuckyActivitySponsorInfo; |
| | | import com.ks.lucky.remote.service.LuckyActivitySponsorInfoService; |
| | | import com.ks.lucky.service.impl.LuckyActivitySponsorInfoManager; |
| | |
| | | |
| | | @Validated |
| | | @Override |
| | | public Long addSponsorInfo(LuckyActivitySponsorInfo sponsorInfo) throws ParamsException, LuckyActivitySponsorInfoException { |
| | | public Long addSponsorInfo(LuckyActivitySponsorInfo sponsorInfo) throws ParamsException, LuckyActivitySponsorInfoException, LuckySponsorAdException { |
| | | luckyActivitySponsorInfoManager.addSponsorInfo(sponsorInfo); |
| | | return sponsorInfo.getId(); |
| | | } |