site.js 21KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126
  1. import request from '@/utils/request'
  2. export function AddRotationChart(data){
  3. return request({
  4. url:"/api/site/addrotationchart",
  5. method:"Post",
  6. data:data,
  7. })
  8. }
  9. export function addRotationUpload(data){
  10. return request({
  11. url:"/api/site/addrotationupload",
  12. method:"Post",
  13. data:data,
  14. })
  15. }
  16. export function saveHispital(data){
  17. return request({
  18. url:"/api/site/savehispital",
  19. method:"Post",
  20. data:data,
  21. })
  22. }
  23. export function addOffices(data){
  24. return request({
  25. url:"/api/site/addoffices",
  26. method:"Post",
  27. data:data,
  28. })
  29. }
  30. export function AddDoctor(data){
  31. return request({
  32. url:"/api/site/adddoctor",
  33. method:"Post",
  34. data:data,
  35. })
  36. }
  37. export function AddDoctorInfo(data){
  38. return request({
  39. url:"/api/site/adddoctorinfo",
  40. method:"Post",
  41. data:data,
  42. })
  43. }
  44. export function AddOfficeEnvironment(data){
  45. return request({
  46. url:"/api/site/keenvironment",
  47. method:"Post",
  48. data:data,
  49. })
  50. }
  51. export function GetRationImages(params){
  52. return request({
  53. url:"/api/site/getrationimages",
  54. method:'Get',
  55. params:params,
  56. })
  57. }
  58. export function GetHospitalInfo(params){
  59. return request({
  60. url:"/api/site/gethospitalinfo",
  61. method:'Get',
  62. params:params,
  63. })
  64. }
  65. export function GetOfficeInfo(params){
  66. return request({
  67. url:"/api/site/getofficeinfo",
  68. method:'Get',
  69. params:params,
  70. })
  71. }
  72. export function editDoctor(id,data){
  73. return request({
  74. url:"/api/site/editdoctor?id="+id,
  75. method:'Get',
  76. data:data,
  77. })
  78. }
  79. export function getQueryDocInfo(params){
  80. return request({
  81. url:"/api/site/getquerydocinfo",
  82. method:"Post",
  83. params:params,
  84. })
  85. }
  86. export function getQueryDoCHead(params){
  87. return request({
  88. url:"/api/site/getquerydochead",
  89. method:"Post",
  90. params:params,
  91. })
  92. }
  93. export function GetOffEnvironment(params){
  94. return request({
  95. url:"/api/site/getOffEnvironment",
  96. method:'Get',
  97. params:params,
  98. })
  99. }
  100. export function addconnection(data){
  101. return request({
  102. url:"/api/site/addconnection",
  103. method:"Post",
  104. data:data,
  105. })
  106. }
  107. export function addWorkTime(data){
  108. return request({
  109. url:"/api/site/addworktime",
  110. method:"Post",
  111. data:data,
  112. })
  113. }
  114. export function addRideWay(data){
  115. return request({
  116. url:"/api/site/addrideway",
  117. method:"Post",
  118. data:data,
  119. })
  120. }
  121. export function queryConnetion(params){
  122. return request({
  123. url:"/api/site/queryconnetion",
  124. method:"Get",
  125. params:params,
  126. })
  127. }
  128. export function deleteConnecWay(id,data){
  129. return request({
  130. url:"/api/site/delete?id="+id,
  131. method:"Get",
  132. data:data,
  133. })
  134. }
  135. export function editConnecWay(id,data){
  136. return request({
  137. url:"/api/site/editconnecway?id="+id,
  138. method:"Get",
  139. data:data,
  140. })
  141. }
  142. export function saveConnecform(id,data){
  143. return request({
  144. url:"/api/site/saveconnection?id="+id,
  145. method:"Post",
  146. data:data,
  147. })
  148. }
  149. export function addContract(data){
  150. return request({
  151. url:"/api/site/addcontract",
  152. method:"Post",
  153. data:data,
  154. })
  155. }
  156. export function GetUserdModel(params){
  157. return request({
  158. url:"/api/site/getuserdmodel",
  159. method:"Post",
  160. params:params,
  161. })
  162. }
  163. export function eidtmodel(id,data){
  164. return request({
  165. url:"/api/site/eidtmodel?id="+id,
  166. method:"Get",
  167. data:data,
  168. })
  169. }
  170. export function editRideWay(id,data){
  171. return request({
  172. url:"/api/site/editrideway?id="+id,
  173. method:"Get",
  174. data:data,
  175. })
  176. }
  177. export function SaveWorkTime(id,data){
  178. return request({
  179. url:"/api/site/saveworktime?id="+id,
  180. method:"Post",
  181. data:data,
  182. })
  183. }
  184. export function saverideway(id,data){
  185. return request({
  186. url:"/api/site/saverideway?id="+id,
  187. method:"Post",
  188. data:data,
  189. })
  190. }
  191. export function getQueryNewModel(params){
  192. return request({
  193. url:"/api/site/getquerynewmodel",
  194. method:"Get",
  195. params:params,
  196. })
  197. }
  198. export function change(id,data){
  199. // console.log("编辑医生返回数据",id)
  200. return request({
  201. url:"/api/site/change?id="+id,
  202. method:"Get",
  203. data:data,
  204. })
  205. }
  206. export function saveDocInfo(id,data){
  207. return request({
  208. url:"/api/site/savedocinfo?id="+id,
  209. method:"Post",
  210. data:data,
  211. })
  212. }
  213. export function deleteDoctor(id,data){
  214. return request({
  215. url:"/api/site/deletedoctor?id="+id,
  216. method:"Get",
  217. data:data,
  218. })
  219. }
  220. export function editHospital(id,data){
  221. return request({
  222. url:"/api/site/edithospital?id="+id,
  223. method:"Get",
  224. data:data,
  225. })
  226. }
  227. export function SaveHospital(id,data){
  228. return request({
  229. url:"/api/site/savehostpital?id="+id,
  230. method:"Post",
  231. data:data,
  232. })
  233. }
  234. export function editOffice(id,data){
  235. return request({
  236. url:"/api/site/editoffice?id="+id,
  237. method:"Get",
  238. data:data,
  239. })
  240. }
  241. export function deleteModleById(id,data){
  242. return request({
  243. url:"/api/site/deletemodlebyid?id="+id,
  244. method:"Get",
  245. data:data,
  246. })
  247. }
  248. export function SaveOffice(id,data){
  249. console.log("data是什么",data)
  250. return request({
  251. url:"/api/site/saveoffice?id="+id,
  252. method:"Post",
  253. data:data,
  254. })
  255. }
  256. export function getHospital(params){
  257. return request({
  258. url:"/api/site/gethospital",
  259. method:"Post",
  260. params:params,
  261. })
  262. }
  263. export function getHospitaldata(params){
  264. return request({
  265. url:"/api/site/getdata",
  266. method:"Post",
  267. params:params,
  268. })
  269. }
  270. export function editDoc(id,data){
  271. return request({
  272. url:"/api/site/editdoc?id="+id,
  273. method:"Get",
  274. data:data,
  275. })
  276. }
  277. export function editImages(id,data){
  278. return request({
  279. url:"/api/site/editImages?id="+id,
  280. method:"Get",
  281. data,data,
  282. })
  283. }
  284. export function SaveDocdata(id,data){
  285. return request({
  286. url:"/api/site/savedocdata?id="+id,
  287. method:"Post",
  288. data:data,
  289. })
  290. }
  291. export function editOfficeEnviroment(id,data){
  292. return request({
  293. url:"/api/site/editofficeenviroment?id="+id,
  294. method:"Get",
  295. data:data,
  296. })
  297. }
  298. export function AddImages(data){
  299. return request({
  300. url:"/api/site/addimages",
  301. method:"Post",
  302. data:data,
  303. })
  304. }
  305. export function getEnImages(params){
  306. return request({
  307. url:"/api/site/getenimages",
  308. method:"Post",
  309. params:params,
  310. })
  311. }
  312. export function getEnImagesTwo(params){
  313. return request({
  314. url:"/api/site/getenimagestwo",
  315. method:"Get",
  316. params:params,
  317. })
  318. }
  319. export function EditEnvirImages(id,data){
  320. return request({
  321. url:"/api/site/editenvirimages?id="+id,
  322. method:"Get",
  323. data:data,
  324. })
  325. }
  326. export function AddtwoImages(id,data){
  327. return request({
  328. url:"/api/site/addtwoimages?id="+id,
  329. method:"Post",
  330. data:data,
  331. })
  332. }
  333. export function SaveOfficeEnvironment(id,data){
  334. return request({
  335. url:"/api/site/saveofficeenvironment?id="+id,
  336. method:"Post",
  337. data:data,
  338. })
  339. }
  340. export function hispitalmore(id,data){
  341. return request({
  342. url:"/api/site/hispitalmore?id="+id,
  343. method:"Get",
  344. data:data,
  345. })
  346. }
  347. export function officemore(id,data){
  348. return request({
  349. url:"/api/site/officemore?id="+id,
  350. method:"Get",
  351. data:data,
  352. })
  353. }
  354. export function docmore(id,data){
  355. return request({
  356. url:"/api/site/docmore?id="+id,
  357. method:"Get",
  358. data:data,
  359. })
  360. }
  361. export function kemore(id,data){
  362. return request({
  363. url:"/api/site/kemore?id="+id,
  364. method:'Get',
  365. data:data,
  366. })
  367. }
  368. export function articlemore(id,data){
  369. return request({
  370. url:"/api/site/articlemore?id="+id,
  371. method:"Get",
  372. data:data,
  373. })
  374. }
  375. export function Activitiesmore(id,data){
  376. return request({
  377. url:"/api/site/activitiesmore?id="+id,
  378. method:"Get",
  379. data:data,
  380. })
  381. }
  382. export function addNavigation(data){
  383. return request({
  384. url:"/api/site/addnavigation",
  385. method:"Post",
  386. data:data,
  387. })
  388. }
  389. export function getNavigationList(params){
  390. return request({
  391. url:"/api/site/getnavigationlist",
  392. method:"Post",
  393. params:params,
  394. })
  395. }
  396. export function AddShareInfo(data){
  397. return request({
  398. url:"/api/site/addshareinfo",
  399. method:"Post",
  400. data:data,
  401. })
  402. }
  403. export function getShareInfo(params){
  404. return request({
  405. url:"/api/site/getshareinfo",
  406. method:"Post",
  407. params:params,
  408. })
  409. }
  410. export function deleteNavigation(id,data){
  411. return request({
  412. url:"/api/site/deletenavition?id="+id,
  413. method:"Get",
  414. data:data,
  415. })
  416. }
  417. export function deletemodle(id,data){
  418. console.log("这个ID是谁?",id)
  419. return request({
  420. url:"/api/site/deletemodle?id="+id,
  421. method:"Get",
  422. data:data,
  423. })
  424. }
  425. export function getOrderModel(params){
  426. return request({
  427. url:"/api/site/getordermodel",
  428. method:"Post",
  429. params:params,
  430. })
  431. }
  432. export function addrotationpic(data){
  433. return request({
  434. url:"/api/site/addrotationpic",
  435. method:"Post",
  436. data:data,
  437. })
  438. }
  439. export function GetRotationImages(params){
  440. return request({
  441. url:"/api/site/getrotationimages",
  442. method:"Post",
  443. params:params
  444. })
  445. }
  446. export function addrotationImage(data){
  447. return request({
  448. url:"/api/site/addrotationimage",
  449. method:"Post",
  450. data:data,
  451. })
  452. }
  453. export function AddImageslink(id,data){
  454. console.log("id是多少呢法阿发",id)
  455. return request({
  456. url:"/api/site/addimageslink?id="+id,
  457. method:"Post",
  458. data:data,
  459. })
  460. }
  461. export function getEditImages(params){
  462. return request({
  463. url:"/api/site/geteditimages",
  464. method:"Post",
  465. params:params
  466. })
  467. }
  468. export function AddMagicNavi(id,data){
  469. console.log("id是什么呢",id)
  470. return request({
  471. url:"/api/site/addmagicnavi?id="+id,
  472. method:"Post",
  473. data:data,
  474. })
  475. }
  476. export function getMagicImages(params){
  477. return request({
  478. url:"/api/site/getmagicimages",
  479. method:"Post",
  480. params:params,
  481. })
  482. }
  483. export function AddMarginChart(data){
  484. return request({
  485. url:"/api/site/addmarginchart",
  486. method:"Post",
  487. data:data,
  488. })
  489. }
  490. export function deleteRotations(id,data){
  491. console.log("id",id)
  492. return request({
  493. url:"/api/site/deleteRotations?id="+id,
  494. method:"Post",
  495. data:data,
  496. })
  497. }
  498. export function editRotationImages (id,data){
  499. return request({
  500. url:"/api/site/editRotationImages?id="+id,
  501. method:"Post",
  502. data:data,
  503. })
  504. }
  505. export function updateRotionImages (id,data){
  506. return request({
  507. url:"/api/site/updaterotaionimages?id="+id,
  508. method:"Post",
  509. data:data,
  510. })
  511. }
  512. export function editNavigation (id,data){
  513. return request({
  514. url:"/api/site/editnavigation?id="+id,
  515. method:"Post",
  516. data: data,
  517. })
  518. }
  519. export function SaveNavigation (id,data) {
  520. console.log("id是什么呢",id)
  521. return request({
  522. url:"/api/site/savenavigation?id="+id,
  523. method:"Post",
  524. data:data,
  525. })
  526. }
  527. export function deleteImages(id,data){
  528. return request({
  529. url:"/api/site/deletimages?id="+id,
  530. method:"Post",
  531. data:data,
  532. })
  533. }
  534. export function deleteSingleImages(id,data){
  535. return request({
  536. url:"/api/site/deletesingleimages?id="+id,
  537. method:"Post",
  538. data:data,
  539. })
  540. }
  541. export function addHospital(data){
  542. return request({
  543. url:"/api/site/addhospital",
  544. method:"Post",
  545. data:data,
  546. })
  547. }
  548. export function addActiveform(data){
  549. return request({
  550. url:"/api/site/addactive",
  551. method:"Post",
  552. data:data,
  553. })
  554. }
  555. export function getactivity(id,data){
  556. return request({
  557. url:"/api/site/getactivity?id="+id,
  558. method:"Get",
  559. data:data,
  560. })
  561. }
  562. export function getMacImages(id,data){
  563. console.log("id",id)
  564. return request({
  565. url:"/api/site/getMacImages?id="+id,
  566. method:"Get",
  567. data:data,
  568. })
  569. }
  570. export function SaveActivit(id,data){
  571. return request({
  572. url:"/api/site/saveactivit?id="+id,
  573. method:"Post",
  574. data:data,
  575. })
  576. }
  577. export function deleteMargin(id,data){
  578. return request({
  579. url:"/api/site/deleMargin?id="+id,
  580. method:"Post",
  581. data:data,
  582. })
  583. }
  584. export function getRotationImages(id,data){
  585. return request({
  586. url:"/api/site/editRotationImages?id="+id,
  587. method:"Get",
  588. data:data,
  589. })
  590. }
  591. export function getRotationDetail(id,data){
  592. return request({
  593. url:"/api/site/getrotationdetail?id="+id,
  594. method:"Get",
  595. data:data,
  596. })
  597. }
  598. export function editVisibleByid(id,data){
  599. return request({
  600. url:"/api/site/editvisiblebyid?id="+id,
  601. method:"Get",
  602. data:data,
  603. })
  604. }
  605. export function SaveEditPic(id,data){
  606. return request({
  607. url:"/api/site/saveditpic?id="+id,
  608. method:"Post",
  609. data:data,
  610. })
  611. }
  612. export function addeditpic(id,data){
  613. return request({
  614. url:"/api/site/addeditpic?id="+id,
  615. method:"Post",
  616. data:data,
  617. })
  618. }
  619. export function AddedialogVisible(id,data){
  620. return request({
  621. url:"/api/site/addedialogvisible?id="+id,
  622. method:"Post",
  623. data:data,
  624. })
  625. }
  626. export function geteditRotationImages(id,data){
  627. return request({
  628. url:"/api/site/geteditrotationimages?id="+id,
  629. method:"Get",
  630. data:data,
  631. })
  632. }
  633. export function editSingleVisible(id,data){
  634. return request({
  635. url:"/api/site/editsinglevisible?id="+id,
  636. method:"Get",
  637. data:data,
  638. })
  639. }
  640. export function UpdateSingleForm(id,data){
  641. return request({
  642. url:"/api/site/updatesingleform?id="+id,
  643. method:"Post",
  644. data:data,
  645. })
  646. }
  647. export function addEditPicForm(id,data){
  648. return request({
  649. url:"/api/site/addeditpicform?id="+id,
  650. method:"Post",
  651. data:data,
  652. })
  653. }
  654. export function AddRotationVisible(id,data){
  655. return request({
  656. url:"/api/site/addrotationvisible?id="+id,
  657. method:"Post",
  658. data:data,
  659. })
  660. }
  661. export function getEditImagesDetail(id,data){
  662. return request({
  663. url:"/api/site/geteditimagesdetail?id="+id,
  664. method:"Get",
  665. data:data,
  666. })
  667. }
  668. export function UpdateEditMacgin(id,data){
  669. return request({
  670. url:"/api/site/updateeditmacgin?id="+id,
  671. method:"Post",
  672. data:data,
  673. })
  674. }
  675. export function getActivities(params){
  676. return request({
  677. url:"/api/site/getactivities",
  678. method:"Post",
  679. params:params,
  680. })
  681. }
  682. export function getArticleType(params){
  683. return request({
  684. url:"/api/site/getArticleType",
  685. method:"Post",
  686. params:params,
  687. })
  688. }
  689. export function AddArticeList(data){
  690. return request({
  691. url:"/api/site/addarticelist",
  692. method:"Post",
  693. data:data,
  694. })
  695. }
  696. export function getArticlelist(data){
  697. return request({
  698. url:"/api/site/getarticlelist",
  699. method:"Post",
  700. data:data,
  701. })
  702. }
  703. export function editGetArticlistDetail(id,data){
  704. return request({
  705. url:"/api/site/editgetarticlistdetail?id="+id,
  706. method:"Get",
  707. data:data,
  708. })
  709. }
  710. export function UpdatedArticeDetail(id,data){
  711. return request({
  712. url:"/api/site/updatearticedetail?id="+id,
  713. method:"Post",
  714. data:data,
  715. })
  716. }
  717. export function AddOfficeThreeVisible(id,data){
  718. return request({
  719. url:"/api/site/addoffficethree?id="+id,
  720. method:"Post",
  721. data:data,
  722. })
  723. }
  724. export function officetwoVisbile(id,params){
  725. return request({
  726. url:"/api/site/offcietwovisible?id="+id,
  727. method:"Get",
  728. params:params,
  729. })
  730. }
  731. export function AddOfficetTwo(id,data){
  732. return request({
  733. url:"/api/site/addofficetwo?id="+id,
  734. method:"Post",
  735. data:data,
  736. })
  737. }
  738. export function deleteOfficeById(id,data){
  739. return request({
  740. url:"/api/site/deleteofficebyid?id="+id,
  741. method:"Post",
  742. data:data,
  743. })
  744. }
  745. export function GetArticleById(id,params){
  746. return request({
  747. url:"/api/site/getarticlebyid?id="+id,
  748. method:"Get",
  749. params:params,
  750. })
  751. }
  752. export function GetAllActivity(params){
  753. return request({
  754. url:"/api/site/getallactivity",
  755. method:"Get",
  756. params:params,
  757. })
  758. }
  759. export function AddLinkAddress (data){
  760. return request({
  761. url:"/api/site/addlinkaddress",
  762. method:"Post",
  763. data:data,
  764. })
  765. }
  766. export function getLinkAddress(params){
  767. return request({
  768. url:"/api/site/getlinkaddress",
  769. method:"Get",
  770. params:params,
  771. })
  772. }
  773. export function getAllConnecWay(params){
  774. return request({
  775. url:"/api/site/getallconnecway",
  776. method:"Get",
  777. params:params,
  778. })
  779. }
  780. export function getConnecWay(id,params){
  781. return request({
  782. url:"/api/site/getconnecway?id="+id,
  783. method:"Get",
  784. params:params,
  785. })
  786. }
  787. export function editConnecway(id,params){
  788. return request({
  789. url:"/api/site/editconnecway?id="+id,
  790. method:"Get",
  791. params:params,
  792. })
  793. }
  794. export function UpdateConnectform(id,data){
  795. return request({
  796. url:"/api/site/updateconnectform?id="+id,
  797. method:"Post",
  798. data:data,
  799. })
  800. }
  801. export function UpdateContactform(id,data){
  802. return request({
  803. url:"/api/site/updatecontactform?id="+id,
  804. method:"Post",
  805. data:data
  806. })
  807. }
  808. export function addConnectways(data){
  809. return request({
  810. url:"/api/site/addconnectways",
  811. method:"Post",
  812. data:data,
  813. })
  814. }
  815. export function getHospitalIntroduction(id,params){
  816. return request({
  817. url:"/api/site/gethostpitalintroduction?id="+id,
  818. method:"Get",
  819. params:params,
  820. })
  821. }
  822. export function UpdateHospitalAddress(id,data){
  823. return request({
  824. url:"/api/site/updatehospitaladdress?id="+id,
  825. method:"Post",
  826. data:data,
  827. })
  828. }
  829. export function AddPiCLink(data){
  830. return request({
  831. url:"/api/site/addpiclink",
  832. method:"Post",
  833. data:data,
  834. })
  835. }
  836. export function getLinkAddressDetail(id,params){
  837. return request({
  838. url:"/api/site/getlinkaddressdetail?id="+id,
  839. method:"Get",
  840. params:params,
  841. })
  842. }
  843. export function UpdatePicFormThree(id,data){
  844. return request({
  845. url:"/api/site/updatepicformthree?id="+id,
  846. method:"Post",
  847. data:data,
  848. })
  849. }
  850. export function getEnImagesThree(params){
  851. return request({
  852. url:"/api/site/getenimagesthree",
  853. method:"Get",
  854. params:params,
  855. })
  856. }
  857. export function AddMagiclinkData(data){
  858. console.log("中秋节快乐",data)
  859. return request({
  860. url:"/api/site/addmagiclinkdata",
  861. method:"Post",
  862. data:data,
  863. })
  864. }
  865. export function getMacLinkAddress(params){
  866. return request({
  867. url:"/api/site/getmaclinkaddress",
  868. method:"Get",
  869. params:params,
  870. })
  871. }
  872. export function AddMacgicform(id,data){
  873. return request({
  874. url:"/api/site/addmacgicform?id="+id,
  875. method:"Post",
  876. data:data,
  877. })
  878. }
  879. export function getMacImagesDetail(id,params){
  880. return request({
  881. url:"/api/site/getmacimagesdetail?id="+id,
  882. method:"Get",
  883. params:params,
  884. })
  885. }
  886. export function deleteMacImagesDetail(id,data){
  887. return request({
  888. url:"/api/site/deletemaciamgesdetail?id="+id,
  889. method:"Post",
  890. data:data,
  891. })
  892. }
  893. export function UpdateMacform(id,data){
  894. return request({
  895. url:"/api/site/updatemacform?id="+id,
  896. method:"Post",
  897. data:data,
  898. })
  899. }
  900. export function getEditMacImageDetail(id,params){
  901. return request({
  902. url:"/api/site/geteditmacimagedetail?id="+id,
  903. method:"Get",
  904. params:params,
  905. })
  906. }
  907. export function UpdateEditMacform(id,data){
  908. return request({
  909. url:"/api/site/updateeditmacform?id="+id,
  910. method:"Post",
  911. data:data,
  912. })
  913. }
  914. export function getLikeMacAddressById(id,params){
  915. return request({
  916. url:"/api/site/getLikeMacAddressById?id="+id,
  917. method:"Get",
  918. params:params,
  919. })
  920. }
  921. export function GetArticleName(id,params){
  922. return request({
  923. url:"/api/site/getarticlename?id="+id,
  924. method:"Get",
  925. params:params,
  926. })
  927. }
  928. export function GetAllArticelist(params){
  929. return request({
  930. url:"/api/site/getallarticelist",
  931. method:"Get",
  932. params:params,
  933. })
  934. }
  935. export function UpdateLinkAddress(id,data){
  936. return request({
  937. url:"/api/site/updatelinkaddress?id="+id,
  938. method:"Post",
  939. data:data,
  940. })
  941. }
  942. export function AddMacLinkAddress(data){
  943. console.log("data是什么",data)
  944. return request({
  945. url:"/api/site/addmaclinkaddress",
  946. method:"Post",
  947. data:data,
  948. })
  949. }
  950. export function GetLinkAddress(id,params){
  951. return request({
  952. url:"/api/site/getlinkaddress?id="+id,
  953. method:"Get",
  954. params:params,
  955. })
  956. }