# oh-herp **Repository Path**: sharkfish/oh-herp ## Basic Information - **Project Name**: oh-herp - **Description**: 开源医疗-医院资源管理系统(Hospital Resource Planning ) 是对传统HIS系统中人财物事、药品耗材、资产设备等管理模块的深化应用 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 4 - **Created**: 2024-08-08 - **Last Updated**: 2024-08-08 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # oh-herp ## 介绍 开源医疗-物资管理系统 ## 软件架构 1. .NET Framework 4.6 2. Redis 3. sqlserver ## 安装教程 ### 代码clone 1. 优先clone项目的依赖公共仓库 ``` git clone https://gitee.com/newtouch_code/his-dll-common.git ``` 2. 其次clone本项目库 ``` git clone https://gitee.com/newtouch_code/oh-herp.git ``` ### 开发指南 切换到解决方案选项卡 ``` Newtouch.Herp: ├─ 01 Common 基础结构层 ---基础设置 ├─ 02 Domain 服务 ---业务逻辑和数据库代码 ├─ 03 应用层 ---基础接口和基础设置 ├─ 04 Web ---页面 ├──├─ Newtouch.Herp.Web ---部署使用的代码 ├──├──├─ Config ---相关配置(数据库,其他服务等等) ├─ 05 WebAPI ---对外提供服务 ├──├─ Newtouch.Herp.API ---实际部署使用的代码(后端api代码) ├──├──├─ Config ---相关配置(数据库 ,其他服务等等) ├──├─ Newtouch.Herp.APIRequest ---废弃 ``` ### 运行 右键 ` Newtouch.Herp.Web` 调试,启动新实例。运行web应用 ## 部署(某些功能依赖了其他库,需要同步部署) 1. 右键 ` Newtouch.Herp.Web` 调试发布,发布为文件夹。 2. 打开iis管理器,添加应用池 3. 添加网站应,选取刚才添加的应用池。设置端口。暴露端口看整体部署文档 1. herp | 物资管理 | 8011 | 内外网 | 2. herp.API | 物资管理 | 7012 | 内外网 | 4. 编辑权限 ## 使用说明 ### 可能出现的问题 1. 如发现`DCSoft.Writer.ForASPNET`依赖不能使用,请删除后,重新将`his-dll0common`中的依赖引用一下。 2. IIS运行.net web程序报错:不能在此路径中使用此配置节。如果在父级别上锁定了该节,便会出现这种情况。锁定是默认设置的(overrideModeDefault=“Deny“),或... ``` %windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/handlers %windir%\system32\inetsrv\appcmd unlock config -section:system.webServer/modules ``` 3. HTTP 错误 500.21 - Internal Server Error 处理程序“ExtensionlessUrlHandler-Integrated-4.0”在其模块列表中有一个错误模块“ManagedPipelineHandler” ``` ##管理员身份执行一下命令 dism /online /enable-feature /featurename:IIS-ISAPIFilter dism /online /enable-feature /featurename:IIS-ISAPIExtensions dism /online /enable-feature /featurename:IIS-NetFxExtensibility45 dism /online /enable-feature /featurename:IIS-ASPNET45 ``` 4. HTTP 错误 500.19 - Internal Server Error-配置错误 由于权限不足而无法读取配置文件 解决方法 ``` 找到对应网站->编辑权限->点击弹出文件夹的安全Tip->编辑组和用户名->点击添加->输入 Everyone 并勾选 修改 权限 ->点击确定 ``` 5. 如果发现验证码加载不出来,Redis之类的错误 ``` 在引用中将 `his-dll-common``中的redis的相关依赖引入进来 ``` #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request