12345678910111213141516171819202122232425262728293031323334 |
- package com.txz.mall.dubbo.impl;
- import com.txz.mall.enums.NoticeEnum;
- import com.txz.mall.service.NoticeDubboService;
- import com.txz.mall.service.NoticeService;
- import com.txz.mall.service.OrderDubboService;
- import com.txz.mall.service.StoreOrderService;
- import lombok.extern.slf4j.Slf4j;
- import org.apache.dubbo.config.annotation.DubboService;
- import javax.annotation.Resource;
- @Slf4j
- @DubboService(timeout = 1200000)
- public class NoticeServiceImpl implements NoticeDubboService {
- @Resource
- private NoticeService noticeService;
- @Override
- public void addOtherNotice(Long otherId, String noticeTitle, String noticeMessage, String pages, Long... uids) {
- noticeService.addOtherNotice(otherId, noticeTitle, noticeMessage, pages, uids);
- }
- @Override
- public void addRewardNotice(NoticeEnum noticeType, Long... uids) {
- noticeService.addRewardNotice(noticeType,uids);
- }
- @Override
- public void addMoneyNotice(NoticeEnum noticeType, Long... uids) {
- noticeService.addMoneyNotice(noticeType,uids);
- }
- }
|