...
|
...
|
@@ -7,6 +7,7 @@ |
|
|
'use strict';
|
|
|
const api = global.yoho.API;
|
|
|
const _ = require('lodash');
|
|
|
const helpers = global.yoho.helpers;
|
|
|
|
|
|
const _getCenter = () => {
|
|
|
return api.get('', {
|
...
|
...
|
@@ -64,7 +65,7 @@ const qaDetail = (params) => { |
|
|
if (parseInt(val.id, 10) === parseInt(params.sonId, 10)) {
|
|
|
resu = {
|
|
|
caption: val.caption,
|
|
|
content: val.content
|
|
|
content: helpers.httpContent(val.content)
|
|
|
};
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -77,7 +78,7 @@ const qaDetail = (params) => { |
|
|
if (parseInt(val.id, 10) === parseInt(params.sonId, 10)) {
|
|
|
resu = {
|
|
|
caption: val.caption,
|
|
|
content: val.content
|
|
|
content: helpers.httpContent(val.content)
|
|
|
};
|
|
|
}
|
|
|
});
|
...
|
...
|
@@ -89,7 +90,7 @@ const qaDetail = (params) => { |
|
|
if (parseInt(item.id, 10) === parseInt(params.sonId, 10)) {
|
|
|
resu = {
|
|
|
caption: item.caption,
|
|
|
content: item.content
|
|
|
content: helpers.httpContent(item.content)
|
|
|
};
|
|
|
}
|
|
|
});
|
...
|
...
|
|