use crate::error::{AppError, ErrorCode}; pub async fn not_found() -> AppError { AppError::new(ErrorCode::NotFound, "接口不存在") }