123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195 |
- const prefix = '/api/admin'
-
- export default {
- image: {
- upload: {
- url: `${prefix}/antd/image`,
- method: 'POST',
- }
- },
- user: {
- current: {
- method: 'GET',
- url: `${prefix}/taUser/current`,
- },
- signin: {
- method: 'POST',
- url: `${prefix}/taUser/signin`,
- },
- },
- building: {
- getList: {
- method: 'GET',
- url: `${prefix}/buildinglist`,
- },
- updateStatus: {
- method: 'PUT',
- url: `${prefix}/building/update/status`,
- },
- addBuilding: {
- method: 'POST',
- url: `${prefix}/building/add`,
- },
- buildingGetById: {
- method: 'GET',
- url: `${prefix}/buildingSelectId/id`,
- },
- deleteBuilding: {
- method: 'DELETE',
- url: `${prefix}/building/delete/id`,
- },
- buildingApartment: {
- method: 'GET',
- url: `${prefix}/buildingApartment/buildingId/id`,
- },
- buildingApartmentGetById: {
- method: 'GET',
- url: `${prefix}/buildingApartment/id`,
- },
- buildingApartmentUpdate: {
- method: 'PUT',
- url: `${prefix}/buildingApartment/update`,
- },
- buildingApartmentAdd: {
- method: 'POST',
- url: `${prefix}/buildingApartment/add`,
- },
- buildingApartmentDelete: {
- method: 'DELETE',
- url: `${prefix}/apartment/deleted/id`,
- },
- },
- buildingType: {
- getList: {
- method: 'GET',
- url: `${prefix}/tdBuildingType`,
- },
- delete: {
- method: 'DELETE',
- url: `${prefix}/tdBuildingType/id`,
- },
- update: {
- method: 'PUT',
- url: `${prefix}/tdBuildingType/id`,
- },
- add: {
- method: 'POST',
- url: `${prefix}/tdBuildingType`,
- },
- getById: {
- method: 'GET',
- url: `${prefix}/tdBuildingType/id`,
- },
- },
- news: {
- getList: {
- method: 'GET',
- url: `${prefix}/taNews`,
- },
- },
- customer: {
- drift: {
- method: 'GET',
- url: `${prefix}/customer/recommend/drift`,
- },
- report: {
- method: 'GET',
- url: `${prefix}/customer/recommend/report`,
- },
- recommender: {
- method: 'GET',
- url: `${prefix}/customer/recommend/recommender`,
- },
- auto: {
- method: 'PUT',
- url: `${prefix}/customer/recommend/verify/id`,
- },
- recommendGetById: {
- method: 'GET',
- url: `${prefix}/customer/recommend/getById/id`,
- },
- agents: {
- method: 'GET',
- url: `${prefix}/customer/agents`,
- },
- customerRecommend: {
- method: 'GET',
- url: `${prefix}/customer/recommend`,
- },
- consultant: {
- method: 'GET',
- url: `${prefix}/consultant`,
- },
- recommendEdit: {
- method: 'PUT',
- url: `${prefix}/customer/recommend/edit/id`,
- },
- taPointsRecords: {
- method: 'GET',
- url: `${prefix}/mine/taPointsRecords/id`,
- },
- recommend: {
- method: 'GET',
- url: `${prefix}/customer/recommend/id`,
- },
- InviteClientsList: {
- method: 'GET',
- url: `${prefix}/channel/InviteClientsList`,
- },
- CustomerRecommendGet: {
- method: 'GET',
- url: `${prefix}/customer/recommend/get/id`,
- },
- },
- indexEcharts: {
- userResource: {
- method: 'GET',
- url: `${prefix}/selectUserResource`
- },
-
- }
- // indexEcharts:{
- // list:{
- // method:'get',
- // url: `${commPrefix}/indexStatistical`
- // },
- // userResource: {
- // method:'get',
- // url: `${commPrefix}/selectUserResource`
- // },
- // userConversion: {
- // method:'get',
- // url: `${commPrefix}/selectConversion`
- // },
- // userActive: {
- // method:'get',
- // url: `${commPrefix}/selectActiveUserCount`
- // },
- // newUser: {
- // method:'get',
- // url: `${commPrefix}/selectNewsUserCount`
- // },
- // userBehavior: {
- // summary: {
- // method:'get',
- // url: `${commPrefix}/selectUserBehavior`
- // },
- // profile: {
- // method:'get',
- // url: `${commPrefix}/selectEventAll`
- // },
- // },
- // intentionUsers: {
- // method:'get',
- // url: `${commPrefix}/selectIntentionUser`
- // },
- // userSex: {
- // method:'get',
- // url: `${commPrefix}/selectSexUser`
- // },
- // userCity: {
- // method:'get',
- // url: `${commPrefix}/selectCityUser`
- // },
- // },
- }
|