ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
  "$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
 
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "System": "Warning",
        "Microsoft": "Warning",
        "Microsoft.Hosting.Lifetime": "Information",
        "Microsoft.EntityFrameworkCore": "Information"
      }
    },
    "WriteTo": [
      {
        "Name": "Console",
        "Args": {
          "outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}"
        }
      },
      {
        "Name": "File",
        "Args": {
          "path": "logs/.log",
          "rollingInterval": "Day",
          "outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}"
        }
      }
    ]
  },
  "AllowedHosts": "*",
  "AppSettings": {
    //"EnabledReferenceAssemblyScan": true, // 启用模块化程序集扫描
    //"ExternalAssemblies": [ "plugins/Covid19.Plugin" ] //动态加载 dll
  },
  "LowCodeConfig": [
    {
      "Name": "ORM对象",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\Entity.cs.cshtml"
      },
      "Target": {
        "File": "{ClassName}.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Entity\\"
      }
    },
    {
      "Name": "Service",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\Service.cs.cshtml"
      },
      "Target": {
        "File": "Service.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Service\\{ClassName}\\"
      }
    },
    {
      "Name": "IService",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\IService.cs.cshtml"
      },
      "Target": {
        "File": "IService.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Service\\{ClassName}\\"
      }
    },
    {
      "Name": "Input",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\Input.cs.cshtml"
      },
      "Target": {
        "File": "{ClassName}Input.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Service\\{ClassName}\\Dto\\"
      }
    },
    {
      "Name": "Output",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\Output.cs.cshtml"
      },
      "Target": {
        "File": "{ClassName}Output.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Service\\{ClassName}\\Dto\\"
      }
    },
    {
      "Name": "Dto",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\Dto.cs.cshtml"
      },
      "Target": {
        "File": "{ClassName}Dto.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Service\\{ClassName}\\Dto\\"
      }
    },
    {
      "Name": "Mapper",
      "IsFrontend": false,
      "Source": {
        "File": "{HostPath}\\Template\\Mapper.cs.cshtml"
      },
      "Target": {
        "File": "Mapper.cs",
        "Dir": "{CodePath}\\{NameSpace}\\Service\\{ClassName}\\"
      }
    },
    {
      "Name": "index",
      "IsFrontend": true,
      "Source": {
        "File": "{HostPath}\\Template\\index.vue.cshtml"
      },
      "Target": {
        "File": "index.vue",
        "Dir": "{FrontendPath}\\{ClassName}\\"
      }
    },
    {
      "Name": "addForm",
      "IsFrontend": true,
      "Source": {
        "File": "{HostPath}\\Template\\addForm.vue.cshtml"
      },
      "Target": {
        "File": "addForm.vue",
        "Dir": "{FrontendPath}\\{ClassName}\\"
      }
    },
    {
      "Name": "editForm",
      "IsFrontend": true,
      "Source": {
        "File": "{HostPath}\\Template\\editForm.vue.cshtml"
      },
      "Target": {
        "File": "editForm.vue",
        "Dir": "{FrontendPath}\\{ClassName}\\"
      }
    },
    {
      "Name": "Manage",
      "IsFrontend": true,
      "Source": {
        "File": "{HostPath}\\Template\\Manage.js.cshtml"
      },
      "Target": {
        "File": "{ClassName}Manage.js",
        "Dir": "{ApiJsPath}\\"
      }
    }
  ]
 
  //"Kestrel": { //预留服务器配置
  //  "EndPoints": {
  //    "Http": {
  //      "Url": "http://*:3000"
  //    }
  //    //"HttpsInlineCertFile": {
  //    //  "Url": "https://*:3443",
  //    //  "Certificate": {
  //    //    "Path": "xxxxxx.pfx",
  //    //    "Password": "123456"
  //    //  },
  //    //  "Protocols": "http1"
  //    //}
  //  }
  //}
}