update
This commit is contained in:
4
config/autoload/.gitignore
vendored
Normal file
4
config/autoload/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
local.php
|
||||
local-development.php
|
||||
*.local.php
|
||||
*.local-development.php
|
8
config/autoload/README.md
Normal file
8
config/autoload/README.md
Normal file
@ -0,0 +1,8 @@
|
||||
About this directory:
|
||||
=====================
|
||||
|
||||
By default, this application is configured to load all configs in
|
||||
`./config/autoload/{,*.}{global,local}.php`. Doing this provides a
|
||||
location for a developer to drop in configuration override files provided by
|
||||
modules, as well as cleanly provide individual, application-wide config files
|
||||
for things like database connections, etc.
|
8
config/autoload/api-tools-api-problem.global.php
Normal file
8
config/autoload/api-tools-api-problem.global.php
Normal file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'api-tools-api-problem' => [
|
||||
// 不走框架默认的Api报错页面
|
||||
'accept_filters' => ['skipAcceptFilter']
|
||||
],
|
||||
];
|
11
config/autoload/api-tools-config.global.php
Normal file
11
config/autoload/api-tools-config.global.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'view_manager' => [
|
||||
'strategies' => [
|
||||
'ViewJsonStrategy',
|
||||
],
|
||||
],
|
||||
];
|
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* This file was autogenerated by laminas-api-tools/api-tools-mvc-auth (bin/api-tools-mvc-auth-oauth2-override.php),
|
||||
* and overrides the Laminas\ApiTools\OAuth2\Service\OAuth2Server to provide the ability to create named
|
||||
* OAuth2\Server instances.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Laminas\ApiTools\MvcAuth\Factory\NamedOAuth2ServerFactory;
|
||||
use Laminas\ApiTools\OAuth2\Service\OAuth2Server;
|
||||
|
||||
return [
|
||||
'service_manager' => [
|
||||
'factories' => [
|
||||
OAuth2Server::class => NamedOAuth2ServerFactory::class,
|
||||
],
|
||||
],
|
||||
];
|
6
config/autoload/exception.global.php
Normal file
6
config/autoload/exception.global.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
return [
|
||||
'exception' => [
|
||||
'throw_exceptions' => true,
|
||||
]
|
||||
];
|
23
config/autoload/extension-identity.global.php
Normal file
23
config/autoload/extension-identity.global.php
Normal file
@ -0,0 +1,23 @@
|
||||
<?php
|
||||
|
||||
|
||||
return [
|
||||
'identity' => [
|
||||
|
||||
// 指定为一个用户
|
||||
// 返回false 则不验证
|
||||
'fakeId' => false,
|
||||
|
||||
// 前端header传递token的key
|
||||
'tokenKey' => 'token',
|
||||
|
||||
// pc token 可用时长, 默认40分钟
|
||||
'expire' => 60 * 40,
|
||||
|
||||
// 小程序token可用时长, 默认2小时
|
||||
'miniExpire' => 60 * 60 * 2,
|
||||
|
||||
// debugMode token 可用时长
|
||||
'debugExpire' => 60 * 60 * 24,
|
||||
]
|
||||
];
|
38
config/autoload/extension-pay.global.php
Normal file
38
config/autoload/extension-pay.global.php
Normal file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
return $config = [
|
||||
// 'Yansongda' => [
|
||||
// // 必填-商户号,服务商模式下为服务商商户号
|
||||
// 'mch_id' => '',
|
||||
// // 必填-商户秘钥
|
||||
// 'mch_secret_key' => '',
|
||||
// // 必填-商户私钥 字符串或路径,文件名:apiclient_key.pem 的文件
|
||||
// 'mch_secret_cert' => '',
|
||||
// // 必填-商户公钥证书路径,文件名:apiclient_cert.pem的文件
|
||||
// 'mch_public_cert_path' => '',
|
||||
// // 必填
|
||||
// 'notify_url' => '', // 回调地址
|
||||
// // 选填-小程序 的 app_id
|
||||
// 'mini_app_id' => '',
|
||||
// // 选填-微信公钥证书路径, optional,强烈建议 php-fpm 模式下配置此参数
|
||||
// // 这个参数需要去下载证书,具体下载方法在下面贴出来
|
||||
// 'wechat_public_cert_path' => [],
|
||||
// // 选填-默认为正常模式。可选为: MODE_NORMAL, MODE_SERVICE
|
||||
// 'mode' => Pay::MODE_NORMAL,
|
||||
// ],
|
||||
'Easywechat' => [
|
||||
// 必要配置
|
||||
'app_id' => 'xxxx',
|
||||
'mch_id' => 'your-mch-id',
|
||||
'key' => 'key-for-signature', // API v2 密钥 (注意: 是v2密钥 是v2密钥 是v2密钥)
|
||||
|
||||
// 如需使用敏感接口(如退款、发送红包等)需要配置 API 证书路径(登录商户平台下载 API 证书)
|
||||
'cert_path' => 'path/to/your/cert.pem', // XXX: 绝对路径!!!!
|
||||
'key_path' => 'path/to/your/key', // XXX: 绝对路径!!!!
|
||||
|
||||
'notify_url' => '默认的订单回调地址', // 你也可以在下单时单独设置来想覆盖它
|
||||
|
||||
'sandbox' => true, // 设置为 false 或注释则关闭沙箱模式
|
||||
],
|
||||
];
|
||||
|
11
config/autoload/extension-sms.global.php
Normal file
11
config/autoload/extension-sms.global.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'sms' => [
|
||||
'url' => 'https://dx.ipyy.net/smsJson.aspx',
|
||||
'userid' => '2021',
|
||||
'account' => 'xd000698',
|
||||
'password' => 'Kingdone123456',
|
||||
'sign' => '北京开元数据',
|
||||
]
|
||||
];
|
53
config/autoload/extension-uploader.global.php
Normal file
53
config/autoload/extension-uploader.global.php
Normal file
@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
use Application\Service\Extension\Uploader\Image;
|
||||
use Application\Service\Extension\Uploader\ImageUploader;
|
||||
|
||||
return [
|
||||
'image_uploader' => [
|
||||
// 本地上传时文件存储的路径。
|
||||
'savePath' => $_SERVER['DOCUMENT_ROOT'],
|
||||
|
||||
/**
|
||||
* 由于配置文件会被缓存, 导致日期路径不正确。此属性已废弃。
|
||||
* @see \Application\Service\Extension\Uploader\UploadAdapterAbstract::getSaveDir()
|
||||
*/
|
||||
// 文件上传文件夹
|
||||
'saveDir' => '/upload/' . date('Y-m-d'),
|
||||
|
||||
// 自定义上传文件名称。
|
||||
// 如果是字符串就是class内处理saveName的函数名称
|
||||
'saveName' => 'handleSaveName',
|
||||
|
||||
// 图片最大上传限制, 默认1M
|
||||
'imgMaxSize' => 1024 * 20,
|
||||
|
||||
// 附件最大上传限制, 默认10M
|
||||
'fileMaxSize' => 1024 * 10,
|
||||
|
||||
// 允许上传的图片文件后缀
|
||||
'allowExtensions' => ['png', 'jpg', 'jpeg', 'webp', 'jfif', 'tif'],
|
||||
// 允许上传的文件后缀
|
||||
'allowFileExtensions' => ['doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'pdf', 'txt', 'zip', 'rar'],
|
||||
// OSS上传适配器
|
||||
'driver' => ImageUploader::DRIVER_OSS,
|
||||
// 本地上传适配器
|
||||
// 'driver' => ImageUploader::DRIVER_LOCAL,
|
||||
|
||||
// OSS的上传配置
|
||||
'oss' => [
|
||||
'yikeen' => [
|
||||
'accessKeyId' => 'LTAI4GG8W5wjNPniP1YrGvc8',
|
||||
'accessKeySecret' => '7gUnsuT1oc7vLGvp7YjDfKFgQiS0fP',
|
||||
'endpoint' => 'http://oss-cn-beijing.aliyuncs.com',
|
||||
'bucket' => 'yikeen',
|
||||
],
|
||||
'eyda' => [
|
||||
'accessKeyId' => 'LTAI4G1xDK8DpQRYxUQ4TYeP',
|
||||
'accessKeySecret' => 'lYfHDzKfldcjUsih85Uaj2Mw81uHd0',
|
||||
'endpoint' => 'http://oss-cn-zhangjiakou-internal.aliyuncs.com',
|
||||
'bucket' => 'eyda',
|
||||
]
|
||||
],
|
||||
]
|
||||
];
|
284
config/autoload/extension-validator.global.php
Normal file
284
config/autoload/extension-validator.global.php
Normal file
@ -0,0 +1,284 @@
|
||||
<?php
|
||||
|
||||
use Application\Service\DB\Item\ItemPlanviolate;
|
||||
|
||||
$formValidatorPath = APP_PATH . '/formData/';
|
||||
/**
|
||||
* 验证器配置文件的映射
|
||||
*/
|
||||
return [
|
||||
'formValidator' => [
|
||||
'DictionaryGenercsetinfotype' => $formValidatorPath . 'DictionaryGenercsetinfotypeData.php',//字典项分类
|
||||
'DictionaryGenercsetinfo' => $formValidatorPath . 'DictionaryGenercsetinfoData.php',//字典项通用名
|
||||
'Researchflowcat' => $formValidatorPath . 'ResearchflowcatData.php',//研究流程分类
|
||||
'ItemRandom' => $formValidatorPath . 'ItemRandomData.php',//随机方案(随机前/无随机)设置
|
||||
'Randomscheme' => $formValidatorPath . 'RandomschemeData.php',//随机方案(随机分组)设置
|
||||
'ItemResearchflowcat' => $formValidatorPath . 'ItemResearchflowcatData.php',//字典项通用名
|
||||
'DictionaryCheckcategory' => $formValidatorPath . 'DictionaryCheckcategoryData.php',//字典项检查项分类
|
||||
'DictionaryCheckname' => $formValidatorPath . 'DictionaryChecknameData.php',//字典项检查项
|
||||
'DictionaryCsset' => $formValidatorPath . 'DictionaryCssetData.php',//字典项cs设置
|
||||
'DictionaryItemjob' => $formValidatorPath . 'DictionaryItemjobData.php',//字典项岗位设置
|
||||
'DictionaryDocument' => $formValidatorPath . 'DictionaryDocumentData.php',//字典项文档管理
|
||||
'DictionaryPatientattr' => $formValidatorPath . 'DictionaryPatientattrData.php',//字典项患者属性拓展
|
||||
'ItemChecktime' => $formValidatorPath . 'ItemChecktimeData.php',//检查点设置
|
||||
'AdminUser' => $formValidatorPath . 'AdminUserData.php',//系统管理-用户管理
|
||||
'AdminRole' => $formValidatorPath . 'AdminRoleData.php',//系统管理-角色管理
|
||||
'AdminMenu' => $formValidatorPath . 'AdminMenuData.php',//系统管理-菜单管理
|
||||
'SignatoryInfo' => $formValidatorPath . 'SignatoryInfoData.php',//合作方管理
|
||||
'SignatoryUser' => $formValidatorPath . 'SignatoryUserData.php',//合作方联系人
|
||||
'SignatoryDepartment' => $formValidatorPath . 'SignatoryDepartmentData.php',//合作方机构
|
||||
'ItemInfo' => $formValidatorPath . 'ItemInfoData.php',//项目管理
|
||||
'ItemSignatory' => $formValidatorPath . 'ItemSignatoryData.php',//项目合作方管理
|
||||
'ItemCenterdata' => $formValidatorPath . 'ItemCenterdataData.php',//中心信息
|
||||
'ItemRandgroup' => $formValidatorPath . 'ItemRandgroupData.php',//研究分层
|
||||
'ItemRandnumber' => $formValidatorPath . 'ItemRandnumberData.php',//随机分组
|
||||
'ItemRandomdetails' => $formValidatorPath . 'ItemRandomdetailsData.php',//随机号码明细
|
||||
'ItemItemdocumentData' => $formValidatorPath . 'ItemItemdocumentData.php',//随机号码明细
|
||||
'ItemDocumentcontentData' => $formValidatorPath . 'ItemDocumentcontentData.php',//随机号码明细
|
||||
'ItemCheckcontentData' => $formValidatorPath . 'ItemCheckcontentData.php',//随机号码明细
|
||||
'DictionaryForm' => $formValidatorPath . 'DictionaryFormData.php',
|
||||
'DictionaryFormField' => $formValidatorPath . 'DictionaryFormFieldData.php',
|
||||
'ItemForm' => $formValidatorPath . 'ItemFormData.php',//表单
|
||||
'ItemFormField' => $formValidatorPath . 'ItemFormFieldData.php',
|
||||
'RealRole' => $formValidatorPath . 'RealRoleData.php',//real角色
|
||||
'Patientattrs' => $formValidatorPath . 'PatientattrsData.php',//受试者拓展属性
|
||||
'Patient' => $formValidatorPath . 'PatientData.php',//受试者管理
|
||||
'DictionaryFormGroup' => $formValidatorPath . 'DictionaryFormGroupData.php',// 表单类型管理
|
||||
'DictionaryChecknameattr' => $formValidatorPath . 'DictionaryChecknameattrData.php',// 检查项属性拓展
|
||||
'ItemSuperrole' => $formValidatorPath . 'ItemSuperroleData.php',// 创建项目人员管理
|
||||
'DictionaryUnblinding' => $formValidatorPath . 'DictionaryUnblindingData.php',// 揭盲认证
|
||||
'Entry' => $formValidatorPath . 'EntryData.php',// 添加条目
|
||||
'Forminfo' => $formValidatorPath . 'ForminfoData.php',// 添加条目
|
||||
'ItemRandblock' => $formValidatorPath . 'ItemRandblockData.php',//block设置
|
||||
'ItemResearchstage' => $formValidatorPath . 'ItemResearchstageData.php',// 研究流程阶段设置
|
||||
'DictionaryOcr' => $formValidatorPath . 'DictionaryOcrData.php',// ocr识别模板设置
|
||||
'ItemCheckname' => $formValidatorPath . 'ItemChecknameData.php',// 检查项名称显示设置
|
||||
'DictionaryUnit' => $formValidatorPath . 'DictionaryUnitData.php',// 单位换算设置表
|
||||
'ItemImgtxtdiscern' => $formValidatorPath . 'ItemImgtxtdiscernData.php',// 图文识别模板设置表
|
||||
'Unplanned' => $formValidatorPath . 'UnplannedData.php',// 计划外检查点
|
||||
'ItemPatientCheckcontent' => $formValidatorPath . 'ItemPatientCheckcontentData.php',// 计划外检查点
|
||||
'ItemUnblinding' => $formValidatorPath . 'ItemUnblindingData.php',//受试者揭盲设置
|
||||
'ItemIdentificationresult' => $formValidatorPath . 'ItemIdentificationresultData.php',//按时间展示
|
||||
'ItemIdentificationresultchange' => $formValidatorPath . 'ItemIdentificationresultchangeData.php',//按时间展示
|
||||
'ItemIdentificationresultchangeif' => $formValidatorPath . 'ItemIdentificationresultchangeifData.php',//异常值判断
|
||||
'ItemUrgentunblind' => $formValidatorPath . 'ItemUrgentunblindData.php',//受试者紧急揭盲设置
|
||||
'ItemQuestion' => $formValidatorPath . 'ItemQuestionData.php',//质疑沟通
|
||||
'ItemReply' => $formValidatorPath . 'ItemReplyData.php',//质疑沟通-回复处理
|
||||
'Make' => $formValidatorPath . 'MakeData.php',//受试者预约管理
|
||||
'Patientbreak' => $formValidatorPath . 'Patientbreak.php',//受试者脱离
|
||||
'ItemCsae' => $formValidatorPath . 'ItemCsaeData.php',//ae判断
|
||||
'AdminAppletsrolemenurelation' => $formValidatorPath . 'AdminAppletsrolemenurelationData.php',//小程序平台设置
|
||||
'RoleSignatoryRelation' => $formValidatorPath . 'RoleSignatoryRelationData.php',//项目合作方角色关系
|
||||
'ItemMedication' => $formValidatorPath . 'ItemMedicationData.php',//药物分组
|
||||
'ItemAppletsdata' => $formValidatorPath . 'ItemAppletsdataData.php',//小程序数据设置
|
||||
'ItemVicecopy' => $formValidatorPath . 'ItemVicecopyData.php',//副项目复制
|
||||
'DictionaryRule' => $formValidatorPath . 'DictionaryRuleData.php',//验证规则
|
||||
'DictionaryFormtype' => $formValidatorPath . 'DictionaryFormtypeData.php',//输入类型
|
||||
'DictionaryFormtyperule' => $formValidatorPath . 'DictionaryFormtyperuleData.php',//类型与验证规则关系
|
||||
'ItemAgecountset' => $formValidatorPath . 'ItemAgecountsetData.php',//自定义年龄段
|
||||
'DictionaryWorkset' => $formValidatorPath . 'DictionaryWorksetData.php',//工作流程字典项设置表
|
||||
'WorklistItemworklist' => $formValidatorPath . 'WorklistItemworklistData.php',//项目工作流程明细表
|
||||
'WorklistItemcustomname' => $formValidatorPath . 'WorklistItemcustomnameData.php',//项目工作流程自定义检查项药物器械表
|
||||
'WorklistItemworklistset' => $formValidatorPath . 'WorklistItemworklistsetData.php',//项目工作流程设置表
|
||||
'WorklistSigworklist' => $formValidatorPath . 'WorklistSigworklistData.php',//项目中心工作流程明细表
|
||||
'WorklistSigcustomname' => $formValidatorPath . 'WorklistSigcustomnameData.php',//项目工作流程自定义检查项药物器械表
|
||||
'WorklistSigworklistset' => $formValidatorPath . 'WorklistSigworklistsetData.php',//项目工作流程设置表
|
||||
'WorklistPatientinfo' => $formValidatorPath . 'WorklistPatientinfoData.php',//项目患者工作流程 - 基本信息表
|
||||
'WorklistPatientconnect' => $formValidatorPath . 'WorklistPatientconnectData.php',//项目患者工作流程 - 沟通过程表
|
||||
'WorklistPatientworklist' => $formValidatorPath . 'WorklistPatientworklistData.php',//项目患者工作流程 - 工作进度表
|
||||
'ItemExport' => $formValidatorPath . 'ItemExportData.php',//导出
|
||||
'Export' => $formValidatorPath . 'ExportData.php',//导出
|
||||
'ItemPatientsign' => $formValidatorPath . 'ItemPatientsignData.php',
|
||||
'ItemCopyocr' => $formValidatorPath . 'ItemCopyocr.php',
|
||||
'DictionaryListset' => $formValidatorPath . 'DictionaryListsetData.php',//工作清单字典项设置表
|
||||
'ListsetItemlist' => $formValidatorPath . 'ListsetItemlistData.php',//项目工作清单表
|
||||
'ListsetSiglist' => $formValidatorPath . 'ListsetSiglistData.php',//项目中心工作清单表
|
||||
'ListsetOperate' => $formValidatorPath . 'ListsetOperateData.php',//项目中心工作清单操作轨迹表
|
||||
'ListsetAnnex' => $formValidatorPath . 'ListsetAnnexData.php',//项目中心工作清单附件表
|
||||
'ListsetAnnexcat' => $formValidatorPath . 'ListsetAnnexcatData.php',//项目中心工作清单附件分类表
|
||||
'ListsetFlow' => $formValidatorPath . 'ListsetFlowData.php',//项目中心工作清单操作评审记录表
|
||||
'BusinessCategory' => $formValidatorPath . 'BusinessCategoryData.php',//业务流程分类表
|
||||
'BusinessRecord' => $formValidatorPath . 'BusinessRecordData.php',//项目中心业务流程表
|
||||
'BusinessRecordannex' => $formValidatorPath . 'BusinessRecordannexData.php',//项目中心业务流程附件表
|
||||
'ItemIdentificationresultdestroy' => $formValidatorPath . 'ItemIdentificationresultdestroyData.php',//识别结果单个指标解锁
|
||||
'ItemIdentificationresultDoctorIdea' => $formValidatorPath . 'ItemIdentificationresultDoctorIdeaData.php',//医嘱
|
||||
'Questionconfig' => $formValidatorPath . 'QuestionconfigData.php',//质疑配置
|
||||
'OcrKeyword' => $formValidatorPath . 'OcrKeywordData.php',//检查项设置信息表
|
||||
'OcrRawdata' => $formValidatorPath . 'OcrRawdataData.php',//识别原始数据
|
||||
'OcrMatedata' => $formValidatorPath . 'OcrMatedataData.php',//原始数据与关键字匹配
|
||||
'OcrMedicalword' => $formValidatorPath . 'OcrMedicalwordData.php',//医嘱黑/白名单设置
|
||||
'OcrMatewhite' => $formValidatorPath . 'OcrMatewhiteData.php',//医嘱黑/白名单匹配
|
||||
'OcrMateblack' => $formValidatorPath . 'OcrMateblackData.php',//医嘱黑/白名单匹配
|
||||
'OcrSigpatient' => $formValidatorPath . 'OcrSigpatientData.php',//中心受试者
|
||||
'OcrMedical' => $formValidatorPath . 'OcrMedicalData.php',//医嘱原始数据
|
||||
'OcrOcrannex' => $formValidatorPath . 'OcrOcrannexData.php',//附件信息
|
||||
'OcrRawword' => $formValidatorPath . 'OcrRawwordData.php',//指标黑名单设置
|
||||
'OcrRawblack' => $formValidatorPath . 'OcrRawblackData.php',//指标匹配数据与黑名单匹配
|
||||
'OcrRawlock' => $formValidatorPath . 'OcrRawlockData.php',//化验单锁定
|
||||
'OcrMedicallock' => $formValidatorPath . 'OcrMedicallockData.php',//医嘱锁定
|
||||
'OcrChangetype' => $formValidatorPath . 'OcrChangetypeData.php',//图片处理字典项
|
||||
'OcrDeletename' => $formValidatorPath . 'OcrDeletenameData.php',//批量删除无效识别项
|
||||
'OcrReplace' => $formValidatorPath . 'OcrReplaceData.php',//批量替换识别信息
|
||||
'OcrAnnextype' => $formValidatorPath . 'OcrAnnextypeData.php',//附件类型信息
|
||||
'OcrSigkeyword' => $formValidatorPath . 'OcrSigkeywordData.php',//中心检查项设置信息
|
||||
'OcrCt' => $formValidatorPath . 'OcrCtData.php',//CT原始数据信息表
|
||||
'BlindMethodLog' => $formValidatorPath . 'BlindMethodLogData.php',//非盲信息确认
|
||||
'OcrLoseannex' => $formValidatorPath . 'OcrLoseannexData.php',//批量弃用文件名信息
|
||||
'OcrMatesearch' => $formValidatorPath . 'OcrMatesearchData.php',//匹配信息检索
|
||||
'ItemOcrCsaePaitentDetail' => $formValidatorPath . 'ItemOcrCsaePaitentDetailData.php',//住院日期及费用信息
|
||||
'ItemOcrCasePatientSpecialdetail' => $formValidatorPath . 'ItemOcrCasePatientSpecialdetailData.php',//特殊中心住院日期及费用信息
|
||||
'ItemRemarks' => $formValidatorPath . 'ItemRemarksData.php',//项目备注
|
||||
'ItemChangeCollectDate' => $formValidatorPath . 'ItemChangeCollectDateData.php',//识别采集时间调整
|
||||
'OcrCtcase' => $formValidatorPath . 'OcrCtcaseData.php',//识别采集时间调整
|
||||
'OcrCaseremark' => $formValidatorPath . 'OcrCaseremarkData.php',//首页备注信息
|
||||
'ItemOcrCsaePaitentDetailNew' => $formValidatorPath . 'ItemOcrCsaePaitentDetailNewData.php',//第二批住院日期及费用信息
|
||||
'ItemOcrCasePatientSpecialdetailNew' => $formValidatorPath . 'ItemOcrCasePatientSpecialdetailNewData.php',//第二批特殊中心住院日期及费用信息
|
||||
'OcrDrug' => $formValidatorPath . 'OcrDrugData.php',//药物名称信息
|
||||
'OcrTake' => $formValidatorPath . 'OcrTakeData.php',//剂型/服用方式/服用次数信息
|
||||
'OcrCtreplace' => $formValidatorPath . 'OcrCtreplaceData.php',//影像替换信息
|
||||
'OcrMatedrug' => $formValidatorPath . 'OcrMatedrugData.php',//医嘱原始数据与药物匹配信息
|
||||
'OcrDrugcategory' => $formValidatorPath . 'OcrDrugcategoryData.php',//药物分类信息
|
||||
'DictionaryMedicaltake' => $formValidatorPath . 'DictionaryMedicaltakeData.php',//医嘱字典项信息
|
||||
'DictionaryMedicalword' => $formValidatorPath . 'DictionaryMedicalwordData.php',//医嘱黑白名单信息
|
||||
'DictionaryDrugcategory' => $formValidatorPath . 'DictionaryDrugcategoryData.php',//医嘱药物分类信息
|
||||
'DictionaryDrug' => $formValidatorPath . 'DictionaryDrugData.php',//医嘱药物信息
|
||||
'MedicalMatewhite' => $formValidatorPath . 'MedicalMatewhiteData.php',//医嘱白名单匹配
|
||||
'MedicalMateblack' => $formValidatorPath . 'MedicalMateblackData.php',//医嘱白名单与黑名单匹配
|
||||
'MedicalMatedrug' => $formValidatorPath . 'MedicalMatedrugData.php',//医嘱原始数据与药物匹配信息
|
||||
'MedicalOcrdata' => $formValidatorPath . 'MedicalOcrdataData.php',//医嘱原始数据
|
||||
'MedicalLock' => $formValidatorPath . 'MedicalLockData.php',//医嘱锁定信息
|
||||
'PatientFormContentImg' => $formValidatorPath . 'PatientFormContentImgData.php',//患者医嘱用药附件信息
|
||||
'TmpDeletename' => $formValidatorPath . 'TmpDeletenameData.php',//删除识别名称信息表
|
||||
'TmpDrug' => $formValidatorPath . 'TmpDrugData.php',//药物字典项信息表
|
||||
'TmpDrugcategory' => $formValidatorPath . 'TmpDrugcategoryData.php',//药物分类字典项信息表
|
||||
'TmpKeyword' => $formValidatorPath . 'TmpKeywordData.php',//检查项信息表
|
||||
'TmpMedical' => $formValidatorPath . 'TmpMedicalData.php',//医嘱原始数据信息表
|
||||
'TmpMedicalblack' => $formValidatorPath . 'TmpMedicalblackData.php',//医嘱匹配上白名单与黑名单匹配信息表
|
||||
'TmpMedicaldrug' => $formValidatorPath . 'TmpMedicaldrugData.php',//医嘱原始数据与药物匹配信息表
|
||||
'TmpMedicallock' => $formValidatorPath . 'TmpMedicallockData.php',//医嘱锁定数据信息表
|
||||
'TmpMedicaltake' => $formValidatorPath . 'TmpMedicaltakeData.php',//用药字典项信息表
|
||||
'TmpMedicalwhite' => $formValidatorPath . 'TmpMedicalwhiteData.php',//医嘱与白名单匹配信息表
|
||||
'TmpMedicalword' => $formValidatorPath . 'TmpMedicalwordData.php',//医嘱黑白名单信息表
|
||||
'TmpRawblack' => $formValidatorPath . 'TmpRawblackData.php',//化验单匹配上检查项的数据的与黑名单匹配信息表
|
||||
'TmpRawdata' => $formValidatorPath . 'TmpRawdataData.php',//识别原始数据信息表
|
||||
'TmpRawlock' => $formValidatorPath . 'TmpRawlockData.php',//化验单锁定数据信息表
|
||||
'TmpRawmate' => $formValidatorPath . 'TmpRawmateData.php',//化验单原始数据与检查项匹配信息表
|
||||
'TmpRawword' => $formValidatorPath . 'TmpRawwordData.php',//指标黑名单信息表
|
||||
'TmpReplace' => $formValidatorPath . 'TmpReplaceData.php',//替换识别项信息表
|
||||
'TmpSigkeyword' => $formValidatorPath . 'TmpSigkeywordData.php',//中心检查项设置信息表
|
||||
'TmpHospital' => $formValidatorPath . 'TmpHospitalData.php',//入院记录字典项信息表
|
||||
'TmpInspect' => $formValidatorPath . 'TmpInspectData.php',//体格检查分类信息表
|
||||
'TmpPatienthospital' => $formValidatorPath . 'TmpPatienthospitalData.php',//患者入院记录信息表
|
||||
'TmpReport' => $formValidatorPath . 'TmpReportData.php',//介入报告字典项信息表
|
||||
'DictionaryDiseasecategory' => $formValidatorPath . 'DictionaryDiseasecategoryData.php',//疾病分类设置
|
||||
'DictionaryDisease' => $formValidatorPath . 'DictionaryDiseaseData.php',//疾病设置
|
||||
'TmpAnnex' => $formValidatorPath . 'TmpAnnexData.php',//附件信息表
|
||||
'TmpPatient' => $formValidatorPath . 'TmpPatientData.php',//临时患者信息表
|
||||
'TmpPatientct' => $formValidatorPath . 'TmpPatientctData.php',//临时患者影像信息表
|
||||
'TmpCustom' => $formValidatorPath . 'TmpCustomData.php',//临时患者影像化验单原始数据信息表
|
||||
'TmpTable' => $formValidatorPath . 'TmpTableData.php',//临时患者医嘱介入报告原始数据信息
|
||||
'TmpText' => $formValidatorPath . 'TmpTextData.php',//临时患者入院出院原始数据信息
|
||||
'TmpOutmedical' => $formValidatorPath . 'TmpOutmedicalData.php',//临时患者出院用药信息
|
||||
'TmpIntervene' => $formValidatorPath . 'TmpInterveneData.php',//临时患者介入报告信息
|
||||
'TmpIntervene0' => $formValidatorPath . 'TmpIntervene0Data.php',//临时患者介入报告病态部位信息
|
||||
'TmpIntervene1' => $formValidatorPath . 'TmpIntervene1Data.php',//临时患者介入报告置入支架信息
|
||||
'TmpIntervene2' => $formValidatorPath . 'TmpIntervene2Data.php',//临时患者介入报告药物球囊信息
|
||||
'OcrRawlockunique' => $formValidatorPath . 'OcrRawlockuniqueData.php',//天坛患者化验单去重信息
|
||||
'TmpCtreplace' => $formValidatorPath . 'TmpCtreplaceData.php',//秋水仙碱心电图彩超替换信息
|
||||
'MessageField' => $formValidatorPath . 'MessageFieldData.php',//消息推送字段设置
|
||||
'MessageSend' => $formValidatorPath . 'MessageSendData.php',//消息推送信息设置
|
||||
'CollectCategory' => $formValidatorPath . 'CollectCategoryData.php',//病例收集分类设置
|
||||
'CollectInspect' => $formValidatorPath . 'CollectInspectData.php',//病例收集体格检查分类信息表
|
||||
'CollectHospital' => $formValidatorPath . 'CollectHospitalData.php',//病例收集入院字典项信息表
|
||||
'CollectItemhospital' => $formValidatorPath . 'CollectItemhospitalData.php',//病例收集项目入院记录字典项信息表
|
||||
'CollectOut' => $formValidatorPath . 'CollectOutData.php',//病例收集出院字典项信息表
|
||||
'CollectItemout' => $formValidatorPath . 'CollectItemoutData.php',//病例收集项目出院记录字典项信息表
|
||||
'CollectDrugcategory' => $formValidatorPath . 'CollectDrugcategoryData.php',//病例收集药物分类信息表
|
||||
'CollectDrug' => $formValidatorPath . 'CollectDrugData.php',//病例收集药物字典项信息表
|
||||
'CollectMedicalword' => $formValidatorPath . 'CollectMedicalwordData.php',//病例收集医嘱黑/白名单信息表
|
||||
'CollectMedicaltake' => $formValidatorPath . 'CollectMedicaltakeData.php',//病例收集用药字典项信息表
|
||||
'CollectItemdrug' => $formValidatorPath . 'CollectItemdrugData.php',//病例收集项目药物字典项信息表
|
||||
'CollectEcg' => $formValidatorPath . 'CollectEcgData.php',//病例收集心电图字典项信息表
|
||||
'CollectItemecg' => $formValidatorPath . 'CollectItemecgData.php',//病例收集项目心电图字典项信息表
|
||||
'CollectCt' => $formValidatorPath . 'CollectCtData.php',//病例收集彩超字典项信息表
|
||||
'CollectItemct' => $formValidatorPath . 'CollectItemctData.php',//病例收集项目彩超字典项信息表
|
||||
'CollectReport' => $formValidatorPath . 'CollectReportData.php',//病例收集介入报告字典项信息表
|
||||
'CollectItemreport' => $formValidatorPath . 'CollectItemreportData.php',//病例收集项目介入报告字典项信息表
|
||||
'CollectKeywordcat' => $formValidatorPath . 'CollectKeywordcatData.php',//病例收集检查项分类字典项信息表
|
||||
'CollectKeyword' => $formValidatorPath . 'CollectKeywordData.php',//病例收集检查项字典项信息表
|
||||
'CollectRawword' => $formValidatorPath . 'CollectRawwordData.php',//病例收集化验单黑名单信息表
|
||||
'CollectItemkeyword' => $formValidatorPath . 'CollectItemkeywordData.php',//病例收集项目检查项字典项信息表
|
||||
'CollectCost' => $formValidatorPath . 'CollectCostData.php',//病例收集费用字典项信息表
|
||||
'CollectItemcost' => $formValidatorPath . 'CollectItemcostData.php',//病例收集项目费用字典项信息表
|
||||
'MessageSendPatient' => $formValidatorPath . 'MessageSendPatientData.php',//受试者推送信息
|
||||
'CollectPatienthospital' => $formValidatorPath . 'CollectPatienthospitalData.php',//病例收集患者入院记录信息表
|
||||
'CollectPatientecg' => $formValidatorPath . 'CollectPatientecgData.php',//病例收集患者心电图记录信息表
|
||||
'CollectPatientct' => $formValidatorPath . 'CollectPatientctData.php',//病例收集患者彩超记录信息表
|
||||
'CollectPatientreport' => $formValidatorPath . 'CollectPatientreportData.php',//病例收集患者介入报告记录信息表
|
||||
'CollectPatientraw' => $formValidatorPath . 'CollectPatientrawData.php',//病例收集患者化验单记录信息表
|
||||
'CollectPatientrawmate' => $formValidatorPath . 'CollectPatientrawmateData.php',//病例收集患者化验单匹配记录信息表
|
||||
'CollectPatientrawblack' => $formValidatorPath . 'CollectPatientrawblackData.php',//病例收集患者化验单黑名单匹配记录信息表
|
||||
'CollectPatientrawlock' => $formValidatorPath . 'CollectPatientrawlockData.php',//病例收集患者化验单锁定记录信息表
|
||||
'CollectPatientmedical' => $formValidatorPath . 'CollectPatientmedicalData.php',//病例收集患者医嘱原始数据信息表
|
||||
'CollectPatientmedicalwhite' => $formValidatorPath . 'CollectPatientmedicalwhiteData.php',//病例收集患者医嘱与白名单匹配信息表
|
||||
'CollectPatientmedicalblack' => $formValidatorPath . 'CollectPatientmedicalblackData.php',//病例收集患者医嘱匹配上白名单与黑名单匹配信息表
|
||||
'CollectPatientmedicaldrug' => $formValidatorPath . 'CollectPatientmedicaldrugData.php',//病例收集患者医嘱原始数据与药物匹配信息表
|
||||
'CollectPatientmedicallock' => $formValidatorPath . 'CollectPatientmedicallockData.php',//病例收集患者医嘱锁定数据信息表
|
||||
'CollectPatientout' => $formValidatorPath . 'CollectPatientoutData.php',//病例收集患者出院记录信息表
|
||||
'OcrSpecialmedical' => $formValidatorPath . 'OcrSpecialmedicalData.php',//特殊用药整理信息表
|
||||
'CollectPatient' => $formValidatorPath . 'CollectPatientData.php',//病例收集患者信息表
|
||||
'CollectAnnex' => $formValidatorPath . 'CollectAnnexData.php',//病例收集患者附件信息表
|
||||
'ExportSas' => $formValidatorPath . 'ExportSasData.php',//sas导出
|
||||
'CollectSighospital' => $formValidatorPath . 'CollectSighospitalData.php',//病例收集项目中心入院记录信息表
|
||||
'CollectSigout' => $formValidatorPath . 'CollectSigoutData.php',//病例收集项目中心出院记录信息表
|
||||
'CollectSigkeyword' => $formValidatorPath . 'CollectSigkeywordData.php',//病例收集项目中心检查项字典项信息表
|
||||
'ItemFormrecognition' => $formValidatorPath . 'ItemFormrecognitionData.php',//表单识别配置信息表
|
||||
'ItemDrugbatch' => $formValidatorPath . 'ItemDrugbatchData.php',//药物批次信息
|
||||
'ItemPatientformimgcontent' => $formValidatorPath . 'ItemPatientformimgcontentData.php',//常规类(识别)表单识别拆分信息
|
||||
'DictionaryDetectname' => $formValidatorPath . 'DictionaryDetectnameData.php',//字典项检查项
|
||||
'ItemSigdrugbatch' => $formValidatorPath . 'ItemSigdrugbatchData.php',//中心选择药物批次信息
|
||||
'ItemPatientdrugbatch' => $formValidatorPath . 'ItemPatientdrugbatchData.php',//受试者取药信息
|
||||
'CollectTable' => $formValidatorPath . 'CollectTableData.php',//表格识别信息
|
||||
'CollectText' => $formValidatorPath . 'CollectTextData.php',//文本识别信息
|
||||
'CollectCustom' => $formValidatorPath . 'CollectCustomData.php',//自定义识别信息
|
||||
'ItemResultidentify' => $formValidatorPath . 'ItemResultidentifyData.php',//特殊结果标识字典项
|
||||
'ItemIdentificationexport' => $formValidatorPath . 'ItemIdentificationexportData.php',//研究者申请导出
|
||||
'DoctoradviceOriginal' => $formValidatorPath . 'DoctoradviceOriginalData.php',//医嘱信息表
|
||||
'ItemPatientinfo' => $formValidatorPath . 'ItemPatientinfoData.php',//追加患者信息
|
||||
'DictionaryLeverform' => $formValidatorPath . 'DictionaryLeverformData.php',//层级字典项表单设置表
|
||||
'DictionaryLevervalue' => $formValidatorPath . 'DictionaryLevervalueData.php',//层级字典项选项设置表
|
||||
'ItemSignaturebatch' => $formValidatorPath . 'ItemSignaturebatchData.php',//受试者表单电子签名批次表
|
||||
'ItemSignaturedetail' => $formValidatorPath . 'ItemSignaturedetailData.php',//受试者表单电子签名明细表
|
||||
'ItemDetectpatient' => $formValidatorPath . 'ItemDetectpatientData.php',//受试者重点事件监控信息表
|
||||
'DictionaryOcrreplace' => $formValidatorPath . 'DictionaryOcrreplaceData.php',//识别数据字样替换信息表
|
||||
'ItemCissclass' => $formValidatorPath . 'ItemCissclassData.php',//项目CISS分型信息表
|
||||
'ItemCissoption' => $formValidatorPath . 'ItemCissoptionData.php',//项目CISS分型选项信息表
|
||||
'ItemPatientciss' => $formValidatorPath . 'ItemPatientcissData.php',//项目受试者CISS分型信息表
|
||||
'Fixednametype' => $formValidatorPath . 'FixednametypeData.php',//固定变量名分类字典项检查项
|
||||
'Fixedname' => $formValidatorPath . 'FixednameData.php',//固定变量名明细表
|
||||
'ProjectMsgset' => $formValidatorPath . 'ProjectMsgsetData.php',//消息提醒设置信息
|
||||
'ProjectMsginfo' => $formValidatorPath . 'ProjectMsginfoData.php',//每日人员待处理工作明细信息表
|
||||
'ProjectMsgsend' => $formValidatorPath . 'ProjectMsgsendData.php',//待处理信息提醒记录
|
||||
'ItemPlanviolate' => $formValidatorPath . 'ItemPlanviolateData.php',//方案违背监察字典项表
|
||||
'AdminWeblink' => $formValidatorPath . 'AdminWeblinkData.php', //网站管理表
|
||||
'AdminWorkbatch' => $formValidatorPath . 'AdminWorkbatchData.php', //个人工作统计批次表
|
||||
'AdminWorkinfo' => $formValidatorPath . 'AdminWorkinfoData.php', //个人工作统计明细表
|
||||
'DictionaryEventset' => $formValidatorPath . 'DictionaryEventsetData.php',//其他事件管理字典项
|
||||
'DictionaryEventattr' => $formValidatorPath . 'DictionaryEventattrData.php',//其他事件管理字典项属性
|
||||
'AdminMedicallock' => $formValidatorPath . 'AdminMedicallockData.php', //个人核查用药工作统计明细表
|
||||
'ItemPatientevent' => $formValidatorPath . 'ItemPatienteventData.php', //其他事件管理信息表
|
||||
'ItemPatienteventset' => $formValidatorPath . 'ItemPatienteventsetData.php', //其他事件管理设置信息表
|
||||
'ProjectPatientwork' => $formValidatorPath . 'ProjectPatientworkData.php', //化验单/常规识别工作记录表
|
||||
'ProjectMedicalquestion' => $formValidatorPath . 'ProjectMedicalquestionData.php', //用药信息复核问题批次表
|
||||
'ProjectMedicalquestioninfo' => $formValidatorPath . 'ProjectMedicalquestioninfoData.php', //用药信息复核问题明细表
|
||||
'ProjectMedicalconfirm' => $formValidatorPath . 'ProjectMedicalconfirmData.php', //用药信息复核确认批次记录表
|
||||
'ProjectMedicalconfirminfo' => $formValidatorPath . 'ProjectMedicalconfirminfoData.php', //用药信息复核确认明细记录表
|
||||
'ProjectMedicalset' => $formValidatorPath . 'ProjectMedicalsetData.php', //用药信息复核设置表
|
||||
'ItemCheckdate' => $formValidatorPath . 'ItemCheckdateData.php', //项目化验单采集时间类型记录表
|
||||
'ProjectCmdrugset' => $formValidatorPath . 'ProjectCmdrugsetData.php', //项目用药原因默认药物信息表
|
||||
'ItemPatientformunlock' => $formValidatorPath . 'ItemPatientformunlockData.php', //申请解锁信息表
|
||||
'CollectPatientdrug' => $formValidatorPath . 'CollectPatientdrugData.php', //受试者用药及核查信息表
|
||||
'DictionaryItemcategory' => $formValidatorPath . 'DictionaryItemcategoryData.php', //项目分类管理字典项
|
||||
'ItemPackage' => $formValidatorPath . 'ItemPackageData.php', //项目分类管理字典项
|
||||
]
|
||||
];
|
74
config/autoload/extension-wechat.global.php
Normal file
74
config/autoload/extension-wechat.global.php
Normal file
@ -0,0 +1,74 @@
|
||||
<?php
|
||||
|
||||
|
||||
return [
|
||||
//微信公众号
|
||||
'wechat' => [
|
||||
'app_id' => 'wx674823c8b5a3db64',
|
||||
'secret' => '213ebb7b47040fa962b6cd5e317b9170',
|
||||
// 用户扫码地址
|
||||
'forward_code_url' => 'http://esm.kingdone.com/forward?auk={auk}&state={state}',
|
||||
// callback 地址
|
||||
'forward_callback_url' => 'http://esm.kingdone.com/callback',
|
||||
// 转发获取微信公众号用户信息
|
||||
'forward_user_url' => 'http://esm.kingdone.com/wechatuser',
|
||||
'forward_auk' => 'lwl',
|
||||
'open_forward' => true, // 是否开启微信公众号授权转发地址
|
||||
// webH5代理
|
||||
'h5Proxy' => [
|
||||
'forward_auk' => '',
|
||||
'open_forward' => false, // 是否开启微信公众号授权转发地址
|
||||
// 静默授权地址
|
||||
'forward_code_url' => 'http://esm.kingdone.com/webH5Forward?auk={auk}',
|
||||
// callback 地址
|
||||
'forward_callback_url' => 'http://esm.kingdone.com/webH5Callback',
|
||||
]
|
||||
],
|
||||
//受试者H5公众号
|
||||
'patient_H5' => [
|
||||
'default' => [
|
||||
'name' => '开元科技Aigenius',
|
||||
'app_id' => 'wx6b3fdf24638e6885',
|
||||
'secret' => '24a6996d9539ac861d30f13ed35d5ac5',
|
||||
'client_id' => 'wx6b3fdf24638e6885',
|
||||
'client_secret' => '24a6996d9539ac861d30f13ed35d5ac5',
|
||||
'open_forward' => true, //是否使用微信公众号转发地址
|
||||
'forward_code_url' => 'https://www.e-yda.cn/application/wechatadv/forwardcode?auk={auk}', //code转发地址
|
||||
'forward_openid_url' => 'https://www.e-yda.cn/application/wechatadv/forwardopenid?code={code}', //获取openid,access_token信息转发地址
|
||||
'forward_userinfo_url' => 'https://www.e-yda.cn/application/wechatadv/forwarduserinfo?access_token={access_token}&openid={openid}', //获取用户基本信息转发地址
|
||||
'forward_auk' => '',
|
||||
],
|
||||
],
|
||||
//微信小程序
|
||||
'applets' => [
|
||||
'scitrials' => [
|
||||
'app_id' => 'wxf5c075c9ef6fe12a',
|
||||
'secret' => 'eee78a727275ce716bcb411b41d0cb9c'
|
||||
],
|
||||
'eyda' => [
|
||||
'app_id' => 'wxf5c075c9ef6fe12a',
|
||||
'secret' => 'eee78a727275ce716bcb411b41d0cb9c'
|
||||
],
|
||||
],
|
||||
// 企业微信
|
||||
'work' => [
|
||||
'app' => [
|
||||
'corp_id' => '',
|
||||
'secret' => '',
|
||||
'agent' => []
|
||||
],
|
||||
'departmentIdPrefix' => [
|
||||
'item' => 'sdm-item-',
|
||||
'itemsig' => 'sdm-itemsig-'
|
||||
],
|
||||
'userIdPrefix' => 'sdm-user-',
|
||||
'sigroleCode' => 'yjys',
|
||||
'defaultUser' => 'llbjj89',
|
||||
],
|
||||
//微信公众号授权转发地址
|
||||
'wechatRedirectUrlConfig' => [
|
||||
],
|
||||
//微信公众号H5授权转发地址
|
||||
'wechatH5RedirectUrlConfig' => [
|
||||
]
|
||||
];
|
18
config/autoload/global-development.php
Normal file
18
config/autoload/global-development.php
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
use Laminas\ApiTools\Admin\Model\ModulePathSpec;
|
||||
|
||||
return [
|
||||
'view_manager' => [
|
||||
'display_exceptions' => true,
|
||||
],
|
||||
'api-tools-admin' => [
|
||||
'path_spec' => ModulePathSpec::PSR_4,
|
||||
],
|
||||
'api-tools-configuration' => [
|
||||
'enable_short_array' => true,
|
||||
'class_name_scalars' => true,
|
||||
],
|
||||
];
|
70
config/autoload/global.php
Normal file
70
config/autoload/global.php
Normal file
@ -0,0 +1,70 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'api-tools-content-negotiation' => [
|
||||
'selectors' => [],
|
||||
],
|
||||
'db' => [
|
||||
'adapters' => [
|
||||
'dbAdapter' => [
|
||||
'driver' => 'Pdo',
|
||||
'username' => 'sdm_dev',
|
||||
'password' => 'OTY5OGE1ZmRhYzdlODEw',
|
||||
'dsn' => 'mysql:dbname=sdm_dev;host=rm-8vb4w1p44yiv44yl5.mysql.zhangbei.rds.aliyuncs.com;port=3306;charset=utf8mb4',
|
||||
],
|
||||
'shareDbAdapter' => [
|
||||
'driver' => 'Pdo',
|
||||
'username' => 'sdm_dev',
|
||||
'password' => 'OTY5OGE1ZmRhYzdlODEw',
|
||||
'dsn' => 'mysql:dbname=sdm_dev;host=rm-8vb4w1p44yiv44yl5.mysql.zhangbei.rds.aliyuncs.com;port=3306;charset=utf8mb4',
|
||||
],
|
||||
// 'dbAdapter' => [
|
||||
// 'driver' => 'Pdo',
|
||||
// 'username' => 'sdm',
|
||||
// 'password' => 'sdm_3306',
|
||||
// 'dsn' => 'mysql:dbname=sdm_scitrials;host=localhost;port=3306;charset=utf8mb4',
|
||||
//// 'dsn' => 'mysql:dbname=sdm_bjtt;host=localhost;port=3306;charset=utf8mb4',
|
||||
//// 'dsn' => 'mysql:dbname=sdm_mc5;host=localhost;port=3306;charset=utf8mb4',
|
||||
//// 'dsn' => 'mysql:dbname=sdm_pumch;host=localhost;port=3306;charset=utf8mb4',
|
||||
// ],
|
||||
// 'shareDbAdapter' => [
|
||||
// 'driver' => 'Pdo',
|
||||
// 'username' => 'sdm',
|
||||
// 'password' => 'sdm_3306',
|
||||
// 'dsn' => 'mysql:dbname=sdm_scitrials;host=localhost;port=3306;charset=utf8mb4',
|
||||
//// 'dsn' => 'mysql:dbname=sdm_bjtt;host=localhost;port=3306;charset=utf8mb4',
|
||||
//// 'dsn' => 'mysql:dbname=sdm_mc5;host=localhost;port=3306;charset=utf8mb4',
|
||||
//// 'dsn' => 'mysql:dbname=sdm_pumch;host=localhost;port=3306;charset=utf8mb4',
|
||||
// ],
|
||||
'edcDbAdapter' => [
|
||||
'driver' => 'Pdo',
|
||||
'username' => 'sdm',
|
||||
'password' => 'sdm_3306',
|
||||
'dsn' => 'mysql:dbname=edc_5mc;host=localhost;port=3306;charset=utf8mb4',
|
||||
],
|
||||
'queryDbAdapter' => [
|
||||
'driver' => 'Pdo',
|
||||
'username' => 'sdm',
|
||||
'password' => 'sdm_3306',
|
||||
'dsn' => 'mysql:dbname=query;host=localhost;port=3306;charset=utf8mb4',
|
||||
],
|
||||
'logDbAdapter' => []
|
||||
],
|
||||
],
|
||||
'caches' => [
|
||||
'Redis' => [
|
||||
'adapter' => [
|
||||
'name' => Redis::class,
|
||||
'options' => [
|
||||
'namespace' => 'Redis',
|
||||
'database' => 6,
|
||||
'password' => 'NmJhODdmN2RhYjliYzQ2',
|
||||
'server' => [
|
||||
'host' => '127.0.0.1',
|
||||
'port' => 6379
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
6
config/autoload/http-domain.global.php
Normal file
6
config/autoload/http-domain.global.php
Normal file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
|
||||
|
||||
return [
|
||||
'http_domain' => 'http://edc.kingdone.com'
|
||||
];
|
15
config/autoload/local.php.dist
Normal file
15
config/autoload/local.php.dist
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Local Configuration Override
|
||||
*
|
||||
* This configuration override file is for overriding environment-specific and
|
||||
* security-sensitive configuration information. Copy this file without the
|
||||
* .dist extension at the end and populate values as needed.
|
||||
*
|
||||
* @NOTE: This file is ignored from Git by default with the .gitignore included
|
||||
* in LaminasSkeletonApplication. This is a good practice, as it prevents sensitive
|
||||
* credentials from accidentally being committed into version control.
|
||||
*/
|
||||
|
||||
return [];
|
22
config/autoload/menu.global.php
Normal file
22
config/autoload/menu.global.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Global Configuration Override
|
||||
*
|
||||
* You can use this file for overriding configuration values from modules, etc.
|
||||
* You would place values in here that are agnostic to the environment and not
|
||||
* sensitive to security.
|
||||
*
|
||||
* @NOTE: In practice, this file will typically be INCLUDED in your source
|
||||
* control, so do not include passwords or other sensitive information in this
|
||||
* file.
|
||||
*/
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'blind_method_menu' => [
|
||||
'非盲信息' ,
|
||||
],
|
||||
|
||||
];
|
22
config/autoload/oa.global.php
Normal file
22
config/autoload/oa.global.php
Normal file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @author:llbjj
|
||||
* @DateTime:2024/7/9 13:43
|
||||
* @Description:
|
||||
*
|
||||
*/
|
||||
return [
|
||||
'defaultOpen' => [
|
||||
'is_open' => false, //是否开启oa授权
|
||||
],
|
||||
'oa' => [
|
||||
'domain' => 'hjh.kingdone.com',
|
||||
'isHttps' => false,
|
||||
'appId' => 'oa-sdm',
|
||||
'secretKey' => 'SDMOARELATION',
|
||||
'redisNamespace' => 'oaSys',
|
||||
'redisTtl' => 1400,
|
||||
'signName' => 'OA'
|
||||
]
|
||||
];
|
11
config/autoload/response.global.php
Normal file
11
config/autoload/response.global.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
return [
|
||||
'response' => [
|
||||
'header' => [
|
||||
'X-XSS-Protection' => '1; mode=block',
|
||||
'X-Content-Type-Options' => 'nosniff',
|
||||
'Content-Security-Policy' => "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' https://* data: blob:; font-src 'self' data:;",
|
||||
'Set-Cookie' => true,
|
||||
]
|
||||
]
|
||||
];
|
29
config/autoload/swoole.timer.global.php
Normal file
29
config/autoload/swoole.timer.global.php
Normal file
@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/*
|
||||
* @Author: 863465124 863465124@qq.com
|
||||
* @Date: 2022-07-11 13:48:20
|
||||
* @LastEditors: 863465124 863465124@qq.com
|
||||
* @LastEditTime: 2022-07-12 17:15:15
|
||||
* @FilePath: /RemoteWorking/config/autoload/swoole.timer.global.php
|
||||
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
|
||||
*/
|
||||
return [
|
||||
'swoole.timer' => [
|
||||
// 每天定时扫描所有未识别的化验单图片,进行自动识别
|
||||
'ocrImg' => [
|
||||
'msec' => '86400000', // 时间(毫秒),
|
||||
'startTime' => date('Y-m-d 01:30:00', strtotime(' +1 day')), // 任务开始时间,不设置代表服务启动后,立即执行
|
||||
'endTime' => '', // 任务结束时间,不设置则代表一直执行下去
|
||||
'serviceName' => 'Patientchecktime', // 服务名称
|
||||
'funName' => 'EditPatientChecktimeStatus' // 服务方法名称,暂时不知道传递参数
|
||||
],
|
||||
// 每天定时扫描所有正常受试者(非脱离/完成),更新受试者当前所处检查点
|
||||
'scanPatientChecktime' => [
|
||||
'msec' => '86400000', // 时间(毫秒),
|
||||
'startTime' => date('Y-m-d 00:30:00', strtotime(' +1 day')), // 任务开始时间,不设置代表服务启动后,立即执行
|
||||
'endTime' => '', // 任务结束时间,不设置则代表一直执行下去
|
||||
'serviceName' => 'Patientchecktime', // 服务名称
|
||||
'funName' => 'AllPatient' // 服务方法名称,暂时不知道传递参数
|
||||
]
|
||||
]
|
||||
];
|
19
config/autoload/toolSys.global.php
Normal file
19
config/autoload/toolSys.global.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
/**
|
||||
*
|
||||
* @author:llbjj
|
||||
* @DateTime:2024/3/20 11:56
|
||||
* @Description:
|
||||
*
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'toolSys' => [
|
||||
'domain' => '',
|
||||
'appId' => '',
|
||||
'secretKey' => '',
|
||||
'redisNamespace' => 'toolSys',
|
||||
'redisTtl' => 60 * 60 * 24 - 60 * 5,
|
||||
]
|
||||
];
|
33
config/autoload/user.global.php
Normal file
33
config/autoload/user.global.php
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Global Configuration Override
|
||||
*
|
||||
* You can use this file for overriding configuration values from modules, etc.
|
||||
* You would place values in here that are agnostic to the environment and not
|
||||
* sensitive to security.
|
||||
*
|
||||
* @NOTE: In practice, this file will typically be INCLUDED in your source
|
||||
* control, so do not include passwords or other sensitive information in this
|
||||
* file.
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return [
|
||||
'defaultToken' => [
|
||||
'is_open' => 1,
|
||||
'default_token' => 'OGRhMGVkZDk1M2QzNjQ5ZmQ5MDQ0N2M5'
|
||||
],
|
||||
'swAsyncTask' => [
|
||||
'log' => FALSE,
|
||||
'task' => FALSE,
|
||||
],
|
||||
'isOpenWechatWork' => false,
|
||||
'isShowItemType' => true,
|
||||
'logPath' => $_SERVER['DOCUMENT_ROOT'].'/../data/log/',
|
||||
'itemIdentificationResultPath' => $_SERVER['DOCUMENT_ROOT'].'/../data/itemIdentificationResult/',
|
||||
'formConfigPath' => $_SERVER['DOCUMENT_ROOT'].'/../formData/',
|
||||
'sendUrl' => 'https://esm.kingdone.com',
|
||||
'isSubmitItemForm' => [193],
|
||||
'sendMsgTmpId' => '', // 受试者消息提醒消息模板ID
|
||||
];
|
9
config/autoload/zend-baidu.global.php
Normal file
9
config/autoload/zend-baidu.global.php
Normal file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
return [
|
||||
'baidu' => [
|
||||
'app_id' => '20421543',
|
||||
'api_key' => 'PwQwdbRR8F9ygzw1lo1jy87T',
|
||||
'aecret_key' => 'RCuvuhhMKjAH3oSTsDfnQ8k78XZEW5Bu'
|
||||
]
|
||||
];
|
||||
?>
|
12
config/autoload/zend-itemrole.global.php
Normal file
12
config/autoload/zend-itemrole.global.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
return [
|
||||
//项目设置状态
|
||||
'ItemSet' => [
|
||||
'childSet' => [
|
||||
['id'=>0,'title'=>'在施'],
|
||||
['id'=>1,'title'=>'暂停'],
|
||||
['id'=>2,'title'=>'完成'],
|
||||
],
|
||||
],
|
||||
];
|
||||
?>
|
Reference in New Issue
Block a user