This commit is contained in:
yanweidong 2025-10-09 10:44:41 +08:00
parent 054d380ebc
commit 2b39ca24ac
54 changed files with 689 additions and 566 deletions

View File

@ -543,11 +543,15 @@ class CloudBase extends $pb.GeneratedMessage {
///
class StatusReply extends $pb.GeneratedMessage {
factory StatusReply({
$core.String? data,
$core.int? code,
$core.String? message,
$core.String? details,
$fixnum.Int64? timeseq,
}) {
final result = create();
if (data != null) result.data = data;
if (code != null) result.code = code;
if (message != null) result.message = message;
if (details != null) result.details = details;
if (timeseq != null) result.timeseq = timeseq;
return result;
}
@ -565,8 +569,10 @@ class StatusReply extends $pb.GeneratedMessage {
_omitMessageNames ? '' : 'StatusReply',
package: const $pb.PackageName(_omitMessageNames ? '' : 'cloud'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'data')
..aInt64(2, _omitFieldNames ? '' : 'timeseq')
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..aInt64(4, _omitFieldNames ? '' : 'timeseq')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -590,22 +596,40 @@ class StatusReply extends $pb.GeneratedMessage {
static StatusReply? _defaultInstance;
@$pb.TagNumber(1)
$core.String get data => $_getSZ(0);
$core.int get code => $_getIZ(0);
@$pb.TagNumber(1)
set data($core.String value) => $_setString(0, value);
set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1)
$core.bool hasData() => $_has(0);
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearData() => $_clearField(1);
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$fixnum.Int64 get timeseq => $_getI64(1);
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set timeseq($fixnum.Int64 value) => $_setInt64(1, value);
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasTimeseq() => $_has(1);
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearTimeseq() => $_clearField(2);
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearDetails() => $_clearField(3);
@$pb.TagNumber(4)
$fixnum.Int64 get timeseq => $_getI64(3);
@$pb.TagNumber(4)
set timeseq($fixnum.Int64 value) => $_setInt64(3, value);
@$pb.TagNumber(4)
$core.bool hasTimeseq() => $_has(3);
@$pb.TagNumber(4)
void clearTimeseq() => $_clearField(4);
}
const $core.bool _omitFieldNames =

View File

@ -151,12 +151,14 @@ final $typed_data.Uint8List cloudBaseDescriptor = $convert.base64Decode(
const StatusReply$json = {
'1': 'StatusReply',
'2': [
{'1': 'data', '3': 1, '4': 1, '5': 9, '10': 'data'},
{'1': 'timeseq', '3': 2, '4': 1, '5': 3, '10': 'timeseq'},
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
{'1': 'timeseq', '3': 4, '4': 1, '5': 3, '10': 'timeseq'},
],
};
/// Descriptor for `StatusReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusReplyDescriptor = $convert.base64Decode(
'CgtTdGF0dXNSZXBseRISCgRkYXRhGAEgASgJUgRkYXRhEhgKB3RpbWVzZXEYAiABKANSB3RpbW'
'VzZXE=');
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3'
'NhZ2USGAoHZGV0YWlscxgDIAEoCVIHZGV0YWlscxIYCgd0aW1lc2VxGAQgASgDUgd0aW1lc2Vx');

View File

@ -303,21 +303,18 @@ class SearchRequest extends $pb.GeneratedMessage {
void clearPageSize() => $_clearField(3);
}
///
class StatusReply extends $pb.GeneratedMessage {
factory StatusReply({
$core.int? code,
$core.String? identity,
$core.String? message,
$core.String? details,
$fixnum.Int64? timeseq,
$fixnum.Int64? count,
}) {
final result = create();
if (code != null) result.code = code;
if (identity != null) result.identity = identity;
if (message != null) result.message = message;
if (details != null) result.details = details;
if (timeseq != null) result.timeseq = timeseq;
if (count != null) result.count = count;
return result;
}
@ -335,10 +332,9 @@ class StatusReply extends $pb.GeneratedMessage {
package: const $pb.PackageName(_omitMessageNames ? '' : 'cms'),
createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'identity')
..aOS(3, _omitFieldNames ? '' : 'message')
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..aInt64(4, _omitFieldNames ? '' : 'timeseq')
..aInt64(5, _omitFieldNames ? '' : 'count')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -371,22 +367,22 @@ class StatusReply extends $pb.GeneratedMessage {
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get identity => $_getSZ(1);
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set identity($core.String value) => $_setString(1, value);
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasIdentity() => $_has(1);
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearIdentity() => $_clearField(2);
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get message => $_getSZ(2);
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set message($core.String value) => $_setString(2, value);
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasMessage() => $_has(2);
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearMessage() => $_clearField(3);
void clearDetails() => $_clearField(3);
@$pb.TagNumber(4)
$fixnum.Int64 get timeseq => $_getI64(3);
@ -396,15 +392,6 @@ class StatusReply extends $pb.GeneratedMessage {
$core.bool hasTimeseq() => $_has(3);
@$pb.TagNumber(4)
void clearTimeseq() => $_clearField(4);
@$pb.TagNumber(5)
$fixnum.Int64 get count => $_getI64(4);
@$pb.TagNumber(5)
set count($fixnum.Int64 value) => $_setInt64(4, value);
@$pb.TagNumber(5)
$core.bool hasCount() => $_has(4);
@$pb.TagNumber(5)
void clearCount() => $_clearField(5);
}
///

View File

@ -95,18 +95,16 @@ const StatusReply$json = {
'1': 'StatusReply',
'2': [
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'identity', '3': 2, '4': 1, '5': 9, '10': 'identity'},
{'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
{'1': 'timeseq', '3': 4, '4': 1, '5': 3, '10': 'timeseq'},
{'1': 'count', '3': 5, '4': 1, '5': 3, '10': 'count'},
],
};
/// Descriptor for `StatusReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusReplyDescriptor = $convert.base64Decode(
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhoKCGlkZW50aXR5GAIgASgJUghpZG'
'VudGl0eRIYCgdtZXNzYWdlGAMgASgJUgdtZXNzYWdlEhgKB3RpbWVzZXEYBCABKANSB3RpbWVz'
'ZXESFAoFY291bnQYBSABKANSBWNvdW50');
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3'
'NhZ2USGAoHZGV0YWlscxgDIAEoCVIHZGV0YWlscxIYCgd0aW1lc2VxGAQgASgDUgd0aW1lc2Vx');
@$core.Deprecated('Use emptyDescriptor instead')
const Empty$json = {

View File

@ -1391,11 +1391,15 @@ class IdentRequest extends $pb.GeneratedMessage {
class StatusReply extends $pb.GeneratedMessage {
factory StatusReply({
$core.String? data,
$core.int? code,
$core.String? message,
$core.String? details,
$fixnum.Int64? timeseq,
}) {
final result = create();
if (data != null) result.data = data;
if (code != null) result.code = code;
if (message != null) result.message = message;
if (details != null) result.details = details;
if (timeseq != null) result.timeseq = timeseq;
return result;
}
@ -1413,8 +1417,10 @@ class StatusReply extends $pb.GeneratedMessage {
_omitMessageNames ? '' : 'StatusReply',
package: const $pb.PackageName(_omitMessageNames ? '' : 'feedback'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'data')
..aInt64(2, _omitFieldNames ? '' : 'timeseq')
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..aInt64(4, _omitFieldNames ? '' : 'timeseq')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -1438,22 +1444,40 @@ class StatusReply extends $pb.GeneratedMessage {
static StatusReply? _defaultInstance;
@$pb.TagNumber(1)
$core.String get data => $_getSZ(0);
$core.int get code => $_getIZ(0);
@$pb.TagNumber(1)
set data($core.String value) => $_setString(0, value);
set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1)
$core.bool hasData() => $_has(0);
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearData() => $_clearField(1);
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$fixnum.Int64 get timeseq => $_getI64(1);
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set timeseq($fixnum.Int64 value) => $_setInt64(1, value);
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasTimeseq() => $_has(1);
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearTimeseq() => $_clearField(2);
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearDetails() => $_clearField(3);
@$pb.TagNumber(4)
$fixnum.Int64 get timeseq => $_getI64(3);
@$pb.TagNumber(4)
set timeseq($fixnum.Int64 value) => $_setInt64(3, value);
@$pb.TagNumber(4)
$core.bool hasTimeseq() => $_has(3);
@$pb.TagNumber(4)
void clearTimeseq() => $_clearField(4);
}
const $core.bool _omitFieldNames =

View File

@ -322,12 +322,14 @@ final $typed_data.Uint8List identRequestDescriptor = $convert.base64Decode(
const StatusReply$json = {
'1': 'StatusReply',
'2': [
{'1': 'data', '3': 1, '4': 1, '5': 9, '10': 'data'},
{'1': 'timeseq', '3': 2, '4': 1, '5': 3, '10': 'timeseq'},
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
{'1': 'timeseq', '3': 4, '4': 1, '5': 3, '10': 'timeseq'},
],
};
/// Descriptor for `StatusReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusReplyDescriptor = $convert.base64Decode(
'CgtTdGF0dXNSZXBseRISCgRkYXRhGAEgASgJUgRkYXRhEhgKB3RpbWVzZXEYAiABKANSB3RpbW'
'VzZXE=');
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3'
'NhZ2USGAoHZGV0YWlscxgDIAEoCVIHZGV0YWlscxIYCgd0aW1lc2VxGAQgASgDUgd0aW1lc2Vx');

View File

@ -73,15 +73,15 @@ class Crc extends $pb.GeneratedMessage {
class StatusReply extends $pb.GeneratedMessage {
factory StatusReply({
$fixnum.Int64? status,
$core.String? identity,
$core.int? code,
$core.String? message,
$core.String? details,
$fixnum.Int64? timeseq,
}) {
final result = create();
if (status != null) result.status = status;
if (identity != null) result.identity = identity;
if (code != null) result.code = code;
if (message != null) result.message = message;
if (details != null) result.details = details;
if (timeseq != null) result.timeseq = timeseq;
return result;
}
@ -99,9 +99,9 @@ class StatusReply extends $pb.GeneratedMessage {
_omitMessageNames ? '' : 'StatusReply',
package: const $pb.PackageName(_omitMessageNames ? '' : 'initial'),
createEmptyInstance: create)
..aInt64(1, _omitFieldNames ? '' : 'status')
..aOS(2, _omitFieldNames ? '' : 'identity')
..aOS(3, _omitFieldNames ? '' : 'message')
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..aInt64(4, _omitFieldNames ? '' : 'timeseq')
..hasRequiredFields = false;
@ -126,31 +126,31 @@ class StatusReply extends $pb.GeneratedMessage {
static StatusReply? _defaultInstance;
@$pb.TagNumber(1)
$fixnum.Int64 get status => $_getI64(0);
$core.int get code => $_getIZ(0);
@$pb.TagNumber(1)
set status($fixnum.Int64 value) => $_setInt64(0, value);
set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1)
$core.bool hasStatus() => $_has(0);
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearStatus() => $_clearField(1);
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$core.String get identity => $_getSZ(1);
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set identity($core.String value) => $_setString(1, value);
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasIdentity() => $_has(1);
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearIdentity() => $_clearField(2);
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get message => $_getSZ(2);
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set message($core.String value) => $_setString(2, value);
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasMessage() => $_has(2);
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearMessage() => $_clearField(3);
void clearDetails() => $_clearField(3);
@$pb.TagNumber(4)
$fixnum.Int64 get timeseq => $_getI64(3);

View File

@ -30,18 +30,17 @@ final $typed_data.Uint8List crcDescriptor =
const StatusReply$json = {
'1': 'StatusReply',
'2': [
{'1': 'status', '3': 1, '4': 1, '5': 3, '10': 'status'},
{'1': 'identity', '3': 2, '4': 1, '5': 9, '10': 'identity'},
{'1': 'message', '3': 3, '4': 1, '5': 9, '10': 'message'},
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
{'1': 'timeseq', '3': 4, '4': 1, '5': 3, '10': 'timeseq'},
],
};
/// Descriptor for `StatusReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusReplyDescriptor = $convert.base64Decode(
'CgtTdGF0dXNSZXBseRIWCgZzdGF0dXMYASABKANSBnN0YXR1cxIaCghpZGVudGl0eRgCIAEoCV'
'IIaWRlbnRpdHkSGAoHbWVzc2FnZRgDIAEoCVIHbWVzc2FnZRIYCgd0aW1lc2VxGAQgASgDUgd0'
'aW1lc2Vx');
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3'
'NhZ2USGAoHZGV0YWlscxgDIAEoCVIHZGV0YWlscxIYCgd0aW1lc2VxGAQgASgDUgd0aW1lc2Vx');
@$core.Deprecated('Use configRequestDescriptor instead')
const ConfigRequest$json = {

View File

@ -277,11 +277,15 @@ class SearchRequest extends $pb.GeneratedMessage {
class StatusReply extends $pb.GeneratedMessage {
factory StatusReply({
$core.String? data,
$core.int? code,
$core.String? message,
$core.String? details,
$fixnum.Int64? timeseq,
}) {
final result = create();
if (data != null) result.data = data;
if (code != null) result.code = code;
if (message != null) result.message = message;
if (details != null) result.details = details;
if (timeseq != null) result.timeseq = timeseq;
return result;
}
@ -299,8 +303,10 @@ class StatusReply extends $pb.GeneratedMessage {
_omitMessageNames ? '' : 'StatusReply',
package: const $pb.PackageName(_omitMessageNames ? '' : 'passport'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'data')
..aInt64(2, _omitFieldNames ? '' : 'timeseq')
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..aInt64(4, _omitFieldNames ? '' : 'timeseq')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -324,22 +330,40 @@ class StatusReply extends $pb.GeneratedMessage {
static StatusReply? _defaultInstance;
@$pb.TagNumber(1)
$core.String get data => $_getSZ(0);
$core.int get code => $_getIZ(0);
@$pb.TagNumber(1)
set data($core.String value) => $_setString(0, value);
set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1)
$core.bool hasData() => $_has(0);
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearData() => $_clearField(1);
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$fixnum.Int64 get timeseq => $_getI64(1);
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set timeseq($fixnum.Int64 value) => $_setInt64(1, value);
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasTimeseq() => $_has(1);
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearTimeseq() => $_clearField(2);
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearDetails() => $_clearField(3);
@$pb.TagNumber(4)
$fixnum.Int64 get timeseq => $_getI64(3);
@$pb.TagNumber(4)
set timeseq($fixnum.Int64 value) => $_setInt64(3, value);
@$pb.TagNumber(4)
$core.bool hasTimeseq() => $_has(3);
@$pb.TagNumber(4)
void clearTimeseq() => $_clearField(4);
}
class Empty extends $pb.GeneratedMessage {

View File

@ -91,15 +91,17 @@ final $typed_data.Uint8List searchRequestDescriptor = $convert
const StatusReply$json = {
'1': 'StatusReply',
'2': [
{'1': 'data', '3': 1, '4': 1, '5': 9, '10': 'data'},
{'1': 'timeseq', '3': 2, '4': 1, '5': 3, '10': 'timeseq'},
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
{'1': 'timeseq', '3': 4, '4': 1, '5': 3, '10': 'timeseq'},
],
};
/// Descriptor for `StatusReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusReplyDescriptor = $convert.base64Decode(
'CgtTdGF0dXNSZXBseRISCgRkYXRhGAEgASgJUgRkYXRhEhgKB3RpbWVzZXEYAiABKANSB3RpbW'
'VzZXE=');
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3'
'NhZ2USGAoHZGV0YWlscxgDIAEoCVIHZGV0YWlscxIYCgd0aW1lc2VxGAQgASgDUgd0aW1lc2Vx');
@$core.Deprecated('Use emptyDescriptor instead')
const Empty$json = {

View File

@ -277,11 +277,15 @@ class SearchRequest extends $pb.GeneratedMessage {
class StatusReply extends $pb.GeneratedMessage {
factory StatusReply({
$core.String? data,
$core.int? code,
$core.String? message,
$core.String? details,
$fixnum.Int64? timeseq,
}) {
final result = create();
if (data != null) result.data = data;
if (code != null) result.code = code;
if (message != null) result.message = message;
if (details != null) result.details = details;
if (timeseq != null) result.timeseq = timeseq;
return result;
}
@ -299,8 +303,10 @@ class StatusReply extends $pb.GeneratedMessage {
_omitMessageNames ? '' : 'StatusReply',
package: const $pb.PackageName(_omitMessageNames ? '' : 'wallet'),
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'data')
..aInt64(2, _omitFieldNames ? '' : 'timeseq')
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..aOS(2, _omitFieldNames ? '' : 'message')
..aOS(3, _omitFieldNames ? '' : 'details')
..aInt64(4, _omitFieldNames ? '' : 'timeseq')
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
@ -324,22 +330,40 @@ class StatusReply extends $pb.GeneratedMessage {
static StatusReply? _defaultInstance;
@$pb.TagNumber(1)
$core.String get data => $_getSZ(0);
$core.int get code => $_getIZ(0);
@$pb.TagNumber(1)
set data($core.String value) => $_setString(0, value);
set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1)
$core.bool hasData() => $_has(0);
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearData() => $_clearField(1);
void clearCode() => $_clearField(1);
@$pb.TagNumber(2)
$fixnum.Int64 get timeseq => $_getI64(1);
$core.String get message => $_getSZ(1);
@$pb.TagNumber(2)
set timeseq($fixnum.Int64 value) => $_setInt64(1, value);
set message($core.String value) => $_setString(1, value);
@$pb.TagNumber(2)
$core.bool hasTimeseq() => $_has(1);
$core.bool hasMessage() => $_has(1);
@$pb.TagNumber(2)
void clearTimeseq() => $_clearField(2);
void clearMessage() => $_clearField(2);
@$pb.TagNumber(3)
$core.String get details => $_getSZ(2);
@$pb.TagNumber(3)
set details($core.String value) => $_setString(2, value);
@$pb.TagNumber(3)
$core.bool hasDetails() => $_has(2);
@$pb.TagNumber(3)
void clearDetails() => $_clearField(3);
@$pb.TagNumber(4)
$fixnum.Int64 get timeseq => $_getI64(3);
@$pb.TagNumber(4)
set timeseq($fixnum.Int64 value) => $_setInt64(3, value);
@$pb.TagNumber(4)
$core.bool hasTimeseq() => $_has(3);
@$pb.TagNumber(4)
void clearTimeseq() => $_clearField(4);
}
class Empty extends $pb.GeneratedMessage {

View File

@ -91,15 +91,17 @@ final $typed_data.Uint8List searchRequestDescriptor = $convert
const StatusReply$json = {
'1': 'StatusReply',
'2': [
{'1': 'data', '3': 1, '4': 1, '5': 9, '10': 'data'},
{'1': 'timeseq', '3': 2, '4': 1, '5': 3, '10': 'timeseq'},
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
{'1': 'message', '3': 2, '4': 1, '5': 9, '10': 'message'},
{'1': 'details', '3': 3, '4': 1, '5': 9, '10': 'details'},
{'1': 'timeseq', '3': 4, '4': 1, '5': 3, '10': 'timeseq'},
],
};
/// Descriptor for `StatusReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List statusReplyDescriptor = $convert.base64Decode(
'CgtTdGF0dXNSZXBseRISCgRkYXRhGAEgASgJUgRkYXRhEhgKB3RpbWVzZXEYAiABKANSB3RpbW'
'VzZXE=');
'CgtTdGF0dXNSZXBseRISCgRjb2RlGAEgASgFUgRjb2RlEhgKB21lc3NhZ2UYAiABKAlSB21lc3'
'NhZ2USGAoHZGV0YWlscxgDIAEoCVIHZGV0YWlscxIYCgd0aW1lc2VxGAQgASgDUgd0aW1lc2Vx');
@$core.Deprecated('Use emptyDescriptor instead')
const Empty$json = {

View File

@ -1446,60 +1446,6 @@ class ApplyCashRequest extends $pb.GeneratedMessage {
void clearRemark() => $_clearField(3);
}
class CodeReply extends $pb.GeneratedMessage {
factory CodeReply({
$core.int? code,
}) {
final result = create();
if (code != null) result.code = code;
return result;
}
CodeReply._();
factory CodeReply.fromBuffer($core.List<$core.int> data,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(data, registry);
factory CodeReply.fromJson($core.String json,
[$pb.ExtensionRegistry registry = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(json, registry);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'CodeReply',
package: const $pb.PackageName(_omitMessageNames ? '' : 'wallet'),
createEmptyInstance: create)
..a<$core.int>(1, _omitFieldNames ? '' : 'code', $pb.PbFieldType.O3)
..hasRequiredFields = false;
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CodeReply clone() => CodeReply()..mergeFromMessage(this);
@$core.Deprecated('See https://github.com/google/protobuf.dart/issues/998.')
CodeReply copyWith(void Function(CodeReply) updates) =>
super.copyWith((message) => updates(message as CodeReply)) as CodeReply;
@$core.override
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static CodeReply create() => CodeReply._();
@$core.override
CodeReply createEmptyInstance() => create();
static $pb.PbList<CodeReply> createRepeated() => $pb.PbList<CodeReply>();
@$core.pragma('dart2js:noInline')
static CodeReply getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<CodeReply>(create);
static CodeReply? _defaultInstance;
@$pb.TagNumber(1)
$core.int get code => $_getIZ(0);
@$pb.TagNumber(1)
set code($core.int value) => $_setSignedInt32(0, value);
@$pb.TagNumber(1)
$core.bool hasCode() => $_has(0);
@$pb.TagNumber(1)
void clearCode() => $_clearField(1);
}
const $core.bool _omitFieldNames =
$core.bool.fromEnvironment('protobuf.omit_field_names');
const $core.bool _omitMessageNames =

View File

@ -16,6 +16,7 @@ import 'dart:core' as $core;
import 'package:grpc/service_api.dart' as $grpc;
import 'package:protobuf/protobuf.dart' as $pb;
import 'blocks.pb.dart' as $1;
import 'wallet.pb.dart' as $0;
export 'wallet.pb.dart';
@ -41,7 +42,7 @@ class BasicClient extends $grpc.Client {
}
///
$grpc.ResponseFuture<$0.CodeReply> setPayPassword(
$grpc.ResponseFuture<$1.StatusReply> setPayPassword(
$0.SetPayPasswordRequest request, {
$grpc.CallOptions? options,
}) {
@ -49,7 +50,7 @@ class BasicClient extends $grpc.Client {
}
///
$grpc.ResponseFuture<$0.CodeReply> bindPaymentId(
$grpc.ResponseFuture<$1.StatusReply> bindPaymentId(
$0.BindPaymentIDRequest request, {
$grpc.CallOptions? options,
}) {
@ -65,7 +66,7 @@ class BasicClient extends $grpc.Client {
}
///
$grpc.ResponseFuture<$0.CodeReply> addBankCard(
$grpc.ResponseFuture<$1.StatusReply> addBankCard(
$0.AddBankCardRequest request, {
$grpc.CallOptions? options,
}) {
@ -81,7 +82,7 @@ class BasicClient extends $grpc.Client {
}
///
$grpc.ResponseFuture<$0.CodeReply> rmBankCard(
$grpc.ResponseFuture<$1.StatusReply> rmBankCard(
$0.RmBankCardRequest request, {
$grpc.CallOptions? options,
}) {
@ -89,7 +90,7 @@ class BasicClient extends $grpc.Client {
}
///
$grpc.ResponseFuture<$0.CodeReply> applyCash(
$grpc.ResponseFuture<$1.StatusReply> applyCash(
$0.ApplyCashRequest request, {
$grpc.CallOptions? options,
}) {
@ -104,40 +105,40 @@ class BasicClient extends $grpc.Client {
($0.GetWalletRequest value) => value.writeToBuffer(),
$0.GetWalletReply.fromBuffer);
static final _$setPayPassword =
$grpc.ClientMethod<$0.SetPayPasswordRequest, $0.CodeReply>(
$grpc.ClientMethod<$0.SetPayPasswordRequest, $1.StatusReply>(
'/wallet.Basic/SetPayPassword',
($0.SetPayPasswordRequest value) => value.writeToBuffer(),
$0.CodeReply.fromBuffer);
$1.StatusReply.fromBuffer);
static final _$bindPaymentId =
$grpc.ClientMethod<$0.BindPaymentIDRequest, $0.CodeReply>(
$grpc.ClientMethod<$0.BindPaymentIDRequest, $1.StatusReply>(
'/wallet.Basic/BindPaymentId',
($0.BindPaymentIDRequest value) => value.writeToBuffer(),
$0.CodeReply.fromBuffer);
$1.StatusReply.fromBuffer);
static final _$transactions =
$grpc.ClientMethod<$0.TransactionsRequest, $0.TransactionsReply>(
'/wallet.Basic/Transactions',
($0.TransactionsRequest value) => value.writeToBuffer(),
$0.TransactionsReply.fromBuffer);
static final _$addBankCard =
$grpc.ClientMethod<$0.AddBankCardRequest, $0.CodeReply>(
$grpc.ClientMethod<$0.AddBankCardRequest, $1.StatusReply>(
'/wallet.Basic/AddBankCard',
($0.AddBankCardRequest value) => value.writeToBuffer(),
$0.CodeReply.fromBuffer);
$1.StatusReply.fromBuffer);
static final _$getBankCard =
$grpc.ClientMethod<$0.FinanceEmpty, $0.GetBankCardReply>(
'/wallet.Basic/GetBankCard',
($0.FinanceEmpty value) => value.writeToBuffer(),
$0.GetBankCardReply.fromBuffer);
static final _$rmBankCard =
$grpc.ClientMethod<$0.RmBankCardRequest, $0.CodeReply>(
$grpc.ClientMethod<$0.RmBankCardRequest, $1.StatusReply>(
'/wallet.Basic/RmBankCard',
($0.RmBankCardRequest value) => value.writeToBuffer(),
$0.CodeReply.fromBuffer);
$1.StatusReply.fromBuffer);
static final _$applyCash =
$grpc.ClientMethod<$0.ApplyCashRequest, $0.CodeReply>(
$grpc.ClientMethod<$0.ApplyCashRequest, $1.StatusReply>(
'/wallet.Basic/ApplyCash',
($0.ApplyCashRequest value) => value.writeToBuffer(),
$0.CodeReply.fromBuffer);
$1.StatusReply.fromBuffer);
}
@$pb.GrpcServiceName('wallet.Basic')
@ -152,22 +153,22 @@ abstract class BasicServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.GetWalletRequest.fromBuffer(value),
($0.GetWalletReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.SetPayPasswordRequest, $0.CodeReply>(
$addMethod($grpc.ServiceMethod<$0.SetPayPasswordRequest, $1.StatusReply>(
'SetPayPassword',
setPayPassword_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.SetPayPasswordRequest.fromBuffer(value),
($0.CodeReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.BindPaymentIDRequest, $0.CodeReply>(
($1.StatusReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.BindPaymentIDRequest, $1.StatusReply>(
'BindPaymentId',
bindPaymentId_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.BindPaymentIDRequest.fromBuffer(value),
($0.CodeReply value) => value.writeToBuffer()));
($1.StatusReply value) => value.writeToBuffer()));
$addMethod(
$grpc.ServiceMethod<$0.TransactionsRequest, $0.TransactionsReply>(
'Transactions',
@ -177,14 +178,14 @@ abstract class BasicServiceBase extends $grpc.Service {
($core.List<$core.int> value) =>
$0.TransactionsRequest.fromBuffer(value),
($0.TransactionsReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.AddBankCardRequest, $0.CodeReply>(
$addMethod($grpc.ServiceMethod<$0.AddBankCardRequest, $1.StatusReply>(
'AddBankCard',
addBankCard_Pre,
false,
false,
($core.List<$core.int> value) =>
$0.AddBankCardRequest.fromBuffer(value),
($0.CodeReply value) => value.writeToBuffer()));
($1.StatusReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.FinanceEmpty, $0.GetBankCardReply>(
'GetBankCard',
getBankCard_Pre,
@ -192,20 +193,20 @@ abstract class BasicServiceBase extends $grpc.Service {
false,
($core.List<$core.int> value) => $0.FinanceEmpty.fromBuffer(value),
($0.GetBankCardReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.RmBankCardRequest, $0.CodeReply>(
$addMethod($grpc.ServiceMethod<$0.RmBankCardRequest, $1.StatusReply>(
'RmBankCard',
rmBankCard_Pre,
false,
false,
($core.List<$core.int> value) => $0.RmBankCardRequest.fromBuffer(value),
($0.CodeReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ApplyCashRequest, $0.CodeReply>(
($1.StatusReply value) => value.writeToBuffer()));
$addMethod($grpc.ServiceMethod<$0.ApplyCashRequest, $1.StatusReply>(
'ApplyCash',
applyCash_Pre,
false,
false,
($core.List<$core.int> value) => $0.ApplyCashRequest.fromBuffer(value),
($0.CodeReply value) => value.writeToBuffer()));
($1.StatusReply value) => value.writeToBuffer()));
}
$async.Future<$0.GetWalletReply> getWallet_Pre($grpc.ServiceCall $call,
@ -216,20 +217,20 @@ abstract class BasicServiceBase extends $grpc.Service {
$async.Future<$0.GetWalletReply> getWallet(
$grpc.ServiceCall call, $0.GetWalletRequest request);
$async.Future<$0.CodeReply> setPayPassword_Pre($grpc.ServiceCall $call,
$async.Future<$1.StatusReply> setPayPassword_Pre($grpc.ServiceCall $call,
$async.Future<$0.SetPayPasswordRequest> $request) async {
return setPayPassword($call, await $request);
}
$async.Future<$0.CodeReply> setPayPassword(
$async.Future<$1.StatusReply> setPayPassword(
$grpc.ServiceCall call, $0.SetPayPasswordRequest request);
$async.Future<$0.CodeReply> bindPaymentId_Pre($grpc.ServiceCall $call,
$async.Future<$1.StatusReply> bindPaymentId_Pre($grpc.ServiceCall $call,
$async.Future<$0.BindPaymentIDRequest> $request) async {
return bindPaymentId($call, await $request);
}
$async.Future<$0.CodeReply> bindPaymentId(
$async.Future<$1.StatusReply> bindPaymentId(
$grpc.ServiceCall call, $0.BindPaymentIDRequest request);
$async.Future<$0.TransactionsReply> transactions_Pre($grpc.ServiceCall $call,
@ -240,12 +241,12 @@ abstract class BasicServiceBase extends $grpc.Service {
$async.Future<$0.TransactionsReply> transactions(
$grpc.ServiceCall call, $0.TransactionsRequest request);
$async.Future<$0.CodeReply> addBankCard_Pre($grpc.ServiceCall $call,
$async.Future<$1.StatusReply> addBankCard_Pre($grpc.ServiceCall $call,
$async.Future<$0.AddBankCardRequest> $request) async {
return addBankCard($call, await $request);
}
$async.Future<$0.CodeReply> addBankCard(
$async.Future<$1.StatusReply> addBankCard(
$grpc.ServiceCall call, $0.AddBankCardRequest request);
$async.Future<$0.GetBankCardReply> getBankCard_Pre(
@ -256,19 +257,19 @@ abstract class BasicServiceBase extends $grpc.Service {
$async.Future<$0.GetBankCardReply> getBankCard(
$grpc.ServiceCall call, $0.FinanceEmpty request);
$async.Future<$0.CodeReply> rmBankCard_Pre($grpc.ServiceCall $call,
$async.Future<$1.StatusReply> rmBankCard_Pre($grpc.ServiceCall $call,
$async.Future<$0.RmBankCardRequest> $request) async {
return rmBankCard($call, await $request);
}
$async.Future<$0.CodeReply> rmBankCard(
$async.Future<$1.StatusReply> rmBankCard(
$grpc.ServiceCall call, $0.RmBankCardRequest request);
$async.Future<$0.CodeReply> applyCash_Pre($grpc.ServiceCall $call,
$async.Future<$1.StatusReply> applyCash_Pre($grpc.ServiceCall $call,
$async.Future<$0.ApplyCashRequest> $request) async {
return applyCash($call, await $request);
}
$async.Future<$0.CodeReply> applyCash(
$async.Future<$1.StatusReply> applyCash(
$grpc.ServiceCall call, $0.ApplyCashRequest request);
}

View File

@ -350,15 +350,3 @@ const ApplyCashRequest$json = {
final $typed_data.Uint8List applyCashRequestDescriptor = $convert.base64Decode(
'ChBBcHBseUNhc2hSZXF1ZXN0EhgKB2NoYW5uZWwYASABKAVSB2NoYW5uZWwSFgoGYW1vdW50GA'
'IgASgDUgZhbW91bnQSFgoGcmVtYXJrGAMgASgJUgZyZW1hcms=');
@$core.Deprecated('Use codeReplyDescriptor instead')
const CodeReply$json = {
'1': 'CodeReply',
'2': [
{'1': 'code', '3': 1, '4': 1, '5': 5, '10': 'code'},
],
};
/// Descriptor for `CodeReply`. Decode as a `google.protobuf.DescriptorProto`.
final $typed_data.Uint8List codeReplyDescriptor =
$convert.base64Decode('CglDb2RlUmVwbHkSEgoEY29kZRgBIAEoBVIEY29kZQ==');

View File

@ -35,7 +35,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -127,7 +129,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -147,7 +151,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -219,7 +225,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -265,7 +273,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -357,7 +367,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -377,7 +389,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -449,7 +463,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -32,7 +32,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -89,7 +91,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -108,7 +112,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -163,7 +169,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -742,7 +742,16 @@
"cloudStatusReply": {
"type": "object",
"properties": {
"data": {
"code": {
"type": "integer",
"format": "int32",
"title": "状态码"
},
"message": {
"type": "string",
"title": "状态说明"
},
"details": {
"type": "string",
"title": "数据"
},

View File

@ -37,7 +37,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -123,7 +125,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -143,7 +147,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -255,7 +261,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -282,7 +290,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -368,7 +378,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -388,7 +400,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -457,7 +471,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -478,7 +494,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -36,7 +36,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -116,7 +118,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -136,7 +140,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -202,7 +208,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -222,7 +230,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -293,7 +303,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -313,7 +325,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -34,7 +34,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -90,7 +92,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -110,7 +114,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -232,7 +238,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -252,7 +260,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -30,7 +30,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -80,7 +82,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -136,7 +140,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -65,10 +65,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Category/Modify
@ -106,10 +105,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Category/Delete
@ -128,10 +126,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```

View File

@ -479,26 +479,20 @@
"format": "int32",
"title": "状态码"
},
"identity": {
"type": "string",
"title": "标识码"
},
"message": {
"type": "string",
"title": "状态说明"
},
"details": {
"type": "string",
"title": "数据"
},
"timeseq": {
"type": "string",
"format": "int64",
"title": "响应时间序列"
},
"count": {
"type": "string",
"format": "int64",
"title": "数量"
}
},
"title": "标准回执"
}
},
"cmsTagsItem": {
"type": "object",

View File

@ -193,10 +193,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Pages/Modify
@ -242,10 +241,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Pages/Delete
@ -265,10 +263,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```

View File

@ -369,10 +369,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/Modify
@ -440,10 +439,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/Delete
@ -463,10 +461,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/IncrPostLike
@ -486,10 +483,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/DescPostLike
@ -509,10 +505,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/IncrPostUnlike
@ -532,10 +527,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/DescPostUnlike
@ -555,10 +549,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/CommentList
@ -626,10 +619,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/ModifyComment
@ -661,10 +653,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/DeleteComment
@ -684,10 +675,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/IncrCommentLike
@ -707,10 +697,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/DescCommentLike
@ -730,10 +719,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/IncrCommentUnlike
@ -753,10 +741,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Post/DescCommentUnlike
@ -776,10 +763,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```

View File

@ -55,10 +55,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Tags/Modify
@ -82,10 +81,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```
## /cms.Tags/Delete
@ -105,10 +103,9 @@
```javascript
{
code: 0, // type<int32>, 状态码
identity: "", // type<string>, 标识码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
count: "0", // type<int64>, 数量
}
```

View File

@ -178,7 +178,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -196,7 +198,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -216,7 +220,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -164,7 +164,16 @@
"feedbackStatusReply": {
"type": "object",
"properties": {
"data": {
"code": {
"type": "integer",
"format": "int32",
"title": "状态码"
},
"message": {
"type": "string",
"title": "状态说明"
},
"details": {
"type": "string",
"title": "数据"
},

View File

@ -21,9 +21,9 @@
### Reply
```javascript
{
status: "0", // type<int64>, 状态码
identity: "", // type<string>, 标识码
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -222,19 +222,19 @@
"initialStatusReply": {
"type": "object",
"properties": {
"status": {
"type": "string",
"format": "int64",
"code": {
"type": "integer",
"format": "int32",
"title": "状态码"
},
"identity": {
"type": "string",
"title": "标识码"
},
"message": {
"type": "string",
"title": "状态说明"
},
"details": {
"type": "string",
"title": "数据"
},
"timeseq": {
"type": "string",
"format": "int64",

View File

@ -74,7 +74,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -94,7 +96,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -114,7 +118,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -134,7 +140,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -21,7 +21,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -21,7 +21,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```
@ -64,7 +66,9 @@
### Reply
```javascript
{
data: "", // type<string>, 数据
code: 0, // type<int32>, 状态码
message: "", // type<string>, 状态说明
details: "", // type<string>, 数据
timeseq: "0", // type<int64>, 响应时间序列
}
```

View File

@ -261,7 +261,16 @@
"passportStatusReply": {
"type": "object",
"properties": {
"data": {
"code": {
"type": "integer",
"format": "int32",
"title": "状态码"
},
"message": {
"type": "string",
"title": "状态说明"
},
"details": {
"type": "string",
"title": "数据"
},

View File

@ -331,10 +331,6 @@
<a href="#wallet.BindPaymentIDRequest"><span class="badge">M</span>BindPaymentIDRequest</a>
</li>
<li>
<a href="#wallet.CodeReply"><span class="badge">M</span>CodeReply</a>
</li>
<li>
<a href="#wallet.FinanceEmpty"><span class="badge">M</span>FinanceEmpty</a>
</li>
@ -937,7 +933,21 @@
<tbody>
<tr>
<td>data</td>
<td>code</td>
<td><a href="#int32">int32</a></td>
<td></td>
<td><p>状态码 </p></td>
</tr>
<tr>
<td>message</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>状态说明 </p></td>
</tr>
<tr>
<td>details</td>
<td><a href="#string">string</a></td>
<td></td>
<td><p>数据 </p></td>
@ -1669,30 +1679,6 @@
<h3 id="wallet.CodeReply">CodeReply</h3>
<p></p>
<table class="field-table">
<thead>
<tr><td>Field</td><td>Type</td><td>Label</td><td>Description</td></tr>
</thead>
<tbody>
<tr>
<td>code</td>
<td><a href="#int32">int32</a></td>
<td></td>
<td><p>状态码 </p></td>
</tr>
</tbody>
</table>
<h3 id="wallet.FinanceEmpty">FinanceEmpty</h3>
<p></p>
@ -2240,14 +2226,14 @@
<tr>
<td>SetPayPassword</td>
<td><a href="#wallet.SetPayPasswordRequest">SetPayPasswordRequest</a></td>
<td><a href="#wallet.CodeReply">CodeReply</a></td>
<td><a href="#wallet.StatusReply">StatusReply</a></td>
<td><p>设置支付密码</p></td>
</tr>
<tr>
<td>BindPaymentId</td>
<td><a href="#wallet.BindPaymentIDRequest">BindPaymentIDRequest</a></td>
<td><a href="#wallet.CodeReply">CodeReply</a></td>
<td><a href="#wallet.StatusReply">StatusReply</a></td>
<td><p>绑定微信或支付宝账户</p></td>
</tr>
@ -2261,7 +2247,7 @@
<tr>
<td>AddBankCard</td>
<td><a href="#wallet.AddBankCardRequest">AddBankCardRequest</a></td>
<td><a href="#wallet.CodeReply">CodeReply</a></td>
<td><a href="#wallet.StatusReply">StatusReply</a></td>
<td><p>添加银行卡</p></td>
</tr>
@ -2275,14 +2261,14 @@
<tr>
<td>RmBankCard</td>
<td><a href="#wallet.RmBankCardRequest">RmBankCardRequest</a></td>
<td><a href="#wallet.CodeReply">CodeReply</a></td>
<td><a href="#wallet.StatusReply">StatusReply</a></td>
<td><p>删除银行卡</p></td>
</tr>
<tr>
<td>ApplyCash</td>
<td><a href="#wallet.ApplyCashRequest">ApplyCashRequest</a></td>
<td><a href="#wallet.CodeReply">CodeReply</a></td>
<td><a href="#wallet.StatusReply">StatusReply</a></td>
<td><p>申请提现</p></td>
</tr>

View File

@ -142,16 +142,6 @@
}
}
},
"walletCodeReply": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"title": "状态码"
}
}
},
"walletGetBankCardReply": {
"type": "object",
"properties": {
@ -280,7 +270,16 @@
"walletStatusReply": {
"type": "object",
"properties": {
"data": {
"code": {
"type": "integer",
"format": "int32",
"title": "状态码"
},
"message": {
"type": "string",
"title": "状态说明"
},
"details": {
"type": "string",
"title": "数据"
},

View File

@ -439,8 +439,10 @@ func (x *CloudBase) GetCloudIdentity() string {
// 状态回复
type StatusReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,2,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -475,9 +477,23 @@ func (*StatusReply) Descriptor() ([]byte, []int) {
return file_blocks_proto_rawDescGZIP(), []int{8}
}
func (x *StatusReply) GetData() string {
func (x *StatusReply) GetCode() int32 {
if x != nil {
return x.Data
return x.Code
}
return 0
}
func (x *StatusReply) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *StatusReply) GetDetails() string {
if x != nil {
return x.Details
}
return ""
}
@ -523,10 +539,12 @@ const file_blocks_proto_rawDesc = "" +
"\x11passport_identity\x18\x02 \x01(\tR\x10passportIdentity\"M\n" +
"\tCloudBase\x12\x19\n" +
"\bcloud_id\x18\x01 \x01(\x04R\acloudId\x12%\n" +
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\";\n" +
"\x0ecloud_identity\x18\x02 \x01(\tR\rcloudIdentity\"o\n" +
"\vStatusReply\x12\x12\n" +
"\x04data\x18\x01 \x01(\tR\x04data\x12\x18\n" +
"\atimeseq\x18\x02 \x01(\x03R\atimeseqB\tZ\a.;cloudb\x06proto3"
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseqB\tZ\a.;cloudb\x06proto3"
var (
file_blocks_proto_rawDescOnce sync.Once

View File

@ -241,14 +241,12 @@ func (x *SearchRequest) GetPageSize() int64 {
return 0
}
// 标准回执
type StatusReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 标识码
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //状态说明
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
Count int64 `protobuf:"varint,5,opt,name=count,proto3" json:"count,omitempty"` // 数量
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -290,13 +288,6 @@ func (x *StatusReply) GetCode() int32 {
return 0
}
func (x *StatusReply) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *StatusReply) GetMessage() string {
if x != nil {
return x.Message
@ -304,6 +295,13 @@ func (x *StatusReply) GetMessage() string {
return ""
}
func (x *StatusReply) GetDetails() string {
if x != nil {
return x.Details
}
return ""
}
func (x *StatusReply) GetTimeseq() int64 {
if x != nil {
return x.Timeseq
@ -311,13 +309,6 @@ func (x *StatusReply) GetTimeseq() int64 {
return 0
}
func (x *StatusReply) GetCount() int64 {
if x != nil {
return x.Count
}
return 0
}
// 空结构请求
type Empty struct {
state protoimpl.MessageState `protogen:"open.v1"`
@ -646,13 +637,12 @@ const file_blocks_proto_rawDesc = "" +
"\rSearchRequest\x12\x18\n" +
"\akeyword\x18\x01 \x01(\tR\akeyword\x12\x18\n" +
"\apage_no\x18\x02 \x01(\x03R\apage_no\x12\x1c\n" +
"\tpage_size\x18\x03 \x01(\x03R\tpage_size\"\x87\x01\n" +
"\tpage_size\x18\x03 \x01(\x03R\tpage_size\"o\n" +
"\vStatusReply\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x18\n" +
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\x12\x14\n" +
"\x05count\x18\x05 \x01(\x03R\x05count\"\a\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"\a\n" +
"\x05Empty\"\xb1\x02\n" +
"\fCategoryItem\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +

View File

@ -1051,8 +1051,10 @@ func (x *IdentRequest) GetIdentity() string {
type StatusReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,2,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -1087,9 +1089,23 @@ func (*StatusReply) Descriptor() ([]byte, []int) {
return file_feedback_proto_rawDescGZIP(), []int{13}
}
func (x *StatusReply) GetData() string {
func (x *StatusReply) GetCode() int32 {
if x != nil {
return x.Data
return x.Code
}
return 0
}
func (x *StatusReply) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *StatusReply) GetDetails() string {
if x != nil {
return x.Details
}
return ""
}
@ -1198,10 +1214,12 @@ const file_feedback_proto_rawDesc = "" +
"\x06status\x18\x03 \x01(\x05R\x06status\":\n" +
"\fIdentRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\x03R\x02id\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\";\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\"o\n" +
"\vStatusReply\x12\x12\n" +
"\x04data\x18\x01 \x01(\tR\x04data\x12\x18\n" +
"\atimeseq\x18\x02 \x01(\x03R\atimeseq2\xd8\x02\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq2\xd8\x02\n" +
"\x06Method\x124\n" +
"\x04List\x12\x15.feedback.ListRequest\x1a\x13.feedback.ListReply\"\x00\x121\n" +
"\x03Get\x12\x14.feedback.GetRequest\x1a\x12.feedback.GetReply\"\x00\x121\n" +

View File

@ -67,10 +67,10 @@ func (x *Crc) GetCode() string {
type StatusReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 状态码
Identity string `protobuf:"bytes,2,opt,name=identity,proto3" json:"identity,omitempty"` // 标识码
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //状态说明
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -105,20 +105,13 @@ func (*StatusReply) Descriptor() ([]byte, []int) {
return file_check_proto_rawDescGZIP(), []int{1}
}
func (x *StatusReply) GetStatus() int64 {
func (x *StatusReply) GetCode() int32 {
if x != nil {
return x.Status
return x.Code
}
return 0
}
func (x *StatusReply) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *StatusReply) GetMessage() string {
if x != nil {
return x.Message
@ -126,6 +119,13 @@ func (x *StatusReply) GetMessage() string {
return ""
}
func (x *StatusReply) GetDetails() string {
if x != nil {
return x.Details
}
return ""
}
func (x *StatusReply) GetTimeseq() int64 {
if x != nil {
return x.Timeseq
@ -447,11 +447,11 @@ const file_check_proto_rawDesc = "" +
"\n" +
"\vcheck.proto\x12\ainitial\"\x19\n" +
"\x03Crc\x12\x12\n" +
"\x04code\x18\x01 \x01(\tR\x04code\"u\n" +
"\vStatusReply\x12\x16\n" +
"\x06status\x18\x01 \x01(\x03R\x06status\x12\x1a\n" +
"\bidentity\x18\x02 \x01(\tR\bidentity\x12\x18\n" +
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
"\x04code\x18\x01 \x01(\tR\x04code\"o\n" +
"\vStatusReply\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"1\n" +
"\rConfigRequest\x12\x10\n" +
"\x03app\x18\x01 \x01(\tR\x03app\x12\x0e\n" +

View File

@ -223,8 +223,10 @@ func (x *SearchRequest) GetKeyword() string {
type StatusReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,2,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -259,9 +261,23 @@ func (*StatusReply) Descriptor() ([]byte, []int) {
return file_blocks_proto_rawDescGZIP(), []int{4}
}
func (x *StatusReply) GetData() string {
func (x *StatusReply) GetCode() int32 {
if x != nil {
return x.Data
return x.Code
}
return 0
}
func (x *StatusReply) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *StatusReply) GetDetails() string {
if x != nil {
return x.Details
}
return ""
}
@ -327,10 +343,12 @@ const file_blocks_proto_rawDesc = "" +
"\x0eVersionRequest\x12\x18\n" +
"\aversion\x18\x01 \x01(\x03R\aversion\")\n" +
"\rSearchRequest\x12\x18\n" +
"\akeyword\x18\x01 \x01(\tR\akeyword\";\n" +
"\akeyword\x18\x01 \x01(\tR\akeyword\"o\n" +
"\vStatusReply\x12\x12\n" +
"\x04data\x18\x01 \x01(\tR\x04data\x12\x18\n" +
"\atimeseq\x18\x02 \x01(\x03R\atimeseq\"\a\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"\a\n" +
"\x05EmptyB\fZ\n" +
".;passportb\x06proto3"

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.9
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: alipay.proto

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.9
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: blocks.proto
@ -223,8 +223,10 @@ func (x *SearchRequest) GetKeyword() string {
type StatusReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,2,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` // 状态码
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 状态说明
Details string `protobuf:"bytes,3,opt,name=details,proto3" json:"details,omitempty"` // 数据
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@ -259,9 +261,23 @@ func (*StatusReply) Descriptor() ([]byte, []int) {
return file_blocks_proto_rawDescGZIP(), []int{4}
}
func (x *StatusReply) GetData() string {
func (x *StatusReply) GetCode() int32 {
if x != nil {
return x.Data
return x.Code
}
return 0
}
func (x *StatusReply) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *StatusReply) GetDetails() string {
if x != nil {
return x.Details
}
return ""
}
@ -327,10 +343,12 @@ const file_blocks_proto_rawDesc = "" +
"\x0eVersionRequest\x12\x18\n" +
"\aversion\x18\x01 \x01(\x03R\aversion\")\n" +
"\rSearchRequest\x12\x18\n" +
"\akeyword\x18\x01 \x01(\tR\akeyword\";\n" +
"\akeyword\x18\x01 \x01(\tR\akeyword\"o\n" +
"\vStatusReply\x12\x12\n" +
"\x04data\x18\x01 \x01(\tR\x04data\x12\x18\n" +
"\atimeseq\x18\x02 \x01(\x03R\atimeseq\"\a\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x18\n" +
"\adetails\x18\x03 \x01(\tR\adetails\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"\a\n" +
"\x05EmptyB\n" +
"Z\b.;walletb\x06proto3"

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.9
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: payment.proto

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.9
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: wallet.proto
@ -1081,55 +1081,11 @@ func (x *ApplyCashRequest) GetRemark() string {
return ""
}
type CodeReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` //状态码
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CodeReply) Reset() {
*x = CodeReply{}
mi := &file_wallet_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CodeReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CodeReply) ProtoMessage() {}
func (x *CodeReply) ProtoReflect() protoreflect.Message {
mi := &file_wallet_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CodeReply.ProtoReflect.Descriptor instead.
func (*CodeReply) Descriptor() ([]byte, []int) {
return file_wallet_proto_rawDescGZIP(), []int{15}
}
func (x *CodeReply) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
var File_wallet_proto protoreflect.FileDescriptor
const file_wallet_proto_rawDesc = "" +
"\n" +
"\fwallet.proto\x12\x06wallet\"\x92\x02\n" +
"\fwallet.proto\x12\x06wallet\x1a\fblocks.proto\"\x92\x02\n" +
"\x10GetWalletRequest\x12)\n" +
"\x11is_total_today_in\x18\x01 \x01(\bR\x0eisTotalTodayIn\x12+\n" +
"\x12is_total_today_out\x18\x02 \x01(\bR\x0fisTotalTodayOut\x12)\n" +
@ -1227,19 +1183,17 @@ const file_wallet_proto_rawDesc = "" +
"\x10ApplyCashRequest\x12\x18\n" +
"\achannel\x18\x01 \x01(\x05R\achannel\x12\x16\n" +
"\x06amount\x18\x02 \x01(\x03R\x06amount\x12\x16\n" +
"\x06remark\x18\x03 \x01(\tR\x06remark\"\x1f\n" +
"\tCodeReply\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code2\x97\x04\n" +
"\x06remark\x18\x03 \x01(\tR\x06remark2\xa1\x04\n" +
"\x05Basic\x12?\n" +
"\tGetWallet\x12\x18.wallet.GetWalletRequest\x1a\x16.wallet.GetWalletReply\"\x00\x12D\n" +
"\x0eSetPayPassword\x12\x1d.wallet.SetPayPasswordRequest\x1a\x11.wallet.CodeReply\"\x00\x12B\n" +
"\rBindPaymentId\x12\x1c.wallet.BindPaymentIDRequest\x1a\x11.wallet.CodeReply\"\x00\x12H\n" +
"\fTransactions\x12\x1b.wallet.TransactionsRequest\x1a\x19.wallet.TransactionsReply\"\x00\x12>\n" +
"\vAddBankCard\x12\x1a.wallet.AddBankCardRequest\x1a\x11.wallet.CodeReply\"\x00\x12?\n" +
"\vGetBankCard\x12\x14.wallet.FinanceEmpty\x1a\x18.wallet.GetBankCardReply\"\x00\x12<\n" +
"\tGetWallet\x12\x18.wallet.GetWalletRequest\x1a\x16.wallet.GetWalletReply\"\x00\x12F\n" +
"\x0eSetPayPassword\x12\x1d.wallet.SetPayPasswordRequest\x1a\x13.wallet.StatusReply\"\x00\x12D\n" +
"\rBindPaymentId\x12\x1c.wallet.BindPaymentIDRequest\x1a\x13.wallet.StatusReply\"\x00\x12H\n" +
"\fTransactions\x12\x1b.wallet.TransactionsRequest\x1a\x19.wallet.TransactionsReply\"\x00\x12@\n" +
"\vAddBankCard\x12\x1a.wallet.AddBankCardRequest\x1a\x13.wallet.StatusReply\"\x00\x12?\n" +
"\vGetBankCard\x12\x14.wallet.FinanceEmpty\x1a\x18.wallet.GetBankCardReply\"\x00\x12>\n" +
"\n" +
"RmBankCard\x12\x19.wallet.RmBankCardRequest\x1a\x11.wallet.CodeReply\"\x00\x12:\n" +
"\tApplyCash\x12\x18.wallet.ApplyCashRequest\x1a\x11.wallet.CodeReply\"\x00B\n" +
"RmBankCard\x12\x19.wallet.RmBankCardRequest\x1a\x13.wallet.StatusReply\"\x00\x12<\n" +
"\tApplyCash\x12\x18.wallet.ApplyCashRequest\x1a\x13.wallet.StatusReply\"\x00B\n" +
"Z\b.;walletb\x06proto3"
var (
@ -1254,7 +1208,7 @@ func file_wallet_proto_rawDescGZIP() []byte {
return file_wallet_proto_rawDescData
}
var file_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 17)
var file_wallet_proto_msgTypes = make([]protoimpl.MessageInfo, 16)
var file_wallet_proto_goTypes = []any{
(*GetWalletRequest)(nil), // 0: wallet.GetWalletRequest
(*GetWalletReply)(nil), // 1: wallet.GetWalletReply
@ -1271,11 +1225,11 @@ var file_wallet_proto_goTypes = []any{
(*GetBankCardReply)(nil), // 12: wallet.GetBankCardReply
(*BankCardInfo)(nil), // 13: wallet.BankCardInfo
(*ApplyCashRequest)(nil), // 14: wallet.ApplyCashRequest
(*CodeReply)(nil), // 15: wallet.CodeReply
nil, // 16: wallet.GetWalletReply.TotalEntry
nil, // 15: wallet.GetWalletReply.TotalEntry
(*StatusReply)(nil), // 16: wallet.StatusReply
}
var file_wallet_proto_depIdxs = []int32{
16, // 0: wallet.GetWalletReply.total:type_name -> wallet.GetWalletReply.TotalEntry
15, // 0: wallet.GetWalletReply.total:type_name -> wallet.GetWalletReply.TotalEntry
4, // 1: wallet.TransactionsReply.records:type_name -> wallet.Transaction
4, // 2: wallet.RefundReply.transaction:type_name -> wallet.Transaction
13, // 3: wallet.GetBankCardReply.data:type_name -> wallet.BankCardInfo
@ -1288,13 +1242,13 @@ var file_wallet_proto_depIdxs = []int32{
11, // 10: wallet.Basic.RmBankCard:input_type -> wallet.RmBankCardRequest
14, // 11: wallet.Basic.ApplyCash:input_type -> wallet.ApplyCashRequest
1, // 12: wallet.Basic.GetWallet:output_type -> wallet.GetWalletReply
15, // 13: wallet.Basic.SetPayPassword:output_type -> wallet.CodeReply
15, // 14: wallet.Basic.BindPaymentId:output_type -> wallet.CodeReply
16, // 13: wallet.Basic.SetPayPassword:output_type -> wallet.StatusReply
16, // 14: wallet.Basic.BindPaymentId:output_type -> wallet.StatusReply
3, // 15: wallet.Basic.Transactions:output_type -> wallet.TransactionsReply
15, // 16: wallet.Basic.AddBankCard:output_type -> wallet.CodeReply
16, // 16: wallet.Basic.AddBankCard:output_type -> wallet.StatusReply
12, // 17: wallet.Basic.GetBankCard:output_type -> wallet.GetBankCardReply
15, // 18: wallet.Basic.RmBankCard:output_type -> wallet.CodeReply
15, // 19: wallet.Basic.ApplyCash:output_type -> wallet.CodeReply
16, // 18: wallet.Basic.RmBankCard:output_type -> wallet.StatusReply
16, // 19: wallet.Basic.ApplyCash:output_type -> wallet.StatusReply
12, // [12:20] is the sub-list for method output_type
4, // [4:12] is the sub-list for method input_type
4, // [4:4] is the sub-list for extension type_name
@ -1307,13 +1261,14 @@ func file_wallet_proto_init() {
if File_wallet_proto != nil {
return
}
file_blocks_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_wallet_proto_rawDesc), len(file_wallet_proto_rawDesc)),
NumEnums: 0,
NumMessages: 17,
NumMessages: 16,
NumExtensions: 0,
NumServices: 1,
},

View File

@ -36,19 +36,19 @@ type BasicClient interface {
//获取钱包信息
GetWallet(ctx context.Context, in *GetWalletRequest, opts ...grpc.CallOption) (*GetWalletReply, error)
//设置支付密码
SetPayPassword(ctx context.Context, in *SetPayPasswordRequest, opts ...grpc.CallOption) (*CodeReply, error)
SetPayPassword(ctx context.Context, in *SetPayPasswordRequest, opts ...grpc.CallOption) (*StatusReply, error)
//绑定微信或支付宝账户
BindPaymentId(ctx context.Context, in *BindPaymentIDRequest, opts ...grpc.CallOption) (*CodeReply, error)
BindPaymentId(ctx context.Context, in *BindPaymentIDRequest, opts ...grpc.CallOption) (*StatusReply, error)
//查询交易记录
Transactions(ctx context.Context, in *TransactionsRequest, opts ...grpc.CallOption) (*TransactionsReply, error)
//添加银行卡
AddBankCard(ctx context.Context, in *AddBankCardRequest, opts ...grpc.CallOption) (*CodeReply, error)
AddBankCard(ctx context.Context, in *AddBankCardRequest, opts ...grpc.CallOption) (*StatusReply, error)
//获取用户银行卡列表
GetBankCard(ctx context.Context, in *FinanceEmpty, opts ...grpc.CallOption) (*GetBankCardReply, error)
//删除银行卡
RmBankCard(ctx context.Context, in *RmBankCardRequest, opts ...grpc.CallOption) (*CodeReply, error)
RmBankCard(ctx context.Context, in *RmBankCardRequest, opts ...grpc.CallOption) (*StatusReply, error)
//申请提现
ApplyCash(ctx context.Context, in *ApplyCashRequest, opts ...grpc.CallOption) (*CodeReply, error)
ApplyCash(ctx context.Context, in *ApplyCashRequest, opts ...grpc.CallOption) (*StatusReply, error)
}
type basicClient struct {
@ -69,9 +69,9 @@ func (c *basicClient) GetWallet(ctx context.Context, in *GetWalletRequest, opts
return out, nil
}
func (c *basicClient) SetPayPassword(ctx context.Context, in *SetPayPasswordRequest, opts ...grpc.CallOption) (*CodeReply, error) {
func (c *basicClient) SetPayPassword(ctx context.Context, in *SetPayPasswordRequest, opts ...grpc.CallOption) (*StatusReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CodeReply)
out := new(StatusReply)
err := c.cc.Invoke(ctx, Basic_SetPayPassword_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
@ -79,9 +79,9 @@ func (c *basicClient) SetPayPassword(ctx context.Context, in *SetPayPasswordRequ
return out, nil
}
func (c *basicClient) BindPaymentId(ctx context.Context, in *BindPaymentIDRequest, opts ...grpc.CallOption) (*CodeReply, error) {
func (c *basicClient) BindPaymentId(ctx context.Context, in *BindPaymentIDRequest, opts ...grpc.CallOption) (*StatusReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CodeReply)
out := new(StatusReply)
err := c.cc.Invoke(ctx, Basic_BindPaymentId_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
@ -99,9 +99,9 @@ func (c *basicClient) Transactions(ctx context.Context, in *TransactionsRequest,
return out, nil
}
func (c *basicClient) AddBankCard(ctx context.Context, in *AddBankCardRequest, opts ...grpc.CallOption) (*CodeReply, error) {
func (c *basicClient) AddBankCard(ctx context.Context, in *AddBankCardRequest, opts ...grpc.CallOption) (*StatusReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CodeReply)
out := new(StatusReply)
err := c.cc.Invoke(ctx, Basic_AddBankCard_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
@ -119,9 +119,9 @@ func (c *basicClient) GetBankCard(ctx context.Context, in *FinanceEmpty, opts ..
return out, nil
}
func (c *basicClient) RmBankCard(ctx context.Context, in *RmBankCardRequest, opts ...grpc.CallOption) (*CodeReply, error) {
func (c *basicClient) RmBankCard(ctx context.Context, in *RmBankCardRequest, opts ...grpc.CallOption) (*StatusReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CodeReply)
out := new(StatusReply)
err := c.cc.Invoke(ctx, Basic_RmBankCard_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
@ -129,9 +129,9 @@ func (c *basicClient) RmBankCard(ctx context.Context, in *RmBankCardRequest, opt
return out, nil
}
func (c *basicClient) ApplyCash(ctx context.Context, in *ApplyCashRequest, opts ...grpc.CallOption) (*CodeReply, error) {
func (c *basicClient) ApplyCash(ctx context.Context, in *ApplyCashRequest, opts ...grpc.CallOption) (*StatusReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CodeReply)
out := new(StatusReply)
err := c.cc.Invoke(ctx, Basic_ApplyCash_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
@ -146,19 +146,19 @@ type BasicServer interface {
//获取钱包信息
GetWallet(context.Context, *GetWalletRequest) (*GetWalletReply, error)
//设置支付密码
SetPayPassword(context.Context, *SetPayPasswordRequest) (*CodeReply, error)
SetPayPassword(context.Context, *SetPayPasswordRequest) (*StatusReply, error)
//绑定微信或支付宝账户
BindPaymentId(context.Context, *BindPaymentIDRequest) (*CodeReply, error)
BindPaymentId(context.Context, *BindPaymentIDRequest) (*StatusReply, error)
//查询交易记录
Transactions(context.Context, *TransactionsRequest) (*TransactionsReply, error)
//添加银行卡
AddBankCard(context.Context, *AddBankCardRequest) (*CodeReply, error)
AddBankCard(context.Context, *AddBankCardRequest) (*StatusReply, error)
//获取用户银行卡列表
GetBankCard(context.Context, *FinanceEmpty) (*GetBankCardReply, error)
//删除银行卡
RmBankCard(context.Context, *RmBankCardRequest) (*CodeReply, error)
RmBankCard(context.Context, *RmBankCardRequest) (*StatusReply, error)
//申请提现
ApplyCash(context.Context, *ApplyCashRequest) (*CodeReply, error)
ApplyCash(context.Context, *ApplyCashRequest) (*StatusReply, error)
mustEmbedUnimplementedBasicServer()
}
@ -172,25 +172,25 @@ type UnimplementedBasicServer struct{}
func (UnimplementedBasicServer) GetWallet(context.Context, *GetWalletRequest) (*GetWalletReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetWallet not implemented")
}
func (UnimplementedBasicServer) SetPayPassword(context.Context, *SetPayPasswordRequest) (*CodeReply, error) {
func (UnimplementedBasicServer) SetPayPassword(context.Context, *SetPayPasswordRequest) (*StatusReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method SetPayPassword not implemented")
}
func (UnimplementedBasicServer) BindPaymentId(context.Context, *BindPaymentIDRequest) (*CodeReply, error) {
func (UnimplementedBasicServer) BindPaymentId(context.Context, *BindPaymentIDRequest) (*StatusReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method BindPaymentId not implemented")
}
func (UnimplementedBasicServer) Transactions(context.Context, *TransactionsRequest) (*TransactionsReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method Transactions not implemented")
}
func (UnimplementedBasicServer) AddBankCard(context.Context, *AddBankCardRequest) (*CodeReply, error) {
func (UnimplementedBasicServer) AddBankCard(context.Context, *AddBankCardRequest) (*StatusReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method AddBankCard not implemented")
}
func (UnimplementedBasicServer) GetBankCard(context.Context, *FinanceEmpty) (*GetBankCardReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method GetBankCard not implemented")
}
func (UnimplementedBasicServer) RmBankCard(context.Context, *RmBankCardRequest) (*CodeReply, error) {
func (UnimplementedBasicServer) RmBankCard(context.Context, *RmBankCardRequest) (*StatusReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method RmBankCard not implemented")
}
func (UnimplementedBasicServer) ApplyCash(context.Context, *ApplyCashRequest) (*CodeReply, error) {
func (UnimplementedBasicServer) ApplyCash(context.Context, *ApplyCashRequest) (*StatusReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method ApplyCash not implemented")
}
func (UnimplementedBasicServer) mustEmbedUnimplementedBasicServer() {}

View File

@ -1,6 +1,6 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.9
// protoc-gen-go v1.36.8
// protoc (unknown)
// source: wechat.proto

View File

@ -55,8 +55,12 @@ export type CloudBase = {
/** 状态回复 */
export type StatusReply = {
/** 状态码 */
code?: number;
/** 状态说明 */
message?: string;
/** 数据 */
data?: string;
details?: string;
/** 响应时间序列 */
timeseq?: number;
};

View File

@ -36,18 +36,15 @@ export type SearchRequest = {
page_size?: number;
};
/** 标准回执 */
export type StatusReply = {
/** 状态码 */
code?: number;
/** 标识码 */
identity?: string;
/** 状态说明 */
message?: string;
/** 数据 */
details?: string;
/** 响应时间序列 */
timeseq?: number;
/** 数量 */
count?: number;
};
/** 空结构请求 */

View File

@ -164,8 +164,12 @@ export type IdentRequest = {
};
export type StatusReply = {
/** 状态码 */
code?: number;
/** 状态说明 */
message?: string;
/** 数据 */
data?: string;
details?: string;
/** 响应时间序列 */
timeseq?: number;
};

View File

@ -8,11 +8,11 @@ export type Crc = {
export type StatusReply = {
/** 状态码 */
status?: number;
/** 标识码 */
identity?: string;
code?: number;
/** 状态说明 */
message?: string;
/** 数据 */
details?: string;
/** 响应时间序列 */
timeseq?: number;
};

View File

@ -29,8 +29,12 @@ export type SearchRequest = {
};
export type StatusReply = {
/** 状态码 */
code?: number;
/** 状态说明 */
message?: string;
/** 数据 */
data?: string;
details?: string;
/** 响应时间序列 */
timeseq?: number;
};

View File

@ -112,8 +112,12 @@ export type SearchRequest = {
};
export type StatusReply = {
/** 状态码 */
code?: number;
/** 状态说明 */
message?: string;
/** 数据 */
data?: string;
details?: string;
/** 响应时间序列 */
timeseq?: number;
};
@ -392,11 +396,6 @@ export type ApplyCashRequest = {
remark?: string;
};
export type CodeReply = {
/** 状态码 */
code?: number;
};
export interface Basic {
}