实验管理服务配置说明

更新记录

版本 日期 修改人 修改内容
1.0.0 2020/04/14 刘剑(281001 新建文档
1.0.1 2020年8月12日 蔺浪(510525) 标注文档作者以及修改信息
1.0.2 2020年9月9日 蔺浪(510525) 化学配置API升级,实验资源新增API,新增适用平台参数

实验管理服务配置说明

实验管理平台服务接口配置文件,方便接入应用进行定制和状态设置。
配置文件路径: StreamingAssets/Config/ModuleServices.json
配置项说明:

{
    "originalCsHost" : "//cs.101.com",
    "substituteCsHost" : "//gcdncs.101.com",
    "newServiceStatus" : "ONLINE", //版本的状态,可设置多个,用半角逗号隔开,值有:DRAFT,DEVELOPING,TESTING,WAITPUBLISH,PUBLISHED,ONLINE
    "newServiceHost" : "http://vlab-service.sdp.101.com/", //管理平台服务地址
    "newLanguage" : "zh_CN",//语言码,设置单个值,值有:pt_PT,tr_TR,ja_JP,zh_HK,en_US,bo_CN,th_TH,ms_MY,zh_CN,ar_SA,de_DE,es_EC,fr_FR
    "platformsType":"THREEDIMENSIONAL",//适用平台标识,可设置多个,用半角逗号隔开,值有:THREEDIMENSIONAL,VR,PAD
    "newServiceEntries" :
    [
        //实验器材API
        {
            "serviceName" : "NewModuleEquipmentRequest", //获取所有器材请求
            "serviceAPI" : "v0.1/equipments/latestVersion"
        },
        {
            "serviceName" : "NewModuleEquipmentPageRequest", //按页获取所有器材请求
            "serviceAPI" : "v0.1/equipments/pageableLatestVersion"
        },
        {
            "serviceName" : "NewModuleEquipmentCodeRequest", //获取单Code器材请求
            "serviceAPI" : "v0.1/equipments/latestVersion"
        },
        {
            "serviceName" : "NewModuleEquipmentCodesRequest", //获取多Code器材请求
            "serviceAPI" : "v0.1/equipments/latestVersion"
        },
        //实验资源API
        {
            "serviceName" : "NewModuleResourcesRequest", //获取所有资源请求
            "serviceAPI" : "v0.1/resources/latestVersion"
        },
        {
            "serviceName" : "NewModuleResourcesByPageRequest", //按页获取所有资源请求
            "serviceAPI" : "v0.1/resources/pageableLatestVersion"
        },
        {
            "serviceName" : "NewModuleResourceCodeRequest", //获取单Code资源请求
            "serviceAPI" : "v0.1/resources/latestVersion"
        },
        {
            "serviceName" : "NewModuleResourceCodesRequest", //获取多Code资源请求
            "serviceAPI" : "v0.1/resources/latestVersion"
        },
        {
            "serviceName" : "NewModuleResourceCodeVersionRequest", //获取单Code指定版本资源请求
            "serviceAPI" : "v0.1/resources"
        },
        {
            "serviceName" : "NewModuleResourceCodesVersionRequest", //获取多Code指定版本资源请求
            "serviceAPI" : "v0.1/resources/code/batchSearch"
        },
        //公共组件API
        {
            "serviceName" : "NewModuleComponentRequest", //获取所有组件请求
            "serviceAPI" : "v0.1/components/latestVersion"
        },
        {
            "serviceName" : "NewModuleComponentPageRequest", //按页获取所有组件请求
            "serviceAPI" : "v0.1/components/pageableLatestVersion"
        },
        {
            "serviceName" : "NewModuleComponentCodeRequest", //获取单Code组件请求
            "serviceAPI" : "v0.1/components/latestVersion"
        },
        {
            "serviceName" : "NewModuleComponentCodesRequest", //获取多Code组件请求
            "serviceAPI" : "v0.1/components/latestVersion"
        },
        //实验装置API
        {
            "serviceName" : "NewModuleInstallationRequest", //获取所有装置请求
            "serviceAPI" : "v0.1/installations/latestVersion"
        },
        {
            "serviceName" : "NewModuleInstallationPageRequest", //按页获取所有装置请求
            "serviceAPI" : "v0.1/installations/pageableLatestVersion"
        },
        {
            "serviceName" : "NewModuleInstallationCodeRequest", //获取单Code装置请求
            "serviceAPI" : "v0.1/installations/latestVersion"
        },
        {
            "serviceName" : "NewModuleInstallationCodesRequest", //获取多Code装置请求
            "serviceAPI" : "v0.1/installations/latestVersion"
        },
        //实验药品API
        {
            "serviceName" : "NewModuleDrugRequest", //获取所有药品请求
            "serviceAPI" : "v0.1/drugs/latestVersion"
        },
        {
            "serviceName" : "NewModuleDrugPageRequest", //按页获取所有药品请求
            "serviceAPI" : "v0.1/drugs/pageableLatestVersion"
        },
        {
            "serviceName" : "NewModuleDrugCodeRequest", //获取单Code药品请求
            "serviceAPI" : "v0.1/drugs/latestVersion"
        },
        {
            "serviceName" : "NewModuleDrugCodesRequest", //获取多Code药品请求
            "serviceAPI" : "v0.1/drugs/latestVersion"
        },
        //化学配置API
        {
            "serviceName" : "NewModuleConfigRequest", //获取所有化学配置请求
            "serviceAPI" : "v0.2/configs/latestVersion"
        },
        {
            "serviceName" : "NewModuleConfigPageRequest", //按页获取所有化学配置请求
            "serviceAPI" : "v0.2/configs/pageableLatestVersion"
        },
        {
            "serviceName" : "NewModuleConfigCodeRequest", //获取单Code化学配置请求
            "serviceAPI" : "v0.2/configs/latestVersion"
        },
        {
            "serviceName" : "NewModuleConfigCodesRequest", //获取多Code化学配置请求
            "serviceAPI" : "v0.2/configs/latestVersion"
        },
        //语言资源API
        {
            "serviceName" : "NMLanguagePkgRequest", //获取单Code语言资源请求
            "serviceAPI" : "v0.1/languageResources"
        },
        {
            "serviceName" : "NMLanguagePkgListRequest", //获取多Code语言资源请求
            "serviceAPI" : "v0.1/languageResources"
        }
    ],
}

服务端接口