# urls.py 路由文件 from .apis.associationAnalysis import * from .apis.clinical_Api import * from .apis.complexNet import * from .apis.redisApi import * from .apis.cellApi import * from .apis.esPrescriptionApi import * from .apis.esRecordApi import * from .apis.similarityAnalysis import * from .exts import api from .apis_beta import * from .apis.userApi import * from .apis.recordApi import * from .apis.statisticAnalysis import * from .apis.recordDataBaseApi import * # 路由 api.add_resource(UserApi, '/user', endpoint='id') api.add_resource(HelloWorld,'/') #用户接口 api.add_resource(RegisterApi, '/register') api.add_resource(LoginApi, '/login') api.add_resource(ProtectedResource, '/protected') #医案接口 api.add_resource(AddRecordApi,'/addRecord') api.add_resource(AddMulRecordApi,'/addMulRecord') # 医案数据库接口 api.add_resource(RecordDataBaseApi, '/record_data_base', '/record_data_base/') api.add_resource(GetRecordDataBaseApi,'/get_record_data_base/') # 医案查询,更新,删除接口 api.add_resource(GetRecordApi, '/getRecord/') api.add_resource(UpdateRecordApi, '/updateRecord/') api.add_resource(MulDeleteRecordApi,'/mulDeleteRecord') #分析池接口 api.add_resource(CellApi, '/cell/') api.add_resource(GetCellApi, '/cell/') api.add_resource(MulAddCellApi, '/mulAddCell') api.add_resource(PerAddCellApi, '/perAddCell') api.add_resource(MulDeleteCellApi,'/mulDeleteCell') #es方剂接口 api.add_resource(PrescriptionApi, '/searchPrescription/') #es医案接口 api.add_resource(EsRecordApi, '/esRecord/') # api.add_resource(EsRecordApi, '/esRecord') 医生 #redis接口 api.add_resource(RedisHotWordApi, '/hotWord') api.add_resource(Clinical_Api, '/clinical') #主页 临床症状接口 #数据分析接口 api.add_resource(BetaApi,'/beta/') #统计分析接口 api.add_resource(GetAB, '/getAB') #关联分析 获得前后项接口 api.add_resource(GetSimilarity,'/getSimilarity') #中药组成相似分析接口 api.add_resource(GetNetAB,'/getNetAB') #复杂网络分析