Authored by htoooth

fix module

@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 'use strict'; 6 'use strict';
7 7
8 const _ = require('lodash'); 8 const _ = require('lodash');
9 -const pinyin = require('pinyin'); 9 +const pinyin = require('pinyin-converter');
10 10
11 const crypto = global.yoho.crypto; 11 const crypto = global.yoho.crypto;
12 12
@@ -56,7 +56,7 @@ @@ -56,7 +56,7 @@
56 "passport-sina": "^0.1.0", 56 "passport-sina": "^0.1.0",
57 "passport-strategy": "1.x.x", 57 "passport-strategy": "1.x.x",
58 "passport-weixin": "^0.1.0", 58 "passport-weixin": "^0.1.0",
59 - "pinyin": "^2.8.0", 59 + "pinyin-converter": "^2.8.1",
60 "request-ip": "^1.2.2", 60 "request-ip": "^1.2.2",
61 "request-promise": "^3.0.0", 61 "request-promise": "^3.0.0",
62 "serve-favicon": "^2.3.0", 62 "serve-favicon": "^2.3.0",