﻿
function SaveClickPlayInfo(playId, retUrl) {
    var url = "/AmusementData/SaveClick";
    var data = "id=" + playId;
    //post获取json对象
    $.ajax({
        type: "Post",
        url: url,
        data: data,
        dataType: "json",
        success: function(jsons) {
            if (retUrl.indexOf("http://") < 0)
                retUrl = "http://" + retUrl;
            open(retUrl, "", "", "");
        },
        error: function() {
            alert("网络出错，请稍后再试……");
        }
    });
}

