Skip to content

Commit

Permalink
fix(openapi): set default value for ip
Browse files Browse the repository at this point in the history
  • Loading branch information
huangyoukun authored and RobinzZH committed Jun 22, 2018
1 parent 8f0d1f9 commit 93b30c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tsw/api/tnm2/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ const reportOpenapi = function(last) {

const postData = {
appid: config.appid,
ip: serverInfo.intranetIp,
ip: serverInfo.intranetIp || '', // 不能为空
arr: arr.join('-'),
now: Date.now()
};
Expand Down

0 comments on commit 93b30c9

Please sign in to comment.