mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-04-05 08:37:28 +08:00
routine update
This commit is contained in:
parent
115c79bd9c
commit
c2f856f604
@ -68,7 +68,7 @@ dotnet build # 编译
|
||||
|
||||
rm -rf /data/openauthmvc #最终站点路径
|
||||
mkdir /data/openauthmvc
|
||||
dotnet publish -c:Release -o /data/openauthmvc # 生成发布文件到/data/openauthmvc
|
||||
dotnet publish -c:Release -o /data/openauthmvc # 生成发布文件到/data/openauthmvc。如果服务器上有多个.NET版本,加上目标版本号,如:-f net6.0
|
||||
|
||||
nohup dotnet /data/openauthmvc/OpenAuth.Mvc.dll &
|
||||
|
||||
|
@ -76,7 +76,7 @@ cp ./bin/Debug/netcoreapp3.1/OpenAuth.App.xml /data/openauthapi/
|
||||
|
||||
cp ./bin/Debug/netcoreapp3.1/Infrastructure.xml /data/openauthapi/
|
||||
|
||||
dotnet publish -c:Release -o /data/openauthapi # 如果针对给定运行时发布项目带上-r 如:-r centos.7-x64
|
||||
dotnet publish -c:Release -o /data/openauthapi # 如果服务器上有多个.NET版本,加上目标版本号,如:-f net6.0
|
||||
|
||||
nohup dotnet /data/openauthapi/OpenAuth.WebApi.dll &
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
# 日常提交(针对dev分支)
|
||||
|
||||
* 2023.09.01 fix #I7XLQK checkbox控件值表单条件判断
|
||||
|
||||
* 2023.08.27 fix issue #I7A7XF 全面支持SqlSugar Orm。详情:[sqlsugar访问数据库](http://doc.openauth.net.cn/core/sqlsugar.html)
|
||||
|
||||
* 2023.08.18 fix #I7U1BM 左侧展开图标丢失
|
||||
|
@ -96,6 +96,24 @@ create table stock
|
||||
|
||||
如果存在子表,也进行相同的操作。即选中刚刚添加的`StockDetail`表,依次点击【生成实体】【生成业务代码】【生成vue页面】;
|
||||
|
||||
成功后生成的后端.Net代码位置如下:
|
||||
|
||||
OpenAuth.Repository\Domain\Stock.cs
|
||||
OpenAuth.App\StockApp\StockApp.cs
|
||||
OpenAuth.App\StockApp\Request\AddOrUpdateStockReq.cs
|
||||
OpenAuth.App\StockApp\Request\QueryStockListReq.cs
|
||||
OpenAuth.WebApi\Controllers\StocksController.cs
|
||||
|
||||
并且会在OpenAuth.Repository\OpenAuthDBContext.cs中自动添加:
|
||||
|
||||
```
|
||||
public virtual DbSet<Stock> Stocks { get; set; }
|
||||
```
|
||||
|
||||
前端Vue代码:
|
||||
src\api\stocks.js
|
||||
src\views\stocks\index.vue
|
||||
|
||||
## 配置模块地址
|
||||
|
||||
运行系统,使用System账号登录系统,在【模块管理】中,添加“仓储管理”模块,如下图:
|
||||
|
Loading…
Reference in New Issue
Block a user