/*** Created by A.J on 2020/6/13.*/$(document).ready(function(){$("#paypoints").on("click", function(){var pobj = $(this);pobj.children("i").removeClass("d-none");$("#paypointsresult").html("");$.post("", {pid:$("#postid").text(), act:"paypoints"},function(data){pobj.children("i").addClass("d-none");if(data == 'ok'){window.location.reload();}else{$("#paypointsresult").html(data);}});});});