找了好久md
<script>
$.ajax({
type:"post",
url:"http://dingxin.market.alicloudapi.com/dx/sendSms",
async:false,
headers: {
"Authorization": "APPCODE 57cd74f5893a47a7bcc0c0456fbc27ef"
},
data: {
"mobile": "15674835363",
"param": "code:1234",
"tpl_id": "TP1711063"
},
success: function (data,code){
alert(data+code);
},
error :function (e){
alert(e);
},
contentType:"application/x-www-form-urlencoded; charset=utf-8"
});
</script>