SMSServiceImpl.java 837 Bytes
package com.diligrp.website.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.diligrp.website.domain.MobMessage;
import com.diligrp.website.manager.SMSManager;
import com.diligrp.website.service.SMSService;

/**
 * 
 * <B>Description</B> SMS短信发送实现 <br />
 * <B>Copyright</B> Copyright (c) 2014 www.diligrp.com All rights reserved. <br />
 * 本软件源代码版权归地利集团,未经许可不得任意复制与传播.<br />
 * <B>Company</B> 地利集团
 * @createTime 2014年6月4日 下午7:30:37
 * @author Wang22
 */
@Component("smsService")
public class SMSServiceImpl implements SMSService {
    
    @Resource
    private SMSManager smsManager;

    @Override
    public boolean sendSMS(MobMessage mm) {
        return smsManager.sendSMS(mm);
    }

}