@@ -53,6 +53,7 @@ message SmtpConf {
string username = 3;
string password = 4;
string crypto = 5;
+ int32 enabled = 6;
}
message SmsTemplate {
@@ -66,4 +67,5 @@ message SmsConf {
string region = 3; // needed sometimes
string access_key = 4;
string secret_key = 5;
@@ -14,10 +14,11 @@ enum Ec {
TARGET_HAS_EXIST = 31;
DISCONNECTED = 50;
AUTH_FAILED = 60;
+ CONFIG_ERR = 80;
enum NetClosedReason {
- ERR_UNKNOWN = 0;
+ ERR_UNKNOWN = 0;
ERR_NETWORK = 1;
ILLEGAL_DATA = 2;
SERVER_KICK = 3;