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