user-api.js 295 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 /** * 个人中心 编辑资料api * @author: gaohongwei<hongwei.gao@yoho.cn> * @date: 2016/8/16 */ const api = global.yoho.API; const getUserInfo = uid => { return api.get('', { method: 'app.passport.profile', uid: uid }); }; module.exports = { getUserInfo };