使用方法,在数据库hits表里增加字段downcount把dcount.php放在网站目录api目录下在下载页面模版的下载地址的a标签里加onclick="downloadnum()页面底部加上functiondownloadnum(){$.get('{APP_PATH}api.php?op=dcount&id;={$id}&modelid;={$modelid}',function(s){});}[removed]