1、复制一份appsettings.tosoft.json
2、名称改成 appsettings.smdcm.json
3、把tosofts和tosoft全部替换为smdcm和把Tosofts和Tosoft全部替换为Smdcm
1.(区分大小写)
4、手动修改里面数据源文件目录
"source": "C:/0_RG/Code/RG6.PF/rg3-pf/RG3.Web.Host.PaaS/Config/BridgePro/bt/",
"target": "C:/0_RG/Code/RG6.PF/rg3-pf/RG3.Web.Host.PaaS/BaCli2/Config/BridgePro/smdcm/"
5、调整密钥,必须8位字符
{{_owner_security_key_z}}
{{_owner_security_key}}
正、反密码按没4位呼唤,具体规则以开发设置为准
{{_owner_security_key_z}} 12345678
{{_owner_security_key}} 56781234
6、端口和域名什么,可以到实际开发时候再调整
appsettings.smdcm.json
1、如果只有一个应用平台,可以使用5900
2、如果多个应用平台,建议20000开始设置,多个应用平台不能重复
{
"key": "{{_owner_nginx_ws_api}}",
"value": "http://localhost:25900/ws/api/v3/"
},
{
"key": "{{_owner_nginx_file_upload}}",
"value": "http://localhost:25900/bo/api/v3/file/upload/"
},
{
"key": "{{_owner_nginx_bo_api_auth}}",
"value": "http://localhost:25900/bo/api/v3/auth/"
},
{
"key": "{{_owner_nginx_bs_api}}",
"value": "http://localhost:25900/bs/api/"
},
{
"key": "{{_owner_nginx_bo_api}}",
"value": "http://localhost:25900/bo/api/"
},
{
"key": "{{_owner_nginx_events_cap}}",
"value": "http://localhost:25900/cap/"
},
{
"key": "{{_owner_nginx_events_metrics}}",
"value": "http://localhost:25900/metrics/"
},
{
"key": "{{_owner_root_api_localhost}}",
"value": "http://localhost:25900/"
},
{
"key": "{{_owner_web_root_url_oss}}",
"value": "https://smdcm.sandieji.tech/oss"
},
{
"key": "{{_owner_web_root_url}}",
"value": "https://smdcm.sandieji.tech/"
},
{
"key": "{{_owner_file_thumbnail}}",
"value": "https://smdcm.sandieji.tech/bo/api/v3/file/thumbnail"
},
7、修改路径和名称
appsettings.smdcm.json
{
"key": "{{_owner_nginx_file}}",
"value": "D:/files"
},
{
"key": "{{_owner_nginx_app}}",
"value": "D:/apps"
},
{
"key": "{{_owner_nginx_cdn}}",
"value": "D:/cdn"
},
{
"key": "{{_owner_sys_id}}",
"value": "4133033848105605678"
},
{
"key": "{{_owner_sys_name}}",
"value": "三摩地传媒数字服务平台"
},
{
"key": "{{_owner_security_key}}",
"value": "56781234"
},
{
"key": "{{_owner_security_key_z}}",
"value": "12345678"
},
{
"key": "{{_owner_description}}",
"value": "人工智能 数字服务 ERP WES CRM CMS RPA MALL 商城 工厂"
},
{
"key": "{{_owner_title}}",
"value": "三摩地数字平台"
},
文档更新时间: 2023-04-07 21:55 作者:admin