Files
qhmes/deploy-qhmes/frontend/js/ThirdApp.api-C5Dp6BDu.js
2026-05-15 11:34:12 +08:00

2 lines
918 B
Java

import{f as r}from"./index-BI6CMai0.js";const n=(e,t)=>{let s=t?"/sys/thirdApp/editThirdAppConfig":"/sys/thirdApp/addThirdAppConfig";return r.post({url:s,params:e},{joinParamsToUrl:!0})},i=e=>r.get({url:"/sys/thirdApp/getThirdConfigByTenantId",params:e}),p=()=>r.get({url:"/sys/thirdApp/sync/dingtalk/departAndUser/toLocal",timeout:6e4},{isTransformResponse:!1}),a=()=>r.get({url:"/sys/thirdApp/getThirdUserByWechat"},{isTransformResponse:!1}),o=e=>r.get({url:"/sys/thirdApp/sync/wechatEnterprise/departAndUser/toLocal",params:e},{isTransformResponse:!1}),h=()=>r.get({url:"/sys/thirdApp/getThirdUserBindByWechat"},{isTransformResponse:!1}),T=e=>r.delete({url:"/sys/thirdApp/deleteThirdAccount",params:e},{isTransformResponse:!1,joinParamsToUrl:!0}),c=(e,t)=>r.delete({url:"/sys/thirdApp/deleteThirdAppConfig",params:e},{joinParamsToUrl:!0}).then(()=>{t()});export{h as a,i as b,c,T as d,n as e,a as g,p as s,o as w};