知与行后台管理端

apis.js 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884
  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. recommendEdit: {
  239. method: 'PUT',
  240. url: `${prefix}/customer/recommend/edit/:id`,
  241. action: 'admin.customer.recommend.edit.id.put',
  242. },
  243. taPointsRecords: {
  244. method: 'GET',
  245. url: `${prefix}/mine/taPointsRecords/:id`,
  246. action: 'admin.mine.taPointsRecords.id.get',
  247. },
  248. recommend: {
  249. method: 'GET',
  250. url: `${prefix}/customer/recommend/:id`,
  251. action: 'admin.customer.recommend.id.get',
  252. },
  253. InviteClientsList: {
  254. method: 'GET',
  255. url: `${prefix}/channel/InviteClientsList`,
  256. action: 'admin.channel.InviteClientsList.get',
  257. },
  258. CustomerRecommendGet: {
  259. method: 'GET',
  260. url: `${prefix}/customer/recommend/get/:id`,
  261. action: 'admin.customer.recommend.get.id.get',
  262. },
  263. customerRecommendRecommenderExport: { // 导出数据(推荐客户)
  264. method: 'GET',
  265. url: `${prefix}/customer/recommend/recommender/export`,
  266. action: 'admin.customer.recommend.recommender.export.get',
  267. },
  268. customerRecommendReportExport: { // 导出数据(报备客户)
  269. method: 'GET',
  270. url: `${prefix}/customer/recommend/report/export`,
  271. action: 'admin.customer.recommend.report.export.get',
  272. },
  273. customerRecommendAgentsExport: { // 导出数据(经纪人)
  274. method: 'GET',
  275. url: `${prefix}/customer/recommend/agents/export`,
  276. action: 'admin.customer.recommend.agents.export.get',
  277. },
  278. customerRecommendExport: { // 导出数据(客户列表)
  279. method: 'GET',
  280. url: `${prefix}/customer/recommend/export`,
  281. action: 'admin.customer.recommend.export.get',
  282. },
  283. },
  284. indexEcharts: {
  285. list:{
  286. method:'GET',
  287. url: `${prefix}/indexStatistical`,
  288. action: 'userStatistics',
  289. },
  290. userResource: {
  291. method: 'GET',
  292. url: `${prefix}/selectUserResource`,
  293. action: 'userStatistics',
  294. },
  295. list:{
  296. method:'Get',
  297. url: `${prefix}/indexStatistical`,
  298. action:'select',
  299. },
  300. userBehavior: {
  301. summary: {
  302. method: 'GET',
  303. url: `${prefix}/selectUserBehavior`,
  304. action: 'userBehaviorStatistics',
  305. },
  306. profile: {
  307. method: 'GET',
  308. url: `${prefix}/selectEventAll`,
  309. action: 'behaviorIncident',
  310. },
  311. },
  312. bizEvent: {
  313. dict: {
  314. method:'get',
  315. url: `${prefix}/tdBizEventType`,
  316. action:'select',
  317. },
  318. list: {
  319. method:'get',
  320. url: `${prefix}/tdBizEvent`,
  321. action:'select',
  322. },
  323. properties: {
  324. method:'get',
  325. url: `${prefix}/taEventProperties`,
  326. action:'select',
  327. },
  328. },
  329. userActive: {
  330. method: 'GET',
  331. url: `${prefix}/selectActiveUserCount`,
  332. action: 'selectActiveUserCount',
  333. },
  334. userSex: {
  335. method: 'GET',
  336. url: `${prefix}/selectSexUser`,
  337. action: 'selectSexUser',
  338. },
  339. newUser: {
  340. method: 'GET',
  341. url: `${prefix}/selectNewsUserCount`,
  342. action: 'selectNewsUserCount',
  343. },
  344. userConversion: {
  345. method: 'GET',
  346. url: `${prefix}/selectConversion`,
  347. action: 'selectConversion',
  348. },
  349. intentionUsers: {
  350. method: 'GET',
  351. url: `${prefix}/selectIntentionUser`,
  352. action: 'selectIntentionUser',
  353. },
  354. userCity: {
  355. method: 'get',
  356. url: `${prefix}/selectCityUser`,
  357. action: 'admin.selectCityUser.get',
  358. },
  359. },
  360. activity: {
  361. list: {
  362. method: 'GET',
  363. url: `${prefix}/iBuildingDynamicList`,
  364. action: 'admin.iBuildingDynamicList.get',
  365. },
  366. weight: {
  367. method: 'PUT',
  368. url: `${prefix}/buildingDynamic/weight`,
  369. action: 'admin.buildingDynamic.weight.put',
  370. },
  371. cancel: {
  372. method: 'PUT',
  373. url: `${prefix}/buildingDynamic/cancel/:id`,
  374. action: 'admin.buildingDynamic.cancel.dynamicId.put',
  375. },
  376. send: {
  377. url: `${prefix}/buildingDynamic/send/:id`,
  378. method: 'PUT',
  379. action: 'admin.buildingDynamic.send.dynamicId.put',
  380. },
  381. finish: {
  382. url: `${prefix}/buildingDynamic/finish`,
  383. method: 'PUT',
  384. action: 'admin.buildingDynamic.finish.put',
  385. },
  386. details: {
  387. url: `${prefix}/buildingDynamic/Details`,
  388. method: 'GET',
  389. action: 'admin.buildingDynamic.Details.get',
  390. },
  391. update: {
  392. url: `${prefix}/buildingDynamic/update`,
  393. method: 'PUT',
  394. action: 'admin.buildingDynamic.update.put',
  395. },
  396. add: {
  397. url: `${prefix}/buildingDynamic/add`,
  398. method: 'POST',
  399. action: 'admin.buildingDynamic.add.post',
  400. },
  401. poster: {
  402. url: `${prefix}/poster`,
  403. method: 'GET',
  404. action: 'admin.poster.get',
  405. },
  406. usedPoster: {
  407. url: `${prefix}/used/poster`,
  408. method: 'GET',
  409. action: 'admin.used.poster.get',
  410. },
  411. updatePoster: {
  412. url: `${prefix}/poster/:id`,
  413. method: 'PUT',
  414. action: 'admin.poster.id.put',
  415. },
  416. addPoster: {
  417. url: `${prefix}/poster`,
  418. method: 'POST',
  419. action: 'admin.poster.post',
  420. },
  421. shareContent: {
  422. url: `${prefix}/shareContent`,
  423. method: 'GET',
  424. action: 'admin.shareContent.get',
  425. },
  426. updateShareContent: {
  427. url: `${prefix}/shareContent/:id`,
  428. method: 'PUT',
  429. action: 'admin.shareContent.id.put',
  430. },
  431. addShareContent: {
  432. url: `${prefix}/shareContent`,
  433. method: 'POST',
  434. action: 'admin.shareContent.post',
  435. },
  436. signList: {
  437. url: `${prefix}/SignList`,
  438. method: 'GET',
  439. action: 'admin.SignList.get',
  440. },
  441. taDrainage: {
  442. url: `${prefix}/taDrainage`,
  443. method: 'GET',
  444. action: 'admin.taDrainage.get',
  445. },
  446. addtaDrainage: {
  447. url: `${prefix}/taDrainage/add`,
  448. method: 'POST',
  449. action: 'admin.taDrainage.add.post',
  450. },
  451. deletetaDrainage: {
  452. url: `${prefix}/taDrainage/:id`,
  453. method: 'DELETE',
  454. action: 'admin.taDrainage.id.delete',
  455. },
  456. updatetaDrainage: {
  457. url: `${prefix}/taDrainage/:id`,
  458. method: 'PUT',
  459. action: 'admin.taDrainage.id.put',
  460. },
  461. taDrainageRecord:{
  462. url: `${prefix}/taDrainageRecord`,
  463. method: 'GET',
  464. action: 'admin.taDrainageRecord.get',
  465. },
  466. exporttaDrainageRecord:{
  467. url: `${prefix}/taDrainageRecord/export`,
  468. method: 'GET',
  469. action: 'admin.taDrainageRecord/export.get',
  470. }
  471. },
  472. integralMall: {
  473. tdPointsRules: {
  474. url: `${prefix}/tdPointsRules`,
  475. method: 'GET',
  476. action: 'admin.tdPointsRules.get',
  477. },
  478. rulesDetail: {
  479. url: `${prefix}/tdPointsRules/:id`,
  480. method: 'GET',
  481. action: 'admin.tdPointsRules.id.get',
  482. },
  483. rulesUpdate: {
  484. url: `${prefix}/tdPointsRules`,
  485. method: 'PUT',
  486. action: 'admin.tdPointsRules.put',
  487. },
  488. change: {
  489. url: `${prefix}/tdPointsRules/change`,
  490. method: 'PUT',
  491. action: 'admin.tdPointsRules.change.put',
  492. },
  493. taGoods: {
  494. url: `${prefix}/taGoods/:id`,
  495. method: 'GET',
  496. action: 'admin.taGoods.id.get',
  497. },
  498. updateTaGoods: {
  499. url: `${prefix}/taGoods`,
  500. method: 'PUT',
  501. action: 'admin.taGoods.put',
  502. },
  503. addTaGoods: {
  504. url: `${prefix}/taGoods/add`,
  505. method: 'POST',
  506. action: 'admin.taGoods.add.post',
  507. },
  508. taPointsExchange: {
  509. url: `${prefix}/taPointsExchange`,
  510. method: 'GET',
  511. action: 'admin.taPointsExchange.get',
  512. },
  513. getTaGoods: {
  514. url: `${prefix}/taGoods`,
  515. method: 'GET',
  516. action: 'admin.taGoods.get',
  517. },
  518. changeTaGoods: {
  519. url: `${prefix}/taGoods/change`,
  520. method: 'PUT',
  521. action: 'admin.taGoods.change.put',
  522. },
  523. changeTaPointsExchange: {
  524. url: `${prefix}/taPointsExchange/change`,
  525. method: 'PUT',
  526. action: 'admin.taPointsExchange.change.put',
  527. },
  528. },
  529. carsuseFigure: {
  530. extendContent: {
  531. url: `${prefix}/extendContent`,
  532. method: 'GET',
  533. action: 'admin.extendContent.get',
  534. },
  535. finish: {
  536. url: `${prefix}/buildingDynamic/finish`,
  537. method: 'PUT',
  538. action: 'admin.buildingDynamic.finish.put',
  539. },
  540. updataExtendContent: {
  541. url: `${prefix}/extendContent/:id`,
  542. method: 'PUT',
  543. action: 'admin.extendContent.id.put',
  544. },
  545. getExtendContent: {
  546. url: `${prefix}/extendContent/:id`,
  547. method: 'GET',
  548. action: 'admin.extendContent.id.get',
  549. },
  550. addExtendContent: {
  551. url: `${prefix}/extendContent`,
  552. method: 'POST',
  553. action: 'admin.extendContent.post',
  554. },
  555. },
  556. system: {
  557. taPolicy: {
  558. url: `${prefix}/taPolicy/:id`,
  559. method: 'GET',
  560. action: 'admin.taPolicy.id.get',
  561. },
  562. updateTaPolicy: {
  563. url: `${prefix}/taPolicy/:id`,
  564. method: 'PUT',
  565. action: 'admin.taPolicy.id.put',
  566. },
  567. addTaPolicy: {
  568. url: `${prefix}/taPolicy`,
  569. method: 'POST',
  570. action: 'admin.taPolicy.post',
  571. },
  572. getTaPolicy: {
  573. url: `${prefix}/taPolicy`,
  574. method: 'GET',
  575. action: 'admin.taPolicy.get',
  576. },
  577. deleteTaPolicy: {
  578. url: `${prefix}/taPolicy/:id`,
  579. method: 'DELETE',
  580. action: 'admin.taPolicy.id.delete',
  581. },
  582. tdBizEventIntention: {
  583. url: `${prefix}/tdBizEventIntention`,
  584. method: 'GET',
  585. action: 'admin.tdBizEventIntention.get',
  586. },
  587. taBuildingIntentionAddOrUpdate: {
  588. url: `${prefix}/taBuildingIntentionAddOrUpdate/:id`,
  589. method: 'POST',
  590. action: 'admin.taBuildingIntentionAddOrUpdate.buildingId.post',
  591. },
  592. taCustomerMessage: {
  593. url: `${prefix}/taCustomerMessage`,
  594. method: 'GET',
  595. action: 'admin.taCustomerMessage.get',
  596. },
  597. tdReports: {
  598. url: `${prefix}/tdReports`,
  599. method: 'GET',
  600. action: 'admin.tdReports.get',
  601. },
  602. taBuildingReports: {
  603. url: `${prefix}/taBuildingReports`,
  604. method: 'GET',
  605. action: 'admin.taBuildingReports.get',
  606. },
  607. addTaBuildingReports: {
  608. url: `${prefix}/taBuildingReport/add`,
  609. method: 'POST',
  610. action: 'admin.taBuildingReport.add.post',
  611. },
  612. documentVerifylist:{
  613. url: `${prefix}/documentVerify`,
  614. method: 'GET',
  615. action: 'admin.documentVerify.get',
  616. },
  617. documentVerifyDetail:{
  618. url: `${prefix}/documentVerify/:id`,
  619. method: 'GET',
  620. action: 'admin.documentVerify.id.get',
  621. },
  622. updateTaPolicy: {
  623. url: `${prefix}/documentVerify/:id`,
  624. method: 'PUT',
  625. action: 'admin.documentVerify.id.put',
  626. },
  627. // /admin/documentVerify 查询审核列表,参数 pageNum, pageSize, name, tel
  628. // /documentVerify/{id} 根据id查询详情
  629. // /admin/documentVerify/{id} 根据Id修改
  630. },
  631. staff: {
  632. taUser: {
  633. url: `${prefix}/taUser`,
  634. method: 'GET',
  635. action: 'admin.taUser.get',
  636. },
  637. taTags: {
  638. url: `${prefix}/taTags`,
  639. method: 'GET',
  640. action: 'admin.taTags.get',
  641. },
  642. getTaUser: {
  643. url: `${prefix}/taUser/:id`,
  644. method: 'GET',
  645. action: 'admin.taUser.id.get',
  646. },
  647. updateTaUser: {
  648. url: `${prefix}/taUser/:id`,
  649. method: 'PUT',
  650. action: 'admin.taUser.id.put',
  651. },
  652. addTaUser: {
  653. url: `${prefix}/taUser`,
  654. method: 'POST',
  655. action: 'admin.taUser.post',
  656. },
  657. change: {
  658. url: `${prefix}/turn/taUser/:id/:type`,
  659. method: 'PUT',
  660. action: 'admin.turn.taUser.put',
  661. },
  662. },
  663. channelList: {
  664. getList: {
  665. url: `${prefix}/channel`,
  666. method: 'GET',
  667. action: 'admin.channel.get',
  668. },
  669. addChannel: {
  670. url: `${prefix}/channel`,
  671. method: 'POST',
  672. action: 'admin.channel.post',
  673. },
  674. getById: {
  675. url: `${prefix}/channel/:id`,
  676. method: 'GET',
  677. action: 'admin.channel.id.get',
  678. },
  679. editChannel: {
  680. url: `${prefix}/channel/:id`,
  681. method: 'PUT',
  682. action: 'admin.channel.id.put',
  683. },
  684. getListBroker: {
  685. url: `${prefix}/channel/broker`,
  686. method: 'GET',
  687. action: 'admin.channel.broker.get',
  688. },
  689. getListRecommend: {
  690. url: `${prefix}/customer/recommend/:id`,
  691. method: 'GET',
  692. action: 'admin.customer.recommend.id.get',
  693. },
  694. getListInvite: {
  695. url: `${prefix}/channel/InviteClientsList`,
  696. method: 'GET',
  697. action: 'admin.channel.InviteClientsList.get',
  698. },
  699. },
  700. role: {
  701. getRoleList: {
  702. url: `${prefix}/taRole`,
  703. method: 'GET',
  704. action: 'admin.taRole.get',
  705. },
  706. stop: {
  707. url: `${prefix}/taRole/stop/:id`,
  708. method: 'PUT',
  709. action: 'admin.taRole.stop.id.PUT',
  710. },
  711. menuList: {
  712. url: `${prefix}/menuList`,
  713. method: 'GET',
  714. action: 'admin.menuList.get',
  715. },
  716. buttonList: {
  717. url: `${prefix}/buttonList`,
  718. method: 'GET',
  719. action: 'admin.buttonList.get',
  720. },
  721. buttonAndMenuList: {
  722. url: `${prefix}/taRole/details/:id`,
  723. method: 'GET',
  724. action: 'admin.taRole.details.id.get'
  725. },
  726. updateAuthMenu: {
  727. url: `${prefix}/updateAuthMenu`,
  728. method: 'POST',
  729. action: 'admin.updateAuthMenu.post',
  730. },
  731. },
  732. helpActivity: {
  733. list: {
  734. url: `${prefix}/helpActivity/list`,
  735. method: 'GET',
  736. action: 'admin.taRole.get',
  737. },
  738. add: {
  739. url: `${prefix}/helpActivity/add`,
  740. method: 'post',
  741. action: 'admin.taRole.get',
  742. },
  743. details: {
  744. url: `${prefix}/helpActivity/details`,
  745. method: 'get',
  746. action: 'admin.taRole.get',
  747. },
  748. update: {
  749. url: `${prefix}/helpActivity/update`,
  750. method: 'put',
  751. action: 'admin.taRole.get',
  752. },
  753. top: {
  754. url: `${prefix}/top/update`,
  755. method: 'post',
  756. action: 'admin.taRole.get',
  757. },
  758. record: {
  759. url: `${prefix}/helpRecord`,
  760. method: 'get',
  761. action: 'admin.taRole.get',
  762. },
  763. helpPeopleDetails: {
  764. url: `${prefix}/taHelpRecord/details`,
  765. method: 'get',
  766. action: 'admin.taRole.get',
  767. },
  768. verification: {
  769. url: `${prefix}/helpInitiateRecordVerify`,
  770. method: 'post',
  771. action: 'admin.taRole.get',
  772. },
  773. HelpInitiateRecordSucceed: {
  774. url: `${prefix}/HelpInitiateRecordSucceed/export`,
  775. method: 'get',
  776. action: 'admin.taRole.get',
  777. },
  778. gethelpRecordExport: {
  779. url: `${prefix}/helpRecord/export`,
  780. method: 'get',
  781. action: 'admin.taRole.get',
  782. },
  783. },
  784. groupActivity: {
  785. list: {
  786. url: `${prefix}/taShareActivity/list`,
  787. method: 'get',
  788. action: 'admin.taShareActivity.get',
  789. },
  790. add: {
  791. url: `${prefix}/taShareActivity`,
  792. method: 'post',
  793. action: 'admin.taRole.get',
  794. },
  795. details: {
  796. url: `${prefix}/taShareActivity/:id`,
  797. method: 'get',
  798. action: 'admin.taRole.get',
  799. },
  800. avgScore: {
  801. url: `${prefix}/taShareActivity/avgScore`,
  802. method: 'get',
  803. action: 'admin.taRole.get',
  804. },
  805. update: {
  806. url: `${prefix}/taShareActivity/update`,
  807. method: 'put',
  808. action: 'admin.taRole.get',
  809. },
  810. finish: {
  811. url: `${prefix}/taShareActivity/finish/:id`,
  812. method: 'put',
  813. action: 'admin.taShareActivity.finish',
  814. },
  815. top: {
  816. url: `${prefix}/taShareActivity/weight`,
  817. method: 'put',
  818. action: 'admin.taShareActivity.weight',
  819. },
  820. shareSuccList: {
  821. url: `${prefix}/taShareSuccessRecord`,
  822. method: 'get',
  823. action: 'admin.taRole.get',
  824. },
  825. shareFailList : {
  826. url: `${prefix}/taShareFailAndProcessingRecord`,
  827. method: 'get',
  828. action: 'admin.taRole.get',
  829. },
  830. shareChildList : {
  831. url: `${prefix}/taShareChildRecord`,
  832. method: 'get',
  833. action: 'admin.taRole.get',
  834. },
  835. exportShareChildRecord: {
  836. url: `${prefix}/taShareChildRecord/export`,
  837. method: 'get',
  838. action: 'admin.taRole.get',
  839. },
  840. exportShareRecord: {
  841. url: `${prefix}/taShareRecord/export`,
  842. method: 'get',
  843. action: 'admin.taRole.get',
  844. },
  845. verification: {
  846. url: `${prefix}/taShareRecord/verificate`,
  847. method: 'put',
  848. action: 'admin.taRole.get',
  849. }
  850. },
  851. third: {
  852. thirdPartyMiniapp: {
  853. url: `${prefix}/thirdPartyMiniapp`,
  854. method: 'GET',
  855. action: 'admin.thirdPartyMiniapp.get',
  856. },
  857. update: {
  858. url: `${prefix}/thirdPartyMiniapp/update`,
  859. method: 'PUT',
  860. action: 'admin.thirdPartyMiniapp.update.put',
  861. },
  862. add: {
  863. url: `${prefix}/thirdPartyMiniapp/add`,
  864. method: 'POST',
  865. action: 'admin.thirdPartyMiniapp.add.post',
  866. },
  867. details: {
  868. url: `${prefix}/thirdPartyMiniapp/:id`,
  869. method: 'GET',
  870. action: 'admin.thirdPartyMiniapp.id.get',
  871. },
  872. },
  873. poster: {
  874. posterTemplate: {
  875. url: `${prefix}/posterTemplate`,
  876. method: 'GET',
  877. action: 'admin.posterTemplate.get',
  878. },
  879. }
  880. }