public class SendMessage {
protected static MessageDao msgdao = new MessageDaoImpl();
//服务器给手机发送短信
public static void msgSend(String isSent,String[] smsPhone,int id,String content){
msgdao.sendSMS(isSent, smsPhone,id,content);
}
//手机给服务器发送短信
public void msgRead() throws Exception{
msgdao.doIt();
}
public static void main(String[] args) {
msgSend("0",a,0,"haohao");
}
}
领取专属 10元无门槛券
私享最新 技术干货