腾讯云短信接口 定义一个Java手机接口,打电话,接电话,发短信,接受短信的功能?

定义一个Java手机接口,打电话,接电话,发短信,接受短信的功能?Public interface calling{/**]*@param calledphoneno calling number*@

定义一个Java手机接口,打电话,接电话,发短信,接受短信的功能?

Public interface calling{

/*

*

]*@param calledphoneno calling number

*@param calledphoneno called number

*@return返回调用成功失败ID

*/

Public int calling in(string callphoneno,string calledphoneno)

/*

]*

*@param calledphoneno called number

*@param calledphoneno calling number

*@Return Return to call success failure ID

*/

public int callout(string calledphoneno,string callphoneno)

/*

*@param calledphoneno receive SMS number

*@param callphoneno sendSMS number

*@param content SMS content

*@return to send SMS success id

*/

public int sendmsg(字符串calledphoneno,字符串callphoneno,字符串内容)

/*

*

]*@param calledphoneno send SMS number

*@param calledphoneno receive SMS number

*@param Content

*@return receive SMS success identification

*备注:实际上,您不能使用此接口。要发送短信息,您需要将短信息保存到短信息发送表中,然后有一个进程实时扫描数据,然后发送

*/

public int recivemsg(string Callphoneno,string calledphoneno,字符串内容)

}

通过HTTP请求提交参数:用户名和密码接收短信号码发送短信内容前端表单提交数据,后端接收参数,调用发送短信功能发送短信。