Browse Source

[CI SKIP] 添加生产环境配置备份; 更新下载模板; 更新前端下载模板添加时间戳

master
wanggang 1 year ago
parent
commit
bdba104aad
  1. 1
      README.md
  2. 3
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj
  3. 16
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Production.json.backup
  4. BIN
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/导入模版.zip
  5. 6
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/home.js

1
README.md

@ -4,6 +4,7 @@
默认进行自动构建、发布到MinIO并自动部署到测试服务器 默认进行自动构建、发布到MinIO并自动部署到测试服务器
1. 提交前确保先拉取更新
1. 提交时确保编译通过,提交后检查CI服务器编译是否成功 1. 提交时确保编译通过,提交后检查CI服务器编译是否成功
1. 不需要自动构建和部署的,在提交信息中添加 `[CI SKIP]` 1. 不需要自动构建和部署的,在提交信息中添加 `[CI SKIP]`
1. 针对特定问题的解决,提交信息中添加问题编号 1. 针对特定问题的解决,提交信息中添加问题编号

3
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/SettleAccount.HttpApi.Host.csproj

@ -94,6 +94,9 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Update="appsettings.Production.json.backup">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="start.cmd"> <None Update="start.cmd">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None> </None>

16
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.Production.json.backup

@ -0,0 +1,16 @@
{
"ConnectionStrings": {
"Default": "Server=WIN-33SNP5V4K0L,1433;Database=BJABP;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
"SettleAccountService": "Server=WIN-33SNP5V4K0L,1433;Database=BQ_SA;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",
"WMSBJBMPT": "Server=10.62.101.3,1433;Database=ExChangeCenter;User ID=sa;Password=Microsoft2008;Trusted_Connection=False;TrustServerCertificate=True;",
},
"AuthServer": {
"Authority": "http://localhost:16082"
},
"MinIO": {
"EndPoint": "localhost:16084",
"AccessKey": "g0GKnhRGEQHI0uiGBYre",
"SecretKey": "iKGlLz6UBzci3xrERw5Zz1gI77enT5u9agFemHPv",
"BucketName": "default"
}
}

BIN
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/assets/导入模版.zip

Binary file not shown.

6
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/wwwroot/views/home.js

@ -1,10 +1,13 @@
import html from "html"; import html from "html";
export default { export default {
template: html`<a href="../assets/导入模版.zip" target="blank">导入模板下载</a> template: html`<a href="javascript:;" @click="download">导入模板下载</a>
<br /> <br />
<el-tree v-if="0" default-expand-all :data="list" :props="props" @node-click="handleNodeClick" /> `, <el-tree v-if="0" default-expand-all :data="list" :props="props" @node-click="handleNodeClick" /> `,
setup() { setup() {
const download = () => {
window.open(`../assets/导入模版.zip?time=${Date.now()}`);
};
const page = "page"; const page = "page";
const createRoute = (path, title, type = "group") => { const createRoute = (path, title, type = "group") => {
return { return {
@ -110,6 +113,7 @@ export default {
} }
}; };
return { return {
download,
list, list,
props, props,
handleNodeClick, handleNodeClick,

Loading…
Cancel
Save