123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407 |
- const prefix = '/api/admin'
-
- export default {
- image: {
- uploadForAnt: {
- url: `${prefix}/antd/image`,
- method: 'POST',
- },
- upload: {
- url: `${prefix}/image`,
- method: 'POST',
- },
- },
- user: {
- current: {
- method: 'GET',
- url: `${prefix}/taUser/current`,
- },
- signin: {
- method: 'POST',
- url: `${prefix}/taUser/signin`,
- login: true
- },
- signout: {
- method: 'POST',
- url: `${prefix}/taUser/signout`,
- logout: true
- },
- },
- building: {
- getList: {
- method: 'GET',
- url: `${prefix}/buildinglist`,
- },
- updateStatus: {
- method: 'PUT',
- url: `${prefix}/building/update/status`,
- },
- addBuilding: {
- method: 'POST',
- url: `${prefix}/building/add`,
- },
- updateBuilding: {
- method: 'PUT',
- url: `${prefix}/building/update`,
- },
- 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`
- },
- userCity: {
- method:'get',
- url: `${prefix}/selectCityUser`
- },
-
- },
- activity: {
- list: {
- method: 'GET',
- url: `${prefix}/iBuildingDynamicList`,
- },
- weight: {
- method: 'PUT',
- url: `${prefix}/buildingDynamic/weight`,
- },
- cancel: {
- method: 'PUT',
- url: `${prefix}/buildingDynamic/cancel/:id`,
- },
- send: {
- url: `${prefix}/buildingDynamic/send/:id`,
- method: 'PUT',
- },
- finish: {
- url: `${prefix}/buildingDynamic/finish`,
- method: 'PUT',
- },
- details: {
- url: `${prefix}/buildingDynamic/Details`,
- method: 'GET',
- },
- update: {
- url: `${prefix}/buildingDynamic/update`,
- method: 'PUT',
- },
- add: {
- url: `${prefix}/buildingDynamic/add`,
- method: 'POST',
- },
- poster: {
- url: `${prefix}/poster`,
- method: 'GET',
- },
- updatePoster: {
- url: `${prefix}/poster/:id`,
- method: 'PUT',
- },
- addPoster: {
- url: `${prefix}/poster`,
- method: 'POST',
- },
- shareContent: {
- url: `${prefix}/shareContent`,
- method: 'GET',
- },
- updateShareContent: {
- url: `${prefix}/shareContent/:id`,
- method: 'PUT',
- },
- addShareContent: {
- url: `${prefix}/shareContent`,
- method: 'POST',
- },
- signList: {
- url: `${prefix}/SignList`,
- method: 'GET',
- }
- },
- integralMall: {
- tdPointsRules: {
- url: `${prefix}/tdPointsRules`,
- method: 'GET',
- },
- change: {
- url: `${prefix}/tdPointsRules/change`,
- method: 'PUT',
- },
- taGoods: {
- url: `${prefix}/taGoods/:id`,
- method: 'GET',
- },
- updateTaGoods: {
- url: `${prefix}/taGoods`,
- method: 'PUT',
- },
- addTaGoods: {
- url: `${prefix}/taGoods/add`,
- method: 'POST',
- },
- taPointsExchange: {
- url: `${prefix}/taPointsExchange`,
- method: 'GET',
- },
- getTaGoods: {
- url: `${prefix}/taGoods`,
- method: 'GET',
- },
- changeTaGoods: {
- url: `${prefix}/taGoods/change`,
- method: 'PUT',
- },
- changeTaPointsExchange: {
- url: `${prefix}/taPointsExchange/change`,
- method: 'PUT',
- }
- },
- carsuseFigure: {
- extendContent: {
- url: `${prefix}/extendContent`,
- method: 'GET',
- },
- finish: {
- url: `${prefix}/buildingDynamic/finish`,
- method: 'PUT',
- },
- updataExtendContent: {
- url: `${prefix}/extendContent/:id`,
- method: 'PUT',
- },
- getExtendContent: {
- url: `${prefix}/extendContent/:id`,
- method: 'GET',
- },
- addExtendContent: {
- url: `${prefix}/extendContent`,
- method: 'POST',
- }
- },
- system: {
- taPolicy: {
- url: `${prefix}/taPolicy/:id`,
- method: 'GET',
- },
- updateTaPolicy: {
- url: `${prefix}/taPolicy/:id`,
- method: 'PUT',
- },
- addTaPolicy: {
- url: `${prefix}/taPolicy`,
- method: 'POST',
- },
- getTaPolicy: {
- url: `${prefix}/taPolicy`,
- method: 'GET',
- },
- deleteTaPolicy: {
- url: `${prefix}/taPolicy/:id`,
- method: 'DELETE',
- },
- tdBizEventIntention: {
- url: `${prefix}/tdBizEventIntention`,
- method: 'GET',
- },
- taBuildingIntentionAddOrUpdate: {
- url: `${prefix}/taBuildingIntentionAddOrUpdate/:id`,
- method: 'POST',
- },
- taCustomerMessage: {
- url: `${prefix}/taCustomerMessage`,
- method: 'GET',
- },
- tdReports: {
- url: `${prefix}/tdReports`,
- method: 'GET',
- },
- taBuildingReports: {
- url: `${prefix}/taBuildingReports`,
- method: 'GET',
- },
- addTaBuildingReports: {
- url: `${prefix}/taBuildingReport/add`,
- method: 'POST',
- }
- },
- staff: {
- taUser: {
- url: `${prefix}/taUser`,
- method: 'GET',
- },
- taTags: {
- url: `${prefix}/taTags`,
- method: 'GET',
- },
- getTaUser: {
- url: `${prefix}/taUser/:id`,
- method: 'GET',
- },
- updateTaUser: {
- url: `${prefix}/taUser/:id`,
- method: 'PUT',
- },
- addTaUser: {
- url: `${prefix}/taUser`,
- method: 'POST',
- },
- change: {
- url: `${prefix}/turn/taUser/:id/:type`,
- method: 'PUT',
- }
- }
- // 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`
- // },
- // },
- }
|