协议调试
This commit is contained in:
@@ -12790,7 +12790,7 @@ $root.cs = (function() {
|
||||
* @property {string|null} [token] CSLoginRes token
|
||||
* @property {string|null} [refreshToken] CSLoginRes refreshToken
|
||||
* @property {number|Long|null} [expire] CSLoginRes expire
|
||||
* @property {number|Long|null} [accId] CSLoginRes accId
|
||||
* @property {string|null} [accId] CSLoginRes accId
|
||||
* @property {string|null} [cdn] CSLoginRes cdn
|
||||
*/
|
||||
|
||||
@@ -12843,11 +12843,11 @@ $root.cs = (function() {
|
||||
|
||||
/**
|
||||
* CSLoginRes accId.
|
||||
* @member {number|Long} accId
|
||||
* @member {string} accId
|
||||
* @memberof cs.CSLoginRes
|
||||
* @instance
|
||||
*/
|
||||
CSLoginRes.prototype.accId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
||||
CSLoginRes.prototype.accId = "";
|
||||
|
||||
/**
|
||||
* CSLoginRes cdn.
|
||||
@@ -12890,7 +12890,7 @@ $root.cs = (function() {
|
||||
if (message.expire != null && Object.hasOwnProperty.call(message, "expire"))
|
||||
writer.uint32(/* id 4, wireType 0 =*/32).int64(message.expire);
|
||||
if (message.accId != null && Object.hasOwnProperty.call(message, "accId"))
|
||||
writer.uint32(/* id 5, wireType 0 =*/40).int64(message.accId);
|
||||
writer.uint32(/* id 5, wireType 2 =*/42).string(message.accId);
|
||||
if (message.cdn != null && Object.hasOwnProperty.call(message, "cdn"))
|
||||
writer.uint32(/* id 6, wireType 2 =*/50).string(message.cdn);
|
||||
return writer;
|
||||
@@ -12946,7 +12946,7 @@ $root.cs = (function() {
|
||||
break;
|
||||
}
|
||||
case 5: {
|
||||
message.accId = reader.int64();
|
||||
message.accId = reader.string();
|
||||
break;
|
||||
}
|
||||
case 6: {
|
||||
@@ -13001,8 +13001,8 @@ $root.cs = (function() {
|
||||
if (!$util.isInteger(message.expire) && !(message.expire && $util.isInteger(message.expire.low) && $util.isInteger(message.expire.high)))
|
||||
return "expire: integer|Long expected";
|
||||
if (message.accId != null && message.hasOwnProperty("accId"))
|
||||
if (!$util.isInteger(message.accId) && !(message.accId && $util.isInteger(message.accId.low) && $util.isInteger(message.accId.high)))
|
||||
return "accId: integer|Long expected";
|
||||
if (!$util.isString(message.accId))
|
||||
return "accId: string expected";
|
||||
if (message.cdn != null && message.hasOwnProperty("cdn"))
|
||||
if (!$util.isString(message.cdn))
|
||||
return "cdn: string expected";
|
||||
@@ -13037,14 +13037,7 @@ $root.cs = (function() {
|
||||
else if (typeof object.expire === "object")
|
||||
message.expire = new $util.LongBits(object.expire.low >>> 0, object.expire.high >>> 0).toNumber();
|
||||
if (object.accId != null)
|
||||
if ($util.Long)
|
||||
(message.accId = $util.Long.fromValue(object.accId)).unsigned = false;
|
||||
else if (typeof object.accId === "string")
|
||||
message.accId = parseInt(object.accId, 10);
|
||||
else if (typeof object.accId === "number")
|
||||
message.accId = object.accId;
|
||||
else if (typeof object.accId === "object")
|
||||
message.accId = new $util.LongBits(object.accId.low >>> 0, object.accId.high >>> 0).toNumber();
|
||||
message.accId = String(object.accId);
|
||||
if (object.cdn != null)
|
||||
message.cdn = String(object.cdn);
|
||||
return message;
|
||||
@@ -13072,11 +13065,7 @@ $root.cs = (function() {
|
||||
object.expire = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
||||
} else
|
||||
object.expire = options.longs === String ? "0" : 0;
|
||||
if ($util.Long) {
|
||||
var long = new $util.Long(0, 0, false);
|
||||
object.accId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
||||
} else
|
||||
object.accId = options.longs === String ? "0" : 0;
|
||||
object.accId = "";
|
||||
object.cdn = "";
|
||||
}
|
||||
if (message.name != null && message.hasOwnProperty("name"))
|
||||
@@ -13091,10 +13080,7 @@ $root.cs = (function() {
|
||||
else
|
||||
object.expire = options.longs === String ? $util.Long.prototype.toString.call(message.expire) : options.longs === Number ? new $util.LongBits(message.expire.low >>> 0, message.expire.high >>> 0).toNumber() : message.expire;
|
||||
if (message.accId != null && message.hasOwnProperty("accId"))
|
||||
if (typeof message.accId === "number")
|
||||
object.accId = options.longs === String ? String(message.accId) : message.accId;
|
||||
else
|
||||
object.accId = options.longs === String ? $util.Long.prototype.toString.call(message.accId) : options.longs === Number ? new $util.LongBits(message.accId.low >>> 0, message.accId.high >>> 0).toNumber() : message.accId;
|
||||
object.accId = message.accId;
|
||||
if (message.cdn != null && message.hasOwnProperty("cdn"))
|
||||
object.cdn = message.cdn;
|
||||
return object;
|
||||
|
||||
Reference in New Issue
Block a user