xiaoyang0346 1 week ago
parent
commit
cc66ee7329

+ 3 - 3
s_to_proto/shared/player/PtlLogin.ts

@@ -14,9 +14,9 @@ export interface ReqLogin extends BaseRequest {
 // 定义返回字段
 // 定义返回字段
 export interface ResLogin extends BaseResponse {
 export interface ResLogin extends BaseResponse {
 	uid: string; //uid
 	uid: string; //uid
-    sid: string; //最后一次登陆区服
-    list: { [sid: string]: ResLoginList}; //每个区最多一个角色
-    token: string; //账号登陆验证码
+	sid: string; //最后一次登陆区服
+	list: { [sid: string]: ResLoginList}; //每个区最多一个角色
+	token: string; //账号登陆验证码
 	//区服列表
 	//区服列表
 	qufuList:{
 	qufuList:{
 		[sid:string]:qufuInfo
 		[sid:string]:qufuInfo

+ 8 - 1
s_to_proto/shared/serviceProto.ts

@@ -44,7 +44,7 @@ export interface ServiceType {
 }
 }
 
 
 export const serviceProto: ServiceProto<ServiceType> = {
 export const serviceProto: ServiceProto<ServiceType> = {
-    "version": 8,
+    "version": 9,
     "services": [
     "services": [
         {
         {
             "id": 5,
             "id": 5,
@@ -542,6 +542,13 @@ export const serviceProto: ServiceProto<ServiceType> = {
             "type": "Interface",
             "type": "Interface",
             "properties": [
             "properties": [
                 {
                 {
+                    "id": 13,
+                    "name": "uuid",
+                    "type": {
+                        "type": "String"
+                    }
+                },
+                {
                     "id": 0,
                     "id": 0,
                     "name": "sid",
                     "name": "sid",
                     "type": {
                     "type": {

+ 1 - 0
s_to_proto/shared/user/PtlLogin.ts

@@ -9,6 +9,7 @@ export interface ReqLogin {
 
 
 // 角色信息返回
 // 角色信息返回
 export interface ResLogin {
 export interface ResLogin {
+    uuid:string; //角色ID
     sid: string; //所属分区
     sid: string; //所属分区
     name: string; //名字
     name: string; //名字
     head: string; //头像
     head: string; //头像