知与行后台管理端

apis.js 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910
  1. const prefix = '/api/admin'
  2. export default {
  3. image: {
  4. uploadForAnt: {
  5. url: `${prefix}/antd/image`,
  6. method: 'POST',
  7. action: 'upload',
  8. },
  9. upload: {
  10. url: `${prefix}/image`,
  11. method: 'POST',
  12. action: 'upload',
  13. },
  14. },
  15. user: {
  16. updatePassword: {
  17. method: 'PUT',
  18. url: `${prefix}/update/password`,
  19. action: 'admin.update.password',
  20. },
  21. current: {
  22. method: 'GET',
  23. url: `${prefix}/taUser/current`,
  24. action: 'admin.taUser.current.get',
  25. },
  26. signin: {
  27. method: 'POST',
  28. url: `${prefix}/taUser/signin`,
  29. login: true,
  30. action: 'admin.taUser.signin.post',
  31. },
  32. signout: {
  33. method: 'POST',
  34. url: `${prefix}/taUser/signout`,
  35. logout: true,
  36. action: 'signout',
  37. },
  38. },
  39. building: {
  40. getList: {
  41. method: 'GET',
  42. url: `${prefix}/buildinglist`,
  43. action: 'admin.buildinglist.get',
  44. },
  45. updateStatus: {
  46. method: 'PUT',
  47. url: `${prefix}/building/update/status`,
  48. action: 'admin.building.update.status.put',
  49. },
  50. addBuilding: {
  51. method: 'POST',
  52. url: `${prefix}/building/add`,
  53. action: 'admin.building.add.post',
  54. },
  55. updateBuilding: {
  56. method: 'PUT',
  57. url: `${prefix}/building/update`,
  58. action: 'admin.building.update.put',
  59. },
  60. buildingGetById: {
  61. method: 'GET',
  62. url: `${prefix}/buildingSelectId/:id`,
  63. action: 'admin.buildingSelectId.id.get',
  64. },
  65. deleteBuilding: {
  66. method: 'DELETE',
  67. url: `${prefix}/building/delete/:id`,
  68. action: 'admin.building.delete.id.delete',
  69. },
  70. buildingApartment: {
  71. method: 'GET',
  72. url: `${prefix}/buildingApartment/buildingId/:id`,
  73. action: 'admin.buildingApartment.buildingId.id.get',
  74. },
  75. buildingApartmentGetById: {
  76. method: 'GET',
  77. url: `${prefix}/buildingApartment/:id`,
  78. action: 'admin.buildingApartment.id.get',
  79. },
  80. buildingApartmentUpdate: {
  81. method: 'PUT',
  82. url: `${prefix}/buildingApartment/update`,
  83. action: 'admin.buildingApartment.update.put',
  84. },
  85. buildingApartmentAdd: {
  86. method: 'POST',
  87. url: `${prefix}/buildingApartment/add`,
  88. action: 'admin.buildingApartment.add.post',
  89. },
  90. buildingApartmentDelete: {
  91. method: 'DELETE',
  92. url: `${prefix}/apartment/deleted/:id`,
  93. action: 'admin.apartment.deleted.id.delete',
  94. },
  95. buildingSelect: {
  96. url: `${prefix}/buildinglist/select`,
  97. method: 'GET',
  98. action: 'select',
  99. },
  100. getMiniappName: {
  101. url: `${prefix}/getMiniappName`,
  102. method: 'GET',
  103. action: 'select',
  104. },
  105. },
  106. buildingType: {
  107. getList: {
  108. method: 'GET',
  109. url: `${prefix}/tdBuildingType`,
  110. action: 'admin.tdBuildingType.get',
  111. },
  112. delete: {
  113. method: 'DELETE',
  114. url: `${prefix}/tdBuildingType/:id`,
  115. action: 'admin.tdBuildingType.id.delete',
  116. },
  117. update: {
  118. method: 'PUT',
  119. url: `${prefix}/tdBuildingType/:id`,
  120. action: 'admin.tdBuildingType.id.put',
  121. },
  122. add: {
  123. method: 'POST',
  124. url: `${prefix}/tdBuildingType`,
  125. action: 'admin.tdBuildingType.post',
  126. },
  127. getById: {
  128. method: 'GET',
  129. url: `${prefix}/tdBuildingType/:id`,
  130. action: 'admin.tdBuildingType.id.get',
  131. },
  132. },
  133. news: {
  134. getList: {
  135. method: 'GET',
  136. url: `${prefix}/taNews`,
  137. action: 'admin.taNews.get',
  138. },
  139. delete: {
  140. method: 'DELETE',
  141. url: `${prefix}/taNews/:id`,
  142. action: 'admin.taNews.id.delete',
  143. },
  144. cancel: {
  145. method: 'PUT',
  146. url: `${prefix}/taNews/:id`,
  147. action: 'admin.taNews.id.put',
  148. },
  149. get: {
  150. method: 'GET',
  151. url: `${prefix}/taNews/:id`,
  152. action: 'admin.taNews.id.get',
  153. },
  154. post: {
  155. method: 'POST',
  156. url: `${prefix}/taNews`,
  157. action: 'admin.taNews.post',
  158. },
  159. put: {
  160. method: 'PUT',
  161. url: `${prefix}/taNews/:id`,
  162. action: 'admin.taNews.id.put',
  163. },
  164. weight: {
  165. method: 'PUT',
  166. url: `${prefix}/taNews/weight`,
  167. action: 'admin.taNews.weight.put',
  168. }
  169. },
  170. newsType: {
  171. list: {
  172. method: 'GET',
  173. url: `${prefix}/taNewsType`,
  174. action: 'admin.taNewsType.get',
  175. },
  176. delete: {
  177. method: 'DELETE',
  178. url: `${prefix}/taNewsType/:id`,
  179. action: 'admin.taNewsType.id.delete',
  180. },
  181. put: {
  182. method: 'PUT',
  183. url: `${prefix}/taNewsType/:id`,
  184. action: 'admin.taNewsType.id.delete',
  185. },
  186. post: {
  187. method: 'POST',
  188. url: `${prefix}/taNewsType`,
  189. action: 'admin.taNewsType.post',
  190. },
  191. get: {
  192. method: 'GET',
  193. url: `${prefix}/taNewsType/:id`,
  194. action: 'admin.taNewsType.get',
  195. }
  196. },
  197. customer: {
  198. drift: {
  199. method: 'GET',
  200. url: `${prefix}/customer/recommend/drift`,
  201. action: 'admin.customer.recommend.drift.get',
  202. },
  203. report: {
  204. method: 'GET',
  205. url: `${prefix}/customer/recommend/report`,
  206. action: 'admin.customer.recommend.report.get',
  207. },
  208. recommender: {
  209. method: 'GET',
  210. url: `${prefix}/customer/recommend/recommender`,
  211. action: 'admin.customer.recommend.recommender.get',
  212. },
  213. auto: {
  214. method: 'PUT',
  215. url: `${prefix}/customer/recommend/verify/:id`,
  216. action: 'admin.customer.recommend.verify.id.put',
  217. },
  218. recommendGetById: {
  219. method: 'GET',
  220. url: `${prefix}/customer/recommend/getById/:id`,
  221. action: 'admin.customer.recommend.getById.id.get',
  222. },
  223. agents: {
  224. method: 'GET',
  225. url: `${prefix}/customer/agents`,
  226. action: 'admin.customer.agents.get',
  227. },
  228. customerRecommend: {
  229. method: 'GET',
  230. url: `${prefix}/customer/recommend`,
  231. action: 'admin.customer.recommend.get',
  232. },
  233. consultant: {
  234. method: 'GET',
  235. url: `${prefix}/consultant`,
  236. action: 'admin.consultant.get',
  237. },
  238. buildingConsultant: {
  239. method: 'GET',
  240. url: `${prefix}/building/consultant`,
  241. action: 'admin.building.consultant.get',
  242. },
  243. recommendEdit: {
  244. method: 'PUT',
  245. url: `${prefix}/customer/recommend/edit/:id`,
  246. action: 'admin.customer.recommend.edit.id.put',
  247. },
  248. taPointsRecords: {
  249. method: 'GET',
  250. url: `${prefix}/mine/taPointsRecords/:id`,
  251. action: 'admin.mine.taPointsRecords.id.get',
  252. },
  253. recommend: {
  254. method: 'GET',
  255. url: `${prefix}/customer/recommend/:id`,
  256. action: 'admin.customer.recommend.id.get',
  257. },
  258. InviteClientsList: {
  259. method: 'GET',
  260. url: `${prefix}/channel/InviteClientsList`,
  261. action: 'admin.channel.InviteClientsList.get',
  262. },
  263. CustomerRecommendGet: {
  264. method: 'GET',
  265. url: `${prefix}/customer/recommend/get/:id`,
  266. action: 'admin.customer.recommend.get.id.get',
  267. },
  268. customerRecommendRecommenderExport: { // 导出数据(推荐客户)
  269. method: 'GET',
  270. url: `${prefix}/customer/recommend/recommender/export`,
  271. action: 'admin.customer.recommend.recommender.export.get',
  272. },
  273. customerRecommendReportExport: { // 导出数据(报备客户)
  274. method: 'GET',
  275. url: `${prefix}/customer/recommend/report/export`,
  276. action: 'admin.customer.recommend.report.export.get',
  277. },
  278. customerRecommendAgentsExport: { // 导出数据(经纪人)
  279. method: 'GET',
  280. url: `${prefix}/customer/recommend/agents/export`,
  281. action: 'admin.customer.recommend.agents.export.get',
  282. },
  283. customerRecommendExport: { // 导出数据(客户列表)
  284. method: 'GET',
  285. url: `${prefix}/customer/recommend/export`,
  286. action: 'admin.customer.recommend.export.get',
  287. },
  288. },
  289. indexEcharts: {
  290. list:{
  291. method:'GET',
  292. url: `${prefix}/indexStatistical`,
  293. action: 'userStatistics',
  294. },
  295. userResource: {
  296. method: 'GET',
  297. url: `${prefix}/selectUserResource`,
  298. action: 'userStatistics',
  299. },
  300. list:{
  301. method:'Get',
  302. url: `${prefix}/indexStatistical`,
  303. action:'select',
  304. },
  305. userBehavior: {
  306. summary: {
  307. method: 'GET',
  308. url: `${prefix}/selectUserBehavior`,
  309. action: 'userBehaviorStatistics',
  310. },
  311. profile: {
  312. method: 'GET',
  313. url: `${prefix}/selectEventAll`,
  314. action: 'behaviorIncident',
  315. },
  316. },
  317. bizEvent: {
  318. dict: {
  319. method:'get',
  320. url: `${prefix}/tdBizEventType`,
  321. action:'select',
  322. },
  323. list: {
  324. method:'get',
  325. url: `${prefix}/tdBizEvent`,
  326. action:'select',
  327. },
  328. properties: {
  329. method:'get',
  330. url: `${prefix}/taEventProperties`,
  331. action:'select',
  332. },
  333. },
  334. userActive: {
  335. method: 'GET',
  336. url: `${prefix}/selectActiveUserCount`,
  337. action: 'selectActiveUserCount',
  338. },
  339. userSex: {
  340. method: 'GET',
  341. url: `${prefix}/selectSexUser`,
  342. action: 'selectSexUser',
  343. },
  344. newUser: {
  345. method: 'GET',
  346. url: `${prefix}/selectNewsUserCount`,
  347. action: 'selectNewsUserCount',
  348. },
  349. userConversion: {
  350. method: 'GET',
  351. url: `${prefix}/selectConversion`,
  352. action: 'selectConversion',
  353. },
  354. intentionUsers: {
  355. method: 'GET',
  356. url: `${prefix}/selectIntentionUser`,
  357. action: 'selectIntentionUser',
  358. },
  359. userCity: {
  360. method: 'get',
  361. url: `${prefix}/selectCityUser`,
  362. action: 'admin.selectCityUser.get',
  363. },
  364. },
  365. activity: {
  366. list: {
  367. method: 'GET',
  368. url: `${prefix}/iBuildingDynamicList`,
  369. action: 'admin.iBuildingDynamicList.get',
  370. },
  371. weight: {
  372. method: 'PUT',
  373. url: `${prefix}/buildingDynamic/weight`,
  374. action: 'admin.buildingDynamic.weight.put',
  375. },
  376. cancel: {
  377. method: 'PUT',
  378. url: `${prefix}/buildingDynamic/cancel/:id`,
  379. action: 'admin.buildingDynamic.cancel.dynamicId.put',
  380. },
  381. send: {
  382. url: `${prefix}/buildingDynamic/send/:id`,
  383. method: 'PUT',
  384. action: 'admin.buildingDynamic.send.dynamicId.put',
  385. },
  386. finish: {
  387. url: `${prefix}/buildingDynamic/finish`,
  388. method: 'PUT',
  389. action: 'admin.buildingDynamic.finish.put',
  390. },
  391. details: {
  392. url: `${prefix}/buildingDynamic/Details`,
  393. method: 'GET',
  394. action: 'admin.buildingDynamic.Details.get',
  395. },
  396. update: {
  397. url: `${prefix}/buildingDynamic/update`,
  398. method: 'PUT',
  399. action: 'admin.buildingDynamic.update.put',
  400. },
  401. add: {
  402. url: `${prefix}/buildingDynamic/add`,
  403. method: 'POST',
  404. action: 'admin.buildingDynamic.add.post',
  405. },
  406. poster: {
  407. url: `${prefix}/poster`,
  408. method: 'GET',
  409. action: 'admin.poster.get',
  410. },
  411. usedPoster: {
  412. url: `${prefix}/used/poster`,
  413. method: 'GET',
  414. action: 'admin.used.poster.get',
  415. },
  416. updatePoster: {
  417. url: `${prefix}/poster/:id`,
  418. method: 'PUT',
  419. action: 'admin.poster.id.put',
  420. },
  421. addPoster: {
  422. url: `${prefix}/poster`,
  423. method: 'POST',
  424. action: 'admin.poster.post',
  425. },
  426. shareContent: {
  427. url: `${prefix}/shareContent`,
  428. method: 'GET',
  429. action: 'admin.shareContent.get',
  430. },
  431. updateShareContent: {
  432. url: `${prefix}/shareContent/:id`,
  433. method: 'PUT',
  434. action: 'admin.shareContent.id.put',
  435. },
  436. addShareContent: {
  437. url: `${prefix}/shareContent`,
  438. method: 'POST',
  439. action: 'admin.shareContent.post',
  440. },
  441. signList: {
  442. url: `${prefix}/SignList`,
  443. method: 'GET',
  444. action: 'admin.SignList.get',
  445. },
  446. getTaActivityDynamicEnlistExport: {
  447. url: `${prefix}/activityDynamicEnlist/export`,
  448. method: 'GET',
  449. action: 'admin.activityDynamicEnlist.export.get',
  450. },
  451. taDrainage: {
  452. url: `${prefix}/taDrainage`,
  453. method: 'GET',
  454. action: 'admin.taDrainage.get',
  455. },
  456. addtaDrainage: {
  457. url: `${prefix}/taDrainage/add`,
  458. method: 'POST',
  459. action: 'admin.taDrainage.add.post',
  460. },
  461. deletetaDrainage: {
  462. url: `${prefix}/taDrainage/:id`,
  463. method: 'DELETE',
  464. action: 'admin.taDrainage.id.delete',
  465. },
  466. updatetaDrainage: {
  467. url: `${prefix}/taDrainage/:id`,
  468. method: 'PUT',
  469. action: 'admin.taDrainage.id.put',
  470. },
  471. taDrainageRecord: {
  472. url: `${prefix}/taDrainageRecord`,
  473. method: 'GET',
  474. action: 'admin.taDrainageRecord.get',
  475. },
  476. exporttaDrainageRecord: {
  477. url: `${prefix}/taDrainageRecord/export`,
  478. method: 'GET',
  479. action: 'admin.taDrainageRecord.export.get',
  480. },
  481. },
  482. integralMall: {
  483. tdPointsRules: {
  484. url: `${prefix}/tdPointsRules`,
  485. method: 'GET',
  486. action: 'admin.tdPointsRules.get',
  487. },
  488. rulesDetail: {
  489. url: `${prefix}/tdPointsRules/:id`,
  490. method: 'GET',
  491. action: 'admin.tdPointsRules.id.get',
  492. },
  493. rulesUpdate: {
  494. url: `${prefix}/tdPointsRules`,
  495. method: 'PUT',
  496. action: 'admin.tdPointsRules.put',
  497. },
  498. change: {
  499. url: `${prefix}/tdPointsRules/change`,
  500. method: 'PUT',
  501. action: 'admin.tdPointsRules.change.put',
  502. },
  503. taGoods: {
  504. url: `${prefix}/taGoods/:id`,
  505. method: 'GET',
  506. action: 'admin.taGoods.id.get',
  507. },
  508. updateTaGoods: {
  509. url: `${prefix}/taGoods`,
  510. method: 'PUT',
  511. action: 'admin.taGoods.put',
  512. },
  513. addTaGoods: {
  514. url: `${prefix}/taGoods/add`,
  515. method: 'POST',
  516. action: 'admin.taGoods.add.post',
  517. },
  518. taPointsExchange: {
  519. url: `${prefix}/taPointsExchange`,
  520. method: 'GET',
  521. action: 'admin.taPointsExchange.get',
  522. },
  523. getTaGoods: {
  524. url: `${prefix}/taGoods`,
  525. method: 'GET',
  526. action: 'admin.taGoods.get',
  527. },
  528. changeTaGoods: {
  529. url: `${prefix}/taGoods/change`,
  530. method: 'PUT',
  531. action: 'admin.taGoods.change.put',
  532. },
  533. changeTaPointsExchange: {
  534. url: `${prefix}/taPointsExchange/change`,
  535. method: 'PUT',
  536. action: 'admin.taPointsExchange.change.put',
  537. },
  538. },
  539. carsuseFigure: {
  540. extendContent: {
  541. url: `${prefix}/extendContent`,
  542. method: 'GET',
  543. action: 'admin.extendContent.get',
  544. },
  545. finish: {
  546. url: `${prefix}/buildingDynamic/finish`,
  547. method: 'PUT',
  548. action: 'admin.buildingDynamic.finish.put',
  549. },
  550. updataExtendContent: {
  551. url: `${prefix}/extendContent/:id`,
  552. method: 'PUT',
  553. action: 'admin.extendContent.id.put',
  554. },
  555. getExtendContent: {
  556. url: `${prefix}/extendContent/:id`,
  557. method: 'GET',
  558. action: 'admin.extendContent.id.get',
  559. },
  560. addExtendContent: {
  561. url: `${prefix}/extendContent`,
  562. method: 'POST',
  563. action: 'admin.extendContent.post',
  564. },
  565. },
  566. system: {
  567. taPolicy: {
  568. url: `${prefix}/taPolicy/:id`,
  569. method: 'GET',
  570. action: 'admin.taPolicy.id.get',
  571. },
  572. updateTaPolicy: {
  573. url: `${prefix}/taPolicy/:id`,
  574. method: 'PUT',
  575. action: 'admin.taPolicy.id.put',
  576. },
  577. addTaPolicy: {
  578. url: `${prefix}/taPolicy`,
  579. method: 'POST',
  580. action: 'admin.taPolicy.post',
  581. },
  582. getTaPolicy: {
  583. url: `${prefix}/taPolicy`,
  584. method: 'GET',
  585. action: 'admin.taPolicy.get',
  586. },
  587. deleteTaPolicy: {
  588. url: `${prefix}/taPolicy/:id`,
  589. method: 'DELETE',
  590. action: 'admin.taPolicy.id.delete',
  591. },
  592. tdBizEventIntention: {
  593. url: `${prefix}/tdBizEventIntention`,
  594. method: 'GET',
  595. action: 'admin.tdBizEventIntention.get',
  596. },
  597. taBuildingIntentionAddOrUpdate: {
  598. url: `${prefix}/taBuildingIntentionAddOrUpdate/:id`,
  599. method: 'POST',
  600. action: 'admin.taBuildingIntentionAddOrUpdate.buildingId.post',
  601. },
  602. taCustomerMessage: {
  603. url: `${prefix}/taCustomerMessage`,
  604. method: 'GET',
  605. action: 'admin.taCustomerMessage.get',
  606. },
  607. tdReports: {
  608. url: `${prefix}/tdReports`,
  609. method: 'GET',
  610. action: 'admin.tdReports.get',
  611. },
  612. taBuildingReports: {
  613. url: `${prefix}/taBuildingReports`,
  614. method: 'GET',
  615. action: 'admin.taBuildingReports.get',
  616. },
  617. addTaBuildingReports: {
  618. url: `${prefix}/taBuildingReport/add`,
  619. method: 'POST',
  620. action: 'admin.taBuildingReport.add.post',
  621. },
  622. documentVerifylist: {
  623. url: `${prefix}/documentVerify`,
  624. method: 'GET',
  625. action: 'admin.documentVerify.get',
  626. },
  627. documentVerifyDetail: {
  628. url: `${prefix}/documentVerify/:id`,
  629. method: 'GET',
  630. action: 'admin.documentVerify.id.get',
  631. },
  632. updateVerify: {
  633. url: `${prefix}/documentVerify/:id`,
  634. method: 'PUT',
  635. action: 'admin.documentVerify.id.put',
  636. },
  637. },
  638. staff: {
  639. taUser: {
  640. url: `${prefix}/taUser`,
  641. method: 'GET',
  642. action: 'admin.taUser.get',
  643. },
  644. taTags: {
  645. url: `${prefix}/taTags`,
  646. method: 'GET',
  647. action: 'admin.taTags.get',
  648. },
  649. getTaUser: {
  650. url: `${prefix}/taUser/:id`,
  651. method: 'GET',
  652. action: 'admin.taUser.id.get',
  653. },
  654. updateTaUser: {
  655. url: `${prefix}/taUser/:id`,
  656. method: 'PUT',
  657. action: 'admin.taUser.id.put',
  658. },
  659. addTaUser: {
  660. url: `${prefix}/taUser`,
  661. method: 'POST',
  662. action: 'admin.taUser.post',
  663. },
  664. change: {
  665. url: `${prefix}/turn/taUser/:id/:type`,
  666. method: 'PUT',
  667. action: 'admin.turn.taUser.put',
  668. },
  669. },
  670. channelList: {
  671. getList: {
  672. url: `${prefix}/channel`,
  673. method: 'GET',
  674. action: 'admin.channel.get',
  675. },
  676. addChannel: {
  677. url: `${prefix}/channel`,
  678. method: 'POST',
  679. action: 'admin.channel.post',
  680. },
  681. getById: {
  682. url: `${prefix}/channel/:id`,
  683. method: 'GET',
  684. action: 'admin.channel.id.get',
  685. },
  686. editChannel: {
  687. url: `${prefix}/channel/:id`,
  688. method: 'PUT',
  689. action: 'admin.channel.id.put',
  690. },
  691. getListBroker: {
  692. url: `${prefix}/channel/broker`,
  693. method: 'GET',
  694. action: 'admin.channel.broker.get',
  695. },
  696. getListRecommend: {
  697. url: `${prefix}/customer/recommend/:id`,
  698. method: 'GET',
  699. action: 'admin.customer.recommend.id.get',
  700. },
  701. getListInvite: {
  702. url: `${prefix}/channel/InviteClientsList`,
  703. method: 'GET',
  704. action: 'admin.channel.InviteClientsList.get',
  705. },
  706. },
  707. role: {
  708. getRoleList: {
  709. url: `${prefix}/taRole`,
  710. method: 'GET',
  711. action: 'admin.taRole.get',
  712. },
  713. stop: {
  714. url: `${prefix}/taRole/stop/:id`,
  715. method: 'PUT',
  716. action: 'admin.taRole.stop.id.PUT',
  717. },
  718. menuList: {
  719. url: `${prefix}/menuList`,
  720. method: 'GET',
  721. action: 'admin.menuList.get',
  722. },
  723. buttonList: {
  724. url: `${prefix}/buttonList`,
  725. method: 'GET',
  726. action: 'admin.buttonList.get',
  727. },
  728. buttonAndMenuList: {
  729. url: `${prefix}/taRole/details/:id`,
  730. method: 'GET',
  731. action: 'admin.taRole.details.id.get'
  732. },
  733. updateAuthMenu: {
  734. url: `${prefix}/updateAuthMenu`,
  735. method: 'POST',
  736. action: 'admin.updateAuthMenu.post',
  737. },
  738. },
  739. helpActivity: {
  740. effectiveList: {
  741. url: `${prefix}/helpActivityEffective/list`,
  742. method: 'GET',
  743. action: 'admin.helpActivityEffective.list.get',
  744. },
  745. list: {
  746. url: `${prefix}/helpActivity/list`,
  747. method: 'GET',
  748. action: 'admin.helpActivity.get',
  749. },
  750. add: {
  751. url: `${prefix}/helpActivity/add`,
  752. method: 'post',
  753. action: 'admin.helpActivity.add.post',
  754. },
  755. details: {
  756. url: `${prefix}/helpActivity/details`,
  757. method: 'get',
  758. action: 'admin.helpActivity.details.get',
  759. },
  760. update: {
  761. url: `${prefix}/helpActivity/update`,
  762. method: 'put',
  763. action: 'admin.helpActivity.update.put',
  764. },
  765. top: {
  766. url: `${prefix}/top/update`,
  767. method: 'post',
  768. action: 'admin.top.update.post',
  769. },
  770. record: {
  771. url: `${prefix}/helpRecord`,
  772. method: 'get',
  773. action: 'admin.helpRecord.get',
  774. },
  775. helpPeopleDetails: {
  776. url: `${prefix}/taHelpRecord/details`,
  777. method: 'get',
  778. action: 'admin.taHelpRecord.details.get',
  779. },
  780. verification: {
  781. url: `${prefix}/helpInitiateRecordVerify`,
  782. method: 'post',
  783. action: 'admin.helpInitiateRecordVerify.get',
  784. },
  785. HelpInitiateRecordSucceed: {
  786. url: `${prefix}/HelpInitiateRecordSucceed/export`,
  787. method: 'get',
  788. action: 'admin.HelpInitiateRecordSucceed.export.get',
  789. },
  790. gethelpRecordExport: {
  791. url: `${prefix}/helpRecord/export`,
  792. method: 'get',
  793. action: 'admin.helpRecord.export.get',
  794. },
  795. },
  796. groupActivity: {
  797. list: {
  798. url: `${prefix}/taShareActivity/list`,
  799. method: 'get',
  800. action: 'admin.taShareActivity.list.get',
  801. },
  802. EffectiveList: {
  803. url: `${prefix}/taShareActivityEffective/list`,
  804. method: 'get',
  805. action: 'admin.taShareActivityEffective.list.get',
  806. },
  807. add: {
  808. url: `${prefix}/taShareActivity`,
  809. method: 'post',
  810. action: 'admin.taShareActivity.post',
  811. },
  812. details: {
  813. url: `${prefix}/taShareActivity/:id`,
  814. method: 'get',
  815. action: 'admin.taShareActivity.id.get',
  816. },
  817. avgScore: {
  818. url: `${prefix}/taShareActivity/avgScore`,
  819. method: 'get',
  820. action: 'admin.taShareActivity.avgScore.get',
  821. },
  822. update: {
  823. url: `${prefix}/taShareActivity/update`,
  824. method: 'put',
  825. action: 'admin.taShareActivity.update.put',
  826. },
  827. finish: {
  828. url: `${prefix}/taShareActivity/finish/:id`,
  829. method: 'put',
  830. action: 'admin.taShareActivity.finish.put',
  831. },
  832. send: {
  833. url: `${prefix}/taShareActivity/send/:id`,
  834. method: 'PUT',
  835. action: 'admin.taShareActivity.finish.put',
  836. },
  837. cancel: {
  838. method: 'PUT',
  839. url: `${prefix}/taShareActivity/cancel/:id`,
  840. action: 'admin.taShareActivity.finish.put',
  841. },
  842. top: {
  843. url: `${prefix}/taShareActivity/weight`,
  844. method: 'put',
  845. action: 'admin.taShareActivity.weight.put',
  846. },
  847. shareSuccList: {
  848. url: `${prefix}/taShareSuccessRecord`,
  849. method: 'get',
  850. action: 'admin.taShareSuccessRecord.get',
  851. },
  852. shareFailList : {
  853. url: `${prefix}/taShareFailAndProcessingRecord`,
  854. method: 'get',
  855. action: 'admin.taShareFailAndProcessingRecord.get',
  856. },
  857. shareChildList : {
  858. url: `${prefix}/taShareChildRecord`,
  859. method: 'get',
  860. action: 'admin.taShareChildRecord.get',
  861. },
  862. exportShareChildRecord: {
  863. url: `${prefix}/taShareChildRecord/export`,
  864. method: 'get',
  865. action: 'admin.taShareChildRecord.export.get',
  866. },
  867. exportShareRecord: {
  868. url: `${prefix}/taShareRecord/export`,
  869. method: 'get',
  870. action: 'admin.taShareRecord.export.get',
  871. },
  872. verification: {
  873. url: `${prefix}/taShareRecord/verificate`,
  874. method: 'put',
  875. action: 'admin.taShareRecord.verificate.put',
  876. }
  877. },
  878. third: {
  879. thirdPartyMiniapp: {
  880. url: `${prefix}/thirdPartyMiniapp`,
  881. method: 'GET',
  882. action: 'admin.thirdPartyMiniapp.get',
  883. },
  884. update: {
  885. url: `${prefix}/thirdPartyMiniapp/update`,
  886. method: 'PUT',
  887. action: 'admin.thirdPartyMiniapp.update.put',
  888. },
  889. add: {
  890. url: `${prefix}/thirdPartyMiniapp/add`,
  891. method: 'POST',
  892. action: 'admin.thirdPartyMiniapp.add.post',
  893. },
  894. details: {
  895. url: `${prefix}/thirdPartyMiniapp/:id`,
  896. method: 'GET',
  897. action: 'admin.thirdPartyMiniapp.id.get',
  898. },
  899. },
  900. poster: {
  901. posterTemplate: {
  902. url: `${prefix}/posterTemplate`,
  903. method: 'GET',
  904. action: 'admin.posterTemplate.get',
  905. },
  906. }
  907. }