加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
generate-proxy-csharp.ps1 4.34 KB
一键复制 编辑 原始数据 按行查看 历史
ArcherTrister 提交于 2024-09-25 15:05 . Update version to 8.3.0-beta
# 清屏
Clear-Host
# 输出提示信息
Write-Host "Starting generate..."
# 执行生成代理的命令
& abp generate-proxy -t csharp -url https://localhost:44302/ -m accountAdmin -wd ./modules/X.Abp.Account.Pro/src/X.Abp.Account.Pro.Admin.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m account -wd ./modules/X.Abp.Account.Pro/src/X.Abp.Account.Pro.Public.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m auditLogging -wd ./modules/X.Abp.AuditLogging/src/X.Abp.AuditLogging.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m chat -wd ./modules/X.Abp.Chat/src/X.Abp.Chat.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m cms-kit -wd ./modules/X.Abp.CmsKit.Pro/src/X.Abp.CmsKit.Pro.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m cms-kit-pro-common -wd ./modules/X.Abp.CmsKit.Pro/src/X.Abp.CmsKit.Pro.Public.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m cms-kit-pro-admin -wd ./modules/X.Abp.CmsKit.Pro/src/X.Abp.CmsKit.Pro.Admin.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m fileManagement -wd ./modules/X.Abp.FileManagement/src/X.Abp.FileManagement.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m form -wd ./modules/X.Abp.Forms/src/X.Abp.Forms.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m gdpr -wd ./modules/X.Abp.Gdpr/src/X.Abp.Gdpr.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m identity -wd ./modules/X.Abp.Identity.Pro/src/X.Abp.Identity.Pro.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m identityServer -wd ./modules/X.Abp.IdentityServer.Pro/src/X.Abp.IdentityServer.Pro.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m languageManagement -wd ./modules/X.Abp.LanguageManagement/src/X.Abp.LanguageManagement.HttpApi.Client --without-contracts --folder ClientProxies
# & abp generate-proxy -t csharp -url https://localhost:44302/ -m leptonThemeManagement -wd ./modules/X.Abp.LeptonTheme/src/X.Abp.LeptonTheme.Management.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m notification -wd ./modules/X.Abp.Notification/src/X.Abp.Notification.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m openiddictpro -wd ./modules/X.Abp.OpenIddict.Pro/src/X.Abp.OpenIddict.Pro.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m payment -wd ./modules/X.Abp.Payment/src/X.Abp.Payment.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m paymentAdmin -wd ./modules/X.Abp.Payment/src/X.Abp.Payment.Admin.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m quartz -wd ./modules/X.Abp.Quartz/src/X.Abp.Quartz.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m saas -wd ./modules/X.Abp.Saas/src/X.Abp.Saas.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m textTemplateManagement -wd ./modules/X.Abp.TextTemplateManagement/src/X.Abp.TextTemplateManagement.HttpApi.Client --without-contracts --folder ClientProxies
& abp generate-proxy -t csharp -url https://localhost:44302/ -m versionManagement -wd ./modules/X.Abp.VersionManagement/src/X.Abp.VersionManagement.HttpApi.Client --without-contracts --folder ClientProxies
# 输出完成信息
Write-Host ""
Write-Host "CSharp proxies have been successfully generated."
# 等待用户输入后退出
Read-Host "Press any key to exit."
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化