修改ajax传参

hotfix/远程访问多媒体中心
cyc 6 years ago
parent 3ff9bca3b8
commit 6e273afa34

@ -90,10 +90,11 @@ $(function(){
$('#get_price').click(function(){
var from_time = $('#from_time').val();
var to_time = $('#to_time').val();
var rate = $('#rate').val();
if(from_time != '' && to_time != ''){
$.ajax({
url:'/webht.php/apps/messagecenter/index/count_price?from_time='+from_time+'&to_time='+to_time,
url:'/webht.php/apps/messagecenter/index/count_price?from_time='+from_time+'&to_time='+to_time+'&rate='+rate,
success:function(json,status){
var data = JSON.parse(json);
$('#tp_price').html('tp费用:'+data.tp);

Loading…
Cancel
Save