diff options
Diffstat (limited to '_posts/2019-06-22-counter.md')
-rw-r--r-- | _posts/2019-06-22-counter.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2019-06-22-counter.md b/_posts/2019-06-22-counter.md index 24e19c6..c8c3b72 100644 --- a/_posts/2019-06-22-counter.md +++ b/_posts/2019-06-22-counter.md @@ -22,7 +22,7 @@ tags: [计数器] {% raw %} Hits: <span id="{{ page.url }}" class="visitors" >Loading...</span>{% endraw %} ``` JS代码:(需要Jquery) -```js +```javascript var auxiliaryHost = "你的域名"; function showHitS(hits){ $.get(auxiliaryHost+"/counter.php?action=show&id="+hits.id,function(data){ |