From bf7717d3d358082c4ec3043b59876940b5addabc Mon Sep 17 00:00:00 2001 From: Sun Date: Thu, 30 Sep 2021 17:31:41 +0800 Subject: [PATCH] domain: add handle search none --- src/apps/domain/layer.rs | 3 ++- src/apps/domain/models.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/apps/domain/layer.rs b/src/apps/domain/layer.rs index bee55ec..a254b71 100644 --- a/src/apps/domain/layer.rs +++ b/src/apps/domain/layer.rs @@ -41,7 +41,8 @@ pub(crate) async fn handle( println!("------ DEBUG DOMAIN SERVICE IS OK"); } ServerEvent::Result(_name, _is_ok) => {} - ServerEvent::Info(_ugid, _uaddr, _uname, _ubio, _uavatar) => {} + ServerEvent::Info(_uname, _ugid, _uaddr, _ubio, _uavatar) => {} + ServerEvent::None(_name) => {} ServerEvent::Response(_ugid, _uname, _is_ok) => {} } } diff --git a/src/apps/domain/models.rs b/src/apps/domain/models.rs index c0e7441..8eaf9ff 100644 --- a/src/apps/domain/models.rs +++ b/src/apps/domain/models.rs @@ -121,7 +121,7 @@ impl Provider { } } -/// Provider Model. +/// Name Model. pub(crate) struct Name { /// db auto-increment id. id: i64,