123456789101112131415161718192021 |
- <?php
- namespace app\model;
- use think\Model;
- use app\controller\CommonTwoController;
- class Neo4jApi extends Model
- {
- public static $chMedicine = ['SickNess' , 'CnPatentMedicine' , 'CnMedicinalCrop' , 'TonicDiet' , 'Prescription' , 'ChannelCollateral' , 'Constitution'];
- public $westernMedicine = ['SickNess' , 'Disease' , 'MedicineProduction' , 'Inspection' , 'Symptom' , 'Identity'];
- const XYZSK = '西医知识库';
- const ZYZSK = '中医知识库';
- const DOCGUIDE = '文献和指南';
- public static function checkLabelBelong($label)
- {
- return in_array($label, self::$chMedicine) ?? '';
- }
- }
|