import request from './request' export default { getOpenid: (data) => request('POST', `code2userinfo`,data),//获取openid createActivity: (data) => request('POST', 'activity/create', data), //创建活动 bindphone: (data) => request('POST', 'bindphone', data), //绑定手机号 list_public: () => request('GET', 'activity/list_public'), //获取活动列表 binduserinfo: (data) => request('POST','binduserinfo',data), //绑定个人信息 activity_attend: (data) => request('POST', 'activity/attend', data), //参加活动 activity_list_mine: (data) => request('GET', `activity/list_mine/${data}`), //获取我的活动列表 };