Files
ystp/src/api/response.rs

7 lines
142 B
Rust

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