about.js
537 Bytes
'use strict';
const api = global.yoho.API;
const about = (isApp) => {
return api.get('', {
method: 'app.document.config'
}, {
cache: true,
code: 200
}).then(result => {
if (result && result.data) {
result = {
wxTitle: result.data.wechatAtten,
wxTip: result.data.wechatAttenSub,
wxCopy: result.data.wechatCopy,
isApp: isApp
};
}
return result;
});
};
module.exports = {
about
};