You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
13 KiB
JavaScript

1 year ago
"use strict";(self.webpackChunkfurion=self.webpackChunkfurion||[]).push([[9763],{7734:(e,n,s)=>{s.r(n),s.d(n,{assets:()=>t,contentTitle:()=>r,default:()=>a,frontMatter:()=>i,metadata:()=>c,toc:()=>o});var l=s(5893),d=s(1151);const i={id:"module-dev",title:"28. \u6a21\u5757\u5316\u5f00\u53d1",sidebar_label:"28. \u6a21\u5757\u5316\u5f00\u53d1"},r=void 0,c={id:"module-dev",title:"28. \u6a21\u5757\u5316\u5f00\u53d1",description:"\u4ee5\u4e0b\u7684\u6a21\u5757\u5316\u914d\u7f6e\u5fc5\u987b\u5728 appsettings.json \u4e0b\u914d\u7f6e\u624d\u6709\u6548\uff0c\u539f\u56e0\u662f\u542f\u52a8\u7684\u65f6\u5019 appsettings.json \u5df2\u7ecf\u52a0\u8f7d\uff0c\u81ea\u5b9a\u4e49\u914d\u7f6e\u6587\u4ef6\u8fd8\u672a\u52a0\u8f7d\u3002",source:"@site/docs/module-dev.mdx",sourceDirName:".",slug:"/module-dev",permalink:"/docs/module-dev",draft:!1,unlisted:!1,editUrl:"https://gitee.com/dotnetchina/Furion/tree/v4/handbook/docs/module-dev.mdx",tags:[],version:"current",lastUpdatedBy:"\u767e\u5c0f\u50e7",lastUpdatedAt:1696901835,formattedLastUpdatedAt:"Oct 10, 2023",frontMatter:{id:"module-dev",title:"28. \u6a21\u5757\u5316\u5f00\u53d1",sidebar_label:"28. \u6a21\u5757\u5316\u5f00\u53d1"},sidebar:"docs",previous:{title:"27. \u5206\u5e03\u5f0f ID \u751f\u6210",permalink:"/docs/idgenerator"},next:{title:"29. \u7c98\u571f\u5bf9\u8c61",permalink:"/docs/clayobj"}},t={},o=[{value:"28.1 \u5173\u4e8e\u6a21\u5757\u5316\u5f00\u53d1",id:"281-\u5173\u4e8e\u6a21\u5757\u5316\u5f00\u53d1",level:2},{value:"28.1.1 \u6a21\u5757\u5316\u5f00\u53d1\u597d\u5904",id:"2811-\u6a21\u5757\u5316\u5f00\u53d1\u597d\u5904",level:3},{value:"28.2 \u6a21\u5757\u5206\u7c7b",id:"282-\u6a21\u5757\u5206\u7c7b",level:2},{value:"28.3 \u5982\u4f55\u8fdb\u884c\u6a21\u5757\u5316\u5f00\u53d1",id:"283-\u5982\u4f55\u8fdb\u884c\u6a21\u5757\u5316\u5f00\u53d1",level:2},{value:"28.3.1 \u542f\u7528\u6a21\u5757\u5316\u652f\u6301",id:"2831-\u542f\u7528\u6a21\u5757\u5316\u652f\u6301",level:3},{value:"28.3.2 \u5404\u79cd\u6dfb\u52a0\u6a21\u5757\u914d\u7f6e\u65b9\u5f0f",id:"2832-\u5404\u79cd\u6dfb\u52a0\u6a21\u5757\u914d\u7f6e\u65b9\u5f0f",level:3},{value:"28.4 \u6a21\u5757\u5316\u5f00\u53d1\u6ce8\u610f\u4e8b\u9879",id:"284-\u6a21\u5757\u5316\u5f00\u53d1\u6ce8\u610f\u4e8b\u9879",level:2},{value:"28.5 \u5173\u4e8e\u70ed\u63d2\u62d4\u673a\u5236",id:"285-\u5173\u4e8e\u70ed\u63d2\u62d4\u673a\u5236",level:2},{value:"28.6 \u53cd\u9988\u4e0e\u5efa\u8bae",id:"286-\u53cd\u9988\u4e0e\u5efa\u8bae",level:2}];function h(e){const n={a:"a",admonition:"admonition",code:"code",h2:"h2",h3:"h3",li:"li",ol:"ol",p:"p",pre:"pre",strong:"strong",ul:"ul",...(0,d.a)(),...e.components};return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(n.admonition,{title:"\u7279\u522b\u6ce8\u610f",type:"important",children:(0,l.jsxs)(n.p,{children:["\u4ee5\u4e0b\u7684\u6a21\u5757\u5316\u914d\u7f6e\u5fc5\u987b\u5728 ",(0,l.jsx)(n.code,{children:"appsettings.json"})," \u4e0b\u914d\u7f6e\u624d\u6709\u6548\uff0c\u539f\u56e0\u662f\u542f\u52a8\u7684\u65f6\u5019 ",(0,l.jsx)(n.code,{children:"appsettings.json"})," \u5df2\u7ecf\u52a0\u8f7d\uff0c\u81ea\u5b9a\u4e49\u914d\u7f6e\u6587\u4ef6\u8fd8\u672a\u52a0\u8f7d\u3002"]})}),"\n",(0,l.jsx)(n.h2,{id:"281-\u5173\u4e8e\u6a21\u5757\u5316\u5f00\u53d1",children:"28.1 \u5173\u4e8e\u6a21\u5757\u5316\u5f00\u53d1"}),"\n",(0,l.jsx)(n.p,{children:"\u6a21\u5757\u5316\u662f\u4ee3\u7801\u7684\u7ec4\u6210\u7684\u4e00\u79cd\u65b9\u5f0f\uff0c\u6a21\u5757\u5316\u7cfb\u7edf\u5c31\u50cf\u4e50\u9ad8\u73a9\u5177\u4e00\u6837\uff0c\u4e00\u5757\u4e00\u5757\u96f6\u6563\u79ef\u6728\u5806\u79ef\u8d77\u4e00\u4e2a\u7cbe\u5f69\u7684\u4e16\u754c\u3002\u6bcf\u79cd\u79ef\u6728\u7684\u5f62\u72b6\u5404\u4e0d\u76f8\u540c\uff0c\u529f\u80fd\u5404\u4e0d\u76f8\u540c\uff0c\u79ef\u6728\u4e0e\u79ef\u6728\u76f4\u63a5\u4e92\u76f8\u4f9d\u8d56\uff0c\u4e92\u76f8\u652f\u6491\u3002"}),"\n",(0,l.jsx)(n.h3,{id:"2811-\u6a21\u5757\u5316\u5f00\u53d1\u597d\u5904",children:"28.1.1 \u6a21\u5757\u5316\u5f00\u53d1\u597d\u5904"}),"\n",(0,l.jsx)(n.p,{children:"\u6a21\u5757\u5316\u5f00\u53d1\u80fd\u591f\u5c06\u4e0d\u540c\u7684\u529f\u80fd\u7ec4\u88c5\u5728\u4e00\u8d77\uff