1
0
Fork 0
master
panliang 2023-10-12 11:03:28 +08:00
parent 6e4cfeac72
commit 414a2b92df
8 changed files with 12 additions and 7 deletions

View File

@ -63,4 +63,9 @@ class KeywordFilter extends ModelFilter
{
$this->where('level', $key);
}
public function value($key)
{
$this->where('value', $key);
}
}

View File

@ -31,9 +31,9 @@ class KeywordSeeder extends Seeder
]],
]],
['key' => 'illness_type', 'name' => '病种', 'children' => [
['name' => '糖尿病'],
['name' => '高血压'],
['name' => '腰间盘突出'],
['name' => '糖尿病', 'value' => 'treat_head'],
['name' => '高血压', 'value' => 'treat_normal'],
['name' => '腰间盘突出', 'value' => 'treat_normal'],
]]
];
$this->createByTree($list);

View File

@ -1,2 +1,2 @@
<!doctype html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><title>宝芝堂</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/h5/static/index.5841170f.css"/><script defer="defer" src="/h5/static/js/chunk-vendors.7eabb1da.js"></script><script defer="defer" src="/h5/static/js/index.3fd03f34.js"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div></body></html>
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/h5/static/index.5841170f.css"/><script defer="defer" src="/h5/static/js/chunk-vendors.7eabb1da.js"></script><script defer="defer" src="/h5/static/js/index.d604805b.js"></script></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long