123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
-
- const prefix = process.env.NODE_ENV === 'production' ? '' : ''
-
- const Api = {
- UpdateUserInfo: {
- method: 'post',
- url: `${prefix}/person/:id`
- },
- GetRecommedList: {
- method: 'get',
- url: `${prefix}/person/:personId/recommender`
- },
- PostRecommed: {
- method: 'post',
- url: `${prefix}/recommender`
- },
- GetNewsDetail: {
- method: 'get',
- url: `${prefix}/news/:id`
- },
- PostActivityJoin: {
- method: 'post',
- url: `${prefix}/activity/:id/enroll`
- },
- PostActivityVote: {
- method: 'post',
- url: `${prefix}/activity/:id/vote`
- },
- MainSignIn: {
- method: 'post',
- url: `${prefix}/login`
- },
- GetUserPhone: {
- method: 'post',
- url: `${prefix}/person/:personId/phone`
- },
- GetIndexBanner: {
- method: 'get',
- url: `${prefix}/advert`
- },
- GetPhotoList: {
- method: 'get',
- url: `${prefix}/gallery`
- },
- GetGalleryType: {
- method: 'get',
- url: `${prefix}/galleryType`
- },
- GetActivityList: {
- method: 'get',
- url: `${prefix}/activity`
- },
- GetActivityDetail: {
- method: 'get',
- url: `${prefix}/activity/:id`
- },
- GetHuiQuanYiBanner: {
- method: 'get',
- url: `${prefix}/advert`
- },
- GetYeZhuZiXunList: {
- method: 'get',
- url: `${prefix}/news`
- },
- GetHuiAiXinBanner: {
- method: 'get',
- url: `${prefix}/advert`
- },
- GetMingXingYeZhuList: {
- method: 'get',
- url: `${prefix}/activity`
- },
- GetZhengNengLiangShiJiList: {
- method: 'get',
- url: `${prefix}/activity`
- },
- GetHuoDongNavList: {
- method: 'get',
- url: `${prefix}/activity`
- },
- GetUserActivityList: {
- method: 'get',
- url: `${prefix}/person/:personId/activity`
- }
- }
-
- export default Api
|