yokyo 5 years ago
parent
commit
55dbe3b7a0
2 changed files with 33 additions and 0 deletions
  1. 7 0
      enums.proto
  2. 26 0
      redis.proto

+ 7 - 0
enums.proto

@@ -63,3 +63,10 @@ enum ActionProgress {
     FAILED              = 2;
     CANCELLED           = 3;
 }
+
+enum Language {
+    CN          = 0;
+    TW          = 1;
+    EN          = 3;
+    FR          = 10;
+}

+ 26 - 0
redis.proto

@@ -0,0 +1,26 @@
+syntax="proto3";
+package protos;
+
+
+message User {
+    uint64 guid         = 1;
+    string email        = 2;
+    string nickname     = 3;
+    int32 headerIcon    = 4;
+    string password     = 8;
+    string token        = 10;
+    int64  birthday     = 12;
+    uint64 score        = 13;
+    string eosWallet    = 20;
+    string ethWallet    = 21;
+    string usdtWallet   = 22;
+    int64  eosBalance   = 23;
+    int64  ethBalance   = 24;
+    int64  usdtBalance  = 25;
+    int32 lang          = 30;
+    int32 volBg         = 31;
+    int32 volFg         = 32;
+    int64 lastAccess    = 48;
+    int64 createAt      = 49;
+    int32 status        = 50;
+}