mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
完成系统管理web端功能,实现系统管理服务端接口,实现登录功能
This commit is contained in:
15
src/app/errcode.h
Normal file
15
src/app/errcode.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
enum class Errcode
|
||||
{
|
||||
OK = 0,
|
||||
|
||||
ERR = 100,
|
||||
|
||||
ERR_DB_CONN = 101, // 数据库连接错误
|
||||
ERR_DB_SQL = 102, // 数据库查询SQL错误
|
||||
|
||||
ERR_LOGIN_USER_NOTEXIST = 103, // 登入错误,用户不存在
|
||||
ERR_LOGIN_PASSWD = 104, // 登入错误,密码不正确
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user