diff --git a/app/Admin/Controllers/KeywordsController.php b/app/Admin/Controllers/KeywordsController.php index b5013e2..5a75cc3 100644 --- a/app/Admin/Controllers/KeywordsController.php +++ b/app/Admin/Controllers/KeywordsController.php @@ -10,12 +10,13 @@ use Slowlyo\OwlAdmin\Controllers\AdminController; use Slowlyo\OwlAdmin\Renderers\Form; use Slowlyo\OwlAdmin\Renderers\Page; +/** + * 字典管理 + */ class KeywordsController extends AdminController { protected string $serviceName = KeywordService::class; - protected string $pageTitle = '字典管理'; - public function list(): Page { $crud = $this->baseCRUD() diff --git a/app/Admin/routes.php b/app/Admin/routes.php index 184b481..f411575 100644 --- a/app/Admin/routes.php +++ b/app/Admin/routes.php @@ -12,7 +12,7 @@ Route::group([ $router->get('menus', [\App\Admin\Controllers\HomeController::class, 'menus']); $router->get('current-user', [\App\Admin\Controllers\AuthController::class, 'currentUser']); $router->post('login', [\App\Admin\Controllers\AuthController::class, 'login']); - + $router->get('login', [App\Admin\Controllers\AuthController::class, 'loginPage']); $router->any('upload_file', [\App\Admin\Controllers\HomeController::class, 'uploadFile']); diff --git a/app/Console/Commands/PatientRecordNotify.php b/app/Console/Commands/PatientRecordNotify.php index c05a418..10e6051 100644 --- a/app/Console/Commands/PatientRecordNotify.php +++ b/app/Console/Commands/PatientRecordNotify.php @@ -52,15 +52,18 @@ class PatientRecordNotify extends Command if ($user) { $response = $api->postJson('/cgi-bin/message/template/send', [ 'touser' => $user->openid, - 'template_id' => 'zdkOoIk7bfyzpW9Tuu-pxmrVkSviFvpp1yjXBUT8nEY', + 'template_id' => 'zdkOoIk7bfyzpW9Tuu-pxqh2no-93FCcqstFKLOTfu0', 'url' => url('/h5/pages/record/detail?id=' . $item->id), 'data' => [ 'thing1' => [ - 'value' => data_get($item->patient, 'name') .'-'. data_get($item->patient, 'phone') + 'value' => data_get($item->patient, 'name') ], 'time3' => [ 'value' => $item->next_treat_at->format('Y年m月d日 H:i:s') ], + 'phone_number6' => [ + 'value' => data_get($item->patient, 'phone') + ] ] ]); if ($response->isFailed()) { diff --git a/public/images/treat_head.png b/public/images/treat_head.png deleted file mode 100644 index 57ea27d..0000000 Binary files a/public/images/treat_head.png and /dev/null differ diff --git a/public/images/treat_normal.png b/public/images/treat_normal.png deleted file mode 100644 index 15e8997..0000000 Binary files a/public/images/treat_normal.png and /dev/null differ