• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • doraemon
  • models
  • about.js
  • 微信文案调接口
    faf0fd07
    by lijing
    2017-04-06 12:17:35 +0800  
    Browse Directory »
about.js 453 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
'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
};