user-api.js 255 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 /** * 个人中心 编辑资料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 }); };