Browse Source

out put tracer addcount

HonorLee 8 years ago
parent
commit
58771b7ba1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      handler/api.js

+ 1 - 1
handler/api.js

@@ -92,7 +92,7 @@ var MongoHandler = {
                     res.end();
                 }else{
                     var newLink,count = COUNT.link+1;
-                    newLink = count.toString(16);
+                    newLink = count.toString(36);
                     LinkDB.update({key:key,long:baseLink},{$set:{short:newLink}},{upsert:true},function(err,result){
                         if(!err && result){
                             data.short += newLink;