Authored by 毕凯

移除 API 签名

@@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
9 const _ = require('lodash'); 9 const _ = require('lodash');
10 10
11 const ServiceAPI = require(`${global.library}/api`).ServiceAPI; 11 const ServiceAPI = require(`${global.library}/api`).ServiceAPI;
12 -const sign = require(`${global.library}/sign`);  
13 12
14 const serviceApi = new ServiceAPI(); 13 const serviceApi = new ServiceAPI();
15 14
@@ -193,10 +192,10 @@ const setHeaderData = (resData, type) => ( @@ -193,10 +192,10 @@ const setHeaderData = (resData, type) => (
193 * @return {promise} 192 * @return {promise}
194 */ 193 */
195 exports.requestHeaderData = (type, parentId) => { 194 exports.requestHeaderData = (type, parentId) => {
196 - let data = sign.apiSign({ 195 + let data = {
197 client_type: 'web', 196 client_type: 'web',
198 parent_id: parentId || null 197 parent_id: parentId || null
199 - }); 198 + };
200 199
201 type = type || 'boys'; 200 type = type || 'boys';
202 201