...
|
...
|
@@ -15,6 +15,7 @@ const Timer = require('./timer'); |
|
|
const config = require('../config/common');
|
|
|
const api = config.domains.api;
|
|
|
const serviceApi = config.domains.service;
|
|
|
const searchApi = config.domains.search;
|
|
|
|
|
|
class Http {
|
|
|
|
...
|
...
|
@@ -182,5 +183,12 @@ class ServiceAPI extends Http { |
|
|
}
|
|
|
}
|
|
|
|
|
|
class SearchAPI extends Http {
|
|
|
constructor() {
|
|
|
super(searchApi);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
exports.API = API;
|
|
|
exports.ServiceAPI = ServiceAPI;
|
|
|
exports.SearchAPI = SearchAPI; |
...
|
...
|
|