Skip to content

Commit

Permalink
开发者模式不上报
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun committed May 24, 2018
1 parent b7c001f commit 7be958d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/lib/api/tnm2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ var reportOpenapi = function(last){
return;
}

if(config.devMode){
return;
}

if(!config.appid || !config.appkey){
return;
}
Expand Down

0 comments on commit 7be958d

Please sign in to comment.