Bladeren bron

设置列表

周睿 2 jaren geleden
bovenliggende
commit
8eaa552076

+ 252 - 0
app_business/lib/generated/track_offical.pb.dart

@@ -18,6 +18,134 @@ import 'base.pb.dart' as $0;
 import 'base.pbenum.dart' as $0;
 import 'google/protobuf/timestamp.pb.dart' as $2;
 
+class ToMatchRegusterIsAllowChackEditRequest extends $pb.GeneratedMessage {
+  factory ToMatchRegusterIsAllowChackEditRequest({
+    $core.int? id,
+    $core.bool? isAllowChack,
+  }) {
+    final $result = create();
+    if (id != null) {
+      $result.id = id;
+    }
+    if (isAllowChack != null) {
+      $result.isAllowChack = isAllowChack;
+    }
+    return $result;
+  }
+  ToMatchRegusterIsAllowChackEditRequest._() : super();
+  factory ToMatchRegusterIsAllowChackEditRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+  factory ToMatchRegusterIsAllowChackEditRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+
+  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToMatchRegusterIsAllowChackEditRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
+    ..a<$core.int>(1, _omitFieldNames ? '' : 'id', $pb.PbFieldType.O3)
+    ..aOB(2, _omitFieldNames ? '' : 'isAllowChack', protoName: 'isAllowChack')
+    ..hasRequiredFields = false
+  ;
+
+  @$core.Deprecated(
+  'Using this can add significant overhead to your binary. '
+  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+  'Will be removed in next major version')
+  ToMatchRegusterIsAllowChackEditRequest clone() => ToMatchRegusterIsAllowChackEditRequest()..mergeFromMessage(this);
+  @$core.Deprecated(
+  'Using this can add significant overhead to your binary. '
+  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+  'Will be removed in next major version')
+  ToMatchRegusterIsAllowChackEditRequest copyWith(void Function(ToMatchRegusterIsAllowChackEditRequest) updates) => super.copyWith((message) => updates(message as ToMatchRegusterIsAllowChackEditRequest)) as ToMatchRegusterIsAllowChackEditRequest;
+
+  $pb.BuilderInfo get info_ => _i;
+
+  @$core.pragma('dart2js:noInline')
+  static ToMatchRegusterIsAllowChackEditRequest create() => ToMatchRegusterIsAllowChackEditRequest._();
+  ToMatchRegusterIsAllowChackEditRequest createEmptyInstance() => create();
+  static $pb.PbList<ToMatchRegusterIsAllowChackEditRequest> createRepeated() => $pb.PbList<ToMatchRegusterIsAllowChackEditRequest>();
+  @$core.pragma('dart2js:noInline')
+  static ToMatchRegusterIsAllowChackEditRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToMatchRegusterIsAllowChackEditRequest>(create);
+  static ToMatchRegusterIsAllowChackEditRequest? _defaultInstance;
+
+  @$pb.TagNumber(1)
+  $core.int get id => $_getIZ(0);
+  @$pb.TagNumber(1)
+  set id($core.int v) { $_setSignedInt32(0, v); }
+  @$pb.TagNumber(1)
+  $core.bool hasId() => $_has(0);
+  @$pb.TagNumber(1)
+  void clearId() => clearField(1);
+
+  @$pb.TagNumber(2)
+  $core.bool get isAllowChack => $_getBF(1);
+  @$pb.TagNumber(2)
+  set isAllowChack($core.bool v) { $_setBool(1, v); }
+  @$pb.TagNumber(2)
+  $core.bool hasIsAllowChack() => $_has(1);
+  @$pb.TagNumber(2)
+  void clearIsAllowChack() => clearField(2);
+}
+
+class ToSignInByAppTokenRequest extends $pb.GeneratedMessage {
+  factory ToSignInByAppTokenRequest({
+    $core.String? appToken,
+    $core.String? ip,
+  }) {
+    final $result = create();
+    if (appToken != null) {
+      $result.appToken = appToken;
+    }
+    if (ip != null) {
+      $result.ip = ip;
+    }
+    return $result;
+  }
+  ToSignInByAppTokenRequest._() : super();
+  factory ToSignInByAppTokenRequest.fromBuffer($core.List<$core.int> i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromBuffer(i, r);
+  factory ToSignInByAppTokenRequest.fromJson($core.String i, [$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) => create()..mergeFromJson(i, r);
+
+  static final $pb.BuilderInfo _i = $pb.BuilderInfo(_omitMessageNames ? '' : 'ToSignInByAppTokenRequest', package: const $pb.PackageName(_omitMessageNames ? '' : 'to.v1'), createEmptyInstance: create)
+    ..aOS(1, _omitFieldNames ? '' : 'appToken', protoName: 'appToken')
+    ..aOS(2, _omitFieldNames ? '' : 'ip')
+    ..hasRequiredFields = false
+  ;
+
+  @$core.Deprecated(
+  'Using this can add significant overhead to your binary. '
+  'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
+  'Will be removed in next major version')
+  ToSignInByAppTokenRequest clone() => ToSignInByAppTokenRequest()..mergeFromMessage(this);
+  @$core.Deprecated(
+  'Using this can add significant overhead to your binary. '
+  'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
+  'Will be removed in next major version')
+  ToSignInByAppTokenRequest copyWith(void Function(ToSignInByAppTokenRequest) updates) => super.copyWith((message) => updates(message as ToSignInByAppTokenRequest)) as ToSignInByAppTokenRequest;
+
+  $pb.BuilderInfo get info_ => _i;
+
+  @$core.pragma('dart2js:noInline')
+  static ToSignInByAppTokenRequest create() => ToSignInByAppTokenRequest._();
+  ToSignInByAppTokenRequest createEmptyInstance() => create();
+  static $pb.PbList<ToSignInByAppTokenRequest> createRepeated() => $pb.PbList<ToSignInByAppTokenRequest>();
+  @$core.pragma('dart2js:noInline')
+  static ToSignInByAppTokenRequest getDefault() => _defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<ToSignInByAppTokenRequest>(create);
+  static ToSignInByAppTokenRequest? _defaultInstance;
+
+  @$pb.TagNumber(1)
+  $core.String get appToken => $_getSZ(0);
+  @$pb.TagNumber(1)
+  set appToken($core.String v) { $_setString(0, v); }
+  @$pb.TagNumber(1)
+  $core.bool hasAppToken() => $_has(0);
+  @$pb.TagNumber(1)
+  void clearAppToken() => clearField(1);
+
+  @$pb.TagNumber(2)
+  $core.String get ip => $_getSZ(1);
+  @$pb.TagNumber(2)
+  set ip($core.String v) { $_setString(1, v); }
+  @$pb.TagNumber(2)
+  $core.bool hasIp() => $_has(1);
+  @$pb.TagNumber(2)
+  void clearIp() => clearField(2);
+}
+
 class ToActivityRulesSaveRequest extends $pb.GeneratedMessage {
   factory ToActivityRulesSaveRequest({
     $core.Iterable<ToActivityRulesSaveInfo>? list,
@@ -528,6 +656,8 @@ class ToMatchRegusterEditRequest extends $pb.GeneratedMessage {
     $2.Timestamp? stopAt,
     $core.bool? isQueryPwd,
     $core.String? queryPasswd,
+    $2.Timestamp? bShowTime,
+    $2.Timestamp? eShowTime,
   }) {
     final $result = create();
     if (id != null) {
@@ -548,6 +678,12 @@ class ToMatchRegusterEditRequest extends $pb.GeneratedMessage {
     if (queryPasswd != null) {
       $result.queryPasswd = queryPasswd;
     }
+    if (bShowTime != null) {
+      $result.bShowTime = bShowTime;
+    }
+    if (eShowTime != null) {
+      $result.eShowTime = eShowTime;
+    }
     return $result;
   }
   ToMatchRegusterEditRequest._() : super();
@@ -561,6 +697,8 @@ class ToMatchRegusterEditRequest extends $pb.GeneratedMessage {
     ..aOM<$2.Timestamp>(4, _omitFieldNames ? '' : 'stopAt', subBuilder: $2.Timestamp.create)
     ..aOB(5, _omitFieldNames ? '' : 'isQueryPwd', protoName: 'isQueryPwd')
     ..aOS(6, _omitFieldNames ? '' : 'queryPasswd', protoName: 'queryPasswd')
+    ..aOM<$2.Timestamp>(7, _omitFieldNames ? '' : 'bShowTime', protoName: 'bShowTime', subBuilder: $2.Timestamp.create)
+    ..aOM<$2.Timestamp>(8, _omitFieldNames ? '' : 'eShowTime', protoName: 'eShowTime', subBuilder: $2.Timestamp.create)
     ..hasRequiredFields = false
   ;
 
@@ -643,6 +781,28 @@ class ToMatchRegusterEditRequest extends $pb.GeneratedMessage {
   $core.bool hasQueryPasswd() => $_has(5);
   @$pb.TagNumber(6)
   void clearQueryPasswd() => clearField(6);
+
+  @$pb.TagNumber(7)
+  $2.Timestamp get bShowTime => $_getN(6);
+  @$pb.TagNumber(7)
+  set bShowTime($2.Timestamp v) { setField(7, v); }
+  @$pb.TagNumber(7)
+  $core.bool hasBShowTime() => $_has(6);
+  @$pb.TagNumber(7)
+  void clearBShowTime() => clearField(7);
+  @$pb.TagNumber(7)
+  $2.Timestamp ensureBShowTime() => $_ensure(6);
+
+  @$pb.TagNumber(8)
+  $2.Timestamp get eShowTime => $_getN(7);
+  @$pb.TagNumber(8)
+  set eShowTime($2.Timestamp v) { setField(8, v); }
+  @$pb.TagNumber(8)
+  $core.bool hasEShowTime() => $_has(7);
+  @$pb.TagNumber(8)
+  void clearEShowTime() => clearField(8);
+  @$pb.TagNumber(8)
+  $2.Timestamp ensureEShowTime() => $_ensure(7);
 }
 
 class ToCourseListReply extends $pb.GeneratedMessage {
@@ -809,6 +969,10 @@ class MatchRegusterInfo extends $pb.GeneratedMessage {
     $core.int? state,
     $core.String? matchBt,
     $core.String? matchEt,
+    $2.Timestamp? bShowTime,
+    $2.Timestamp? eShowTime,
+    $core.bool? isAllowChack,
+    $core.bool? allowChackBtnAble,
   }) {
     final $result = create();
     if (id != null) {
@@ -841,6 +1005,18 @@ class MatchRegusterInfo extends $pb.GeneratedMessage {
     if (matchEt != null) {
       $result.matchEt = matchEt;
     }
+    if (bShowTime != null) {
+      $result.bShowTime = bShowTime;
+    }
+    if (eShowTime != null) {
+      $result.eShowTime = eShowTime;
+    }
+    if (isAllowChack != null) {
+      $result.isAllowChack = isAllowChack;
+    }
+    if (allowChackBtnAble != null) {
+      $result.allowChackBtnAble = allowChackBtnAble;
+    }
     return $result;
   }
   MatchRegusterInfo._() : super();
@@ -858,6 +1034,10 @@ class MatchRegusterInfo extends $pb.GeneratedMessage {
     ..a<$core.int>(8, _omitFieldNames ? '' : 'state', $pb.PbFieldType.O3)
     ..aOS(9, _omitFieldNames ? '' : 'MatchBt', protoName: 'MatchBt')
     ..aOS(10, _omitFieldNames ? '' : 'MatchEt', protoName: 'MatchEt')
+    ..aOM<$2.Timestamp>(11, _omitFieldNames ? '' : 'bShowTime', protoName: 'bShowTime', subBuilder: $2.Timestamp.create)
+    ..aOM<$2.Timestamp>(12, _omitFieldNames ? '' : 'eShowTime', protoName: 'eShowTime', subBuilder: $2.Timestamp.create)
+    ..aOB(13, _omitFieldNames ? '' : 'isAllowChack', protoName: 'isAllowChack')
+    ..aOB(14, _omitFieldNames ? '' : 'allowChackBtnAble', protoName: 'allowChackBtnAble')
     ..hasRequiredFields = false
   ;
 
@@ -965,6 +1145,46 @@ class MatchRegusterInfo extends $pb.GeneratedMessage {
   $core.bool hasMatchEt() => $_has(9);
   @$pb.TagNumber(10)
   void clearMatchEt() => clearField(10);
+
+  @$pb.TagNumber(11)
+  $2.Timestamp get bShowTime => $_getN(10);
+  @$pb.TagNumber(11)
+  set bShowTime($2.Timestamp v) { setField(11, v); }
+  @$pb.TagNumber(11)
+  $core.bool hasBShowTime() => $_has(10);
+  @$pb.TagNumber(11)
+  void clearBShowTime() => clearField(11);
+  @$pb.TagNumber(11)
+  $2.Timestamp ensureBShowTime() => $_ensure(10);
+
+  @$pb.TagNumber(12)
+  $2.Timestamp get eShowTime => $_getN(11);
+  @$pb.TagNumber(12)
+  set eShowTime($2.Timestamp v) { setField(12, v); }
+  @$pb.TagNumber(12)
+  $core.bool hasEShowTime() => $_has(11);
+  @$pb.TagNumber(12)
+  void clearEShowTime() => clearField(12);
+  @$pb.TagNumber(12)
+  $2.Timestamp ensureEShowTime() => $_ensure(11);
+
+  @$pb.TagNumber(13)
+  $core.bool get isAllowChack => $_getBF(12);
+  @$pb.TagNumber(13)
+  set isAllowChack($core.bool v) { $_setBool(12, v); }
+  @$pb.TagNumber(13)
+  $core.bool hasIsAllowChack() => $_has(12);
+  @$pb.TagNumber(13)
+  void clearIsAllowChack() => clearField(13);
+
+  @$pb.TagNumber(14)
+  $core.bool get allowChackBtnAble => $_getBF(13);
+  @$pb.TagNumber(14)
+  set allowChackBtnAble($core.bool v) { $_setBool(13, v); }
+  @$pb.TagNumber(14)
+  $core.bool hasAllowChackBtnAble() => $_has(13);
+  @$pb.TagNumber(14)
+  void clearAllowChackBtnAble() => clearField(14);
 }
 
 ///
@@ -1177,6 +1397,8 @@ class ToMatchRegusterAddRequest extends $pb.GeneratedMessage {
     $core.int? actId,
     $core.bool? isQueryPwd,
     $core.String? queryPasswd,
+    $2.Timestamp? bShowTime,
+    $2.Timestamp? eShowTime,
   }) {
     final $result = create();
     if (regName != null) {
@@ -1197,6 +1419,12 @@ class ToMatchRegusterAddRequest extends $pb.GeneratedMessage {
     if (queryPasswd != null) {
       $result.queryPasswd = queryPasswd;
     }
+    if (bShowTime != null) {
+      $result.bShowTime = bShowTime;
+    }
+    if (eShowTime != null) {
+      $result.eShowTime = eShowTime;
+    }
     return $result;
   }
   ToMatchRegusterAddRequest._() : super();
@@ -1210,6 +1438,8 @@ class ToMatchRegusterAddRequest extends $pb.GeneratedMessage {
     ..a<$core.int>(4, _omitFieldNames ? '' : 'actId', $pb.PbFieldType.O3, protoName: 'actId')
     ..aOB(5, _omitFieldNames ? '' : 'isQueryPwd', protoName: 'isQueryPwd')
     ..aOS(6, _omitFieldNames ? '' : 'queryPasswd', protoName: 'queryPasswd')
+    ..aOM<$2.Timestamp>(7, _omitFieldNames ? '' : 'bShowTime', protoName: 'bShowTime', subBuilder: $2.Timestamp.create)
+    ..aOM<$2.Timestamp>(8, _omitFieldNames ? '' : 'eShowTime', protoName: 'eShowTime', subBuilder: $2.Timestamp.create)
     ..hasRequiredFields = false
   ;
 
@@ -1291,6 +1521,28 @@ class ToMatchRegusterAddRequest extends $pb.GeneratedMessage {
   $core.bool hasQueryPasswd() => $_has(5);
   @$pb.TagNumber(6)
   void clearQueryPasswd() => clearField(6);
+
+  @$pb.TagNumber(7)
+  $2.Timestamp get bShowTime => $_getN(6);
+  @$pb.TagNumber(7)
+  set bShowTime($2.Timestamp v) { setField(7, v); }
+  @$pb.TagNumber(7)
+  $core.bool hasBShowTime() => $_has(6);
+  @$pb.TagNumber(7)
+  void clearBShowTime() => clearField(7);
+  @$pb.TagNumber(7)
+  $2.Timestamp ensureBShowTime() => $_ensure(6);
+
+  @$pb.TagNumber(8)
+  $2.Timestamp get eShowTime => $_getN(7);
+  @$pb.TagNumber(8)
+  set eShowTime($2.Timestamp v) { setField(8, v); }
+  @$pb.TagNumber(8)
+  $core.bool hasEShowTime() => $_has(7);
+  @$pb.TagNumber(8)
+  void clearEShowTime() => clearField(8);
+  @$pb.TagNumber(8)
+  $2.Timestamp ensureEShowTime() => $_ensure(7);
 }
 
 

+ 40 - 0
app_business/lib/generated/track_offical.pbgrpc.dart

@@ -34,6 +34,10 @@ class ApiToClient extends $grpc.Client {
       '/to.v1.ApiTo/ToSignInV2',
       ($0.ToSignInRequestV2 value) => value.writeToBuffer(),
       ($core.List<$core.int> value) => $0.SignInReply.fromBuffer(value));
+  static final _$toSignInByAppToken = $grpc.ClientMethod<$1.ToSignInByAppTokenRequest, $0.SignInReply>(
+      '/to.v1.ApiTo/ToSignInByAppToken',
+      ($1.ToSignInByAppTokenRequest value) => value.writeToBuffer(),
+      ($core.List<$core.int> value) => $0.SignInReply.fromBuffer(value));
   static final _$toSignOutV2 = $grpc.ClientMethod<$0.DefaultRequest, $0.DefaultReply>(
       '/to.v1.ApiTo/ToSignOutV2',
       ($0.DefaultRequest value) => value.writeToBuffer(),
@@ -94,6 +98,10 @@ class ApiToClient extends $grpc.Client {
       '/to.v1.ApiTo/ToMatchRegusterEdit',
       ($1.ToMatchRegusterEditRequest value) => value.writeToBuffer(),
       ($core.List<$core.int> value) => $0.DefaultReply.fromBuffer(value));
+  static final _$toMatchRegusterIsAllowChackEdit = $grpc.ClientMethod<$1.ToMatchRegusterIsAllowChackEditRequest, $0.DefaultReply>(
+      '/to.v1.ApiTo/ToMatchRegusterIsAllowChackEdit',
+      ($1.ToMatchRegusterIsAllowChackEditRequest value) => value.writeToBuffer(),
+      ($core.List<$core.int> value) => $0.DefaultReply.fromBuffer(value));
   static final _$toMatchRegusterDel = $grpc.ClientMethod<$0.IdRequest, $0.DefaultReply>(
       '/to.v1.ApiTo/ToMatchRegusterDel',
       ($0.IdRequest value) => value.writeToBuffer(),
@@ -173,6 +181,10 @@ class ApiToClient extends $grpc.Client {
     return $createUnaryCall(_$toSignInV2, request, options: options);
   }
 
+  $grpc.ResponseFuture<$0.SignInReply> toSignInByAppToken($1.ToSignInByAppTokenRequest request, {$grpc.CallOptions? options}) {
+    return $createUnaryCall(_$toSignInByAppToken, request, options: options);
+  }
+
   $grpc.ResponseFuture<$0.DefaultReply> toSignOutV2($0.DefaultRequest request, {$grpc.CallOptions? options}) {
     return $createUnaryCall(_$toSignOutV2, request, options: options);
   }
@@ -233,6 +245,10 @@ class ApiToClient extends $grpc.Client {
     return $createUnaryCall(_$toMatchRegusterEdit, request, options: options);
   }
 
+  $grpc.ResponseFuture<$0.DefaultReply> toMatchRegusterIsAllowChackEdit($1.ToMatchRegusterIsAllowChackEditRequest request, {$grpc.CallOptions? options}) {
+    return $createUnaryCall(_$toMatchRegusterIsAllowChackEdit, request, options: options);
+  }
+
   $grpc.ResponseFuture<$0.DefaultReply> toMatchRegusterDel($0.IdRequest request, {$grpc.CallOptions? options}) {
     return $createUnaryCall(_$toMatchRegusterDel, request, options: options);
   }
@@ -320,6 +336,13 @@ abstract class ApiToServiceBase extends $grpc.Service {
         false,
         ($core.List<$core.int> value) => $0.ToSignInRequestV2.fromBuffer(value),
         ($0.SignInReply value) => value.writeToBuffer()));
+    $addMethod($grpc.ServiceMethod<$1.ToSignInByAppTokenRequest, $0.SignInReply>(
+        'ToSignInByAppToken',
+        toSignInByAppToken_Pre,
+        false,
+        false,
+        ($core.List<$core.int> value) => $1.ToSignInByAppTokenRequest.fromBuffer(value),
+        ($0.SignInReply value) => value.writeToBuffer()));
     $addMethod($grpc.ServiceMethod<$0.DefaultRequest, $0.DefaultReply>(
         'ToSignOutV2',
         toSignOutV2_Pre,
@@ -425,6 +448,13 @@ abstract class ApiToServiceBase extends $grpc.Service {
         false,
         ($core.List<$core.int> value) => $1.ToMatchRegusterEditRequest.fromBuffer(value),
         ($0.DefaultReply value) => value.writeToBuffer()));
+    $addMethod($grpc.ServiceMethod<$1.ToMatchRegusterIsAllowChackEditRequest, $0.DefaultReply>(
+        'ToMatchRegusterIsAllowChackEdit',
+        toMatchRegusterIsAllowChackEdit_Pre,
+        false,
+        false,
+        ($core.List<$core.int> value) => $1.ToMatchRegusterIsAllowChackEditRequest.fromBuffer(value),
+        ($0.DefaultReply value) => value.writeToBuffer()));
     $addMethod($grpc.ServiceMethod<$0.IdRequest, $0.DefaultReply>(
         'ToMatchRegusterDel',
         toMatchRegusterDel_Pre,
@@ -544,6 +574,10 @@ abstract class ApiToServiceBase extends $grpc.Service {
     return toSignInV2(call, await request);
   }
 
+  $async.Future<$0.SignInReply> toSignInByAppToken_Pre($grpc.ServiceCall call, $async.Future<$1.ToSignInByAppTokenRequest> request) async {
+    return toSignInByAppToken(call, await request);
+  }
+
   $async.Future<$0.DefaultReply> toSignOutV2_Pre($grpc.ServiceCall call, $async.Future<$0.DefaultRequest> request) async {
     return toSignOutV2(call, await request);
   }
@@ -604,6 +638,10 @@ abstract class ApiToServiceBase extends $grpc.Service {
     return toMatchRegusterEdit(call, await request);
   }
 
+  $async.Future<$0.DefaultReply> toMatchRegusterIsAllowChackEdit_Pre($grpc.ServiceCall call, $async.Future<$1.ToMatchRegusterIsAllowChackEditRequest> request) async {
+    return toMatchRegusterIsAllowChackEdit(call, await request);
+  }
+
   $async.Future<$0.DefaultReply> toMatchRegusterDel_Pre($grpc.ServiceCall call, $async.Future<$0.IdRequest> request) async {
     return toMatchRegusterDel(call, await request);
   }
@@ -667,6 +705,7 @@ abstract class ApiToServiceBase extends $grpc.Service {
   $async.Future<$0.DefaultReply> toSendCodeToPhoneV2($grpc.ServiceCall call, $0.ToSendCodeToPhoneRequestV2 request);
   $async.Future<$0.GetSmsSendLeftTimeReply> toGetSmsSendLeftTimeV2($grpc.ServiceCall call, $0.GetSmsSendLeftTimeRequest request);
   $async.Future<$0.SignInReply> toSignInV2($grpc.ServiceCall call, $0.ToSignInRequestV2 request);
+  $async.Future<$0.SignInReply> toSignInByAppToken($grpc.ServiceCall call, $1.ToSignInByAppTokenRequest request);
   $async.Future<$0.DefaultReply> toSignOutV2($grpc.ServiceCall call, $0.DefaultRequest request);
   $async.Future<$0.GetServerTimeRp> toGetServerTime($grpc.ServiceCall call, $0.DefaultRequest request);
   $async.Future<$0.ToGetUpdateVersionReply> toGetUpdateVersion($grpc.ServiceCall call, $0.ToGetUpdateVersionRequest request);
@@ -682,6 +721,7 @@ abstract class ApiToServiceBase extends $grpc.Service {
   $async.Future<$1.ToActivityListReply> toActivitySelectList($grpc.ServiceCall call, $0.IdRequest request);
   $async.Future<$0.DefaultReply> toMatchRegusterAdd($grpc.ServiceCall call, $1.ToMatchRegusterAddRequest request);
   $async.Future<$0.DefaultReply> toMatchRegusterEdit($grpc.ServiceCall call, $1.ToMatchRegusterEditRequest request);
+  $async.Future<$0.DefaultReply> toMatchRegusterIsAllowChackEdit($grpc.ServiceCall call, $1.ToMatchRegusterIsAllowChackEditRequest request);
   $async.Future<$0.DefaultReply> toMatchRegusterDel($grpc.ServiceCall call, $0.IdRequest request);
   $async.Future<$1.ToMatchRegusterListReply> toMatchRegusterList($grpc.ServiceCall call, $1.ToMatchRegusterListRequest request);
   $async.Future<$0.DefaultReply> matchChackInsDel($grpc.ServiceCall call, $0.IdRequest request);

+ 47 - 3
app_business/lib/generated/track_offical.pbjson.dart

@@ -13,6 +13,34 @@ import 'dart:convert' as $convert;
 import 'dart:core' as $core;
 import 'dart:typed_data' as $typed_data;
 
+@$core.Deprecated('Use toMatchRegusterIsAllowChackEditRequestDescriptor instead')
+const ToMatchRegusterIsAllowChackEditRequest$json = {
+  '1': 'ToMatchRegusterIsAllowChackEditRequest',
+  '2': [
+    {'1': 'id', '3': 1, '4': 1, '5': 5, '10': 'id'},
+    {'1': 'isAllowChack', '3': 2, '4': 1, '5': 8, '10': 'isAllowChack'},
+  ],
+};
+
+/// Descriptor for `ToMatchRegusterIsAllowChackEditRequest`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List toMatchRegusterIsAllowChackEditRequestDescriptor = $convert.base64Decode(
+    'CiZUb01hdGNoUmVndXN0ZXJJc0FsbG93Q2hhY2tFZGl0UmVxdWVzdBIOCgJpZBgBIAEoBVICaW'
+    'QSIgoMaXNBbGxvd0NoYWNrGAIgASgIUgxpc0FsbG93Q2hhY2s=');
+
+@$core.Deprecated('Use toSignInByAppTokenRequestDescriptor instead')
+const ToSignInByAppTokenRequest$json = {
+  '1': 'ToSignInByAppTokenRequest',
+  '2': [
+    {'1': 'appToken', '3': 1, '4': 1, '5': 9, '10': 'appToken'},
+    {'1': 'ip', '3': 2, '4': 1, '5': 9, '10': 'ip'},
+  ],
+};
+
+/// Descriptor for `ToSignInByAppTokenRequest`. Decode as a `google.protobuf.DescriptorProto`.
+final $typed_data.Uint8List toSignInByAppTokenRequestDescriptor = $convert.base64Decode(
+    'ChlUb1NpZ25JbkJ5QXBwVG9rZW5SZXF1ZXN0EhoKCGFwcFRva2VuGAEgASgJUghhcHBUb2tlbh'
+    'IOCgJpcBgCIAEoCVICaXA=');
+
 @$core.Deprecated('Use toActivityRulesSaveRequestDescriptor instead')
 const ToActivityRulesSaveRequest$json = {
   '1': 'ToActivityRulesSaveRequest',
@@ -138,6 +166,8 @@ const ToMatchRegusterEditRequest$json = {
     {'1': 'stop_at', '3': 4, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'stopAt'},
     {'1': 'isQueryPwd', '3': 5, '4': 1, '5': 8, '10': 'isQueryPwd'},
     {'1': 'queryPasswd', '3': 6, '4': 1, '5': 9, '10': 'queryPasswd'},
+    {'1': 'bShowTime', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'bShowTime'},
+    {'1': 'eShowTime', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'eShowTime'},
   ],
 };
 
@@ -147,7 +177,9 @@ final $typed_data.Uint8List toMatchRegusterEditRequestDescriptor = $convert.base
     'gCIAEoCVIHcmVnTmFtZRI1CghzdGFydF9hdBgDIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1l'
     'c3RhbXBSB3N0YXJ0QXQSMwoHc3RvcF9hdBgEIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3'
     'RhbXBSBnN0b3BBdBIeCgppc1F1ZXJ5UHdkGAUgASgIUgppc1F1ZXJ5UHdkEiAKC3F1ZXJ5UGFz'
-    'c3dkGAYgASgJUgtxdWVyeVBhc3N3ZA==');
+    'c3dkGAYgASgJUgtxdWVyeVBhc3N3ZBI4CgliU2hvd1RpbWUYByABKAsyGi5nb29nbGUucHJvdG'
+    '9idWYuVGltZXN0YW1wUgliU2hvd1RpbWUSOAoJZVNob3dUaW1lGAggASgLMhouZ29vZ2xlLnBy'
+    'b3RvYnVmLlRpbWVzdGFtcFIJZVNob3dUaW1l');
 
 @$core.Deprecated('Use toCourseListReplyDescriptor instead')
 const ToCourseListReply$json = {
@@ -203,6 +235,10 @@ const MatchRegusterInfo$json = {
     {'1': 'state', '3': 8, '4': 1, '5': 5, '10': 'state'},
     {'1': 'MatchBt', '3': 9, '4': 1, '5': 9, '10': 'MatchBt'},
     {'1': 'MatchEt', '3': 10, '4': 1, '5': 9, '10': 'MatchEt'},
+    {'1': 'bShowTime', '3': 11, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'bShowTime'},
+    {'1': 'eShowTime', '3': 12, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'eShowTime'},
+    {'1': 'isAllowChack', '3': 13, '4': 1, '5': 8, '10': 'isAllowChack'},
+    {'1': 'allowChackBtnAble', '3': 14, '4': 1, '5': 8, '10': 'allowChackBtnAble'},
   ],
 };
 
@@ -213,7 +249,11 @@ final $typed_data.Uint8List matchRegusterInfoDescriptor = $convert.base64Decode(
     'Q29kZRIgCgtpc0FsbG93RWRpdBgFIAEoCFILaXNBbGxvd0VkaXQSHgoKaXNBbGxvd0RlbBgGIA'
     'EoCFIKaXNBbGxvd0RlbBIxCgh1c2VyTGlzdBgHIAMoCzIVLnRvLnYxLlRvQ2hhY2tJbnNJbmZv'
     'Ugh1c2VyTGlzdBIUCgVzdGF0ZRgIIAEoBVIFc3RhdGUSGAoHTWF0Y2hCdBgJIAEoCVIHTWF0Y2'
-    'hCdBIYCgdNYXRjaEV0GAogASgJUgdNYXRjaEV0');
+    'hCdBIYCgdNYXRjaEV0GAogASgJUgdNYXRjaEV0EjgKCWJTaG93VGltZRgLIAEoCzIaLmdvb2ds'
+    'ZS5wcm90b2J1Zi5UaW1lc3RhbXBSCWJTaG93VGltZRI4CgllU2hvd1RpbWUYDCABKAsyGi5nb2'
+    '9nbGUucHJvdG9idWYuVGltZXN0YW1wUgllU2hvd1RpbWUSIgoMaXNBbGxvd0NoYWNrGA0gASgI'
+    'Ugxpc0FsbG93Q2hhY2sSLAoRYWxsb3dDaGFja0J0bkFibGUYDiABKAhSEWFsbG93Q2hhY2tCdG'
+    '5BYmxl');
 
 @$core.Deprecated('Use toChackInsInfoDescriptor instead')
 const ToChackInsInfo$json = {
@@ -252,6 +292,8 @@ const ToMatchRegusterAddRequest$json = {
     {'1': 'actId', '3': 4, '4': 1, '5': 5, '10': 'actId'},
     {'1': 'isQueryPwd', '3': 5, '4': 1, '5': 8, '10': 'isQueryPwd'},
     {'1': 'queryPasswd', '3': 6, '4': 1, '5': 9, '10': 'queryPasswd'},
+    {'1': 'bShowTime', '3': 7, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'bShowTime'},
+    {'1': 'eShowTime', '3': 8, '4': 1, '5': 11, '6': '.google.protobuf.Timestamp', '10': 'eShowTime'},
   ],
 };
 
@@ -261,5 +303,7 @@ final $typed_data.Uint8List toMatchRegusterAddRequestDescriptor = $convert.base6
     'oIc3RhcnRfYXQYAiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgdzdGFydEF0EjMK'
     'B3N0b3BfYXQYAyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wUgZzdG9wQXQSFAoFYW'
     'N0SWQYBCABKAVSBWFjdElkEh4KCmlzUXVlcnlQd2QYBSABKAhSCmlzUXVlcnlQd2QSIAoLcXVl'
-    'cnlQYXNzd2QYBiABKAlSC3F1ZXJ5UGFzc3dk');
+    'cnlQYXNzd2QYBiABKAlSC3F1ZXJ5UGFzc3dkEjgKCWJTaG93VGltZRgHIAEoCzIaLmdvb2dsZS'
+    '5wcm90b2J1Zi5UaW1lc3RhbXBSCWJTaG93VGltZRI4CgllU2hvd1RpbWUYCCABKAsyGi5nb29n'
+    'bGUucHJvdG9idWYuVGltZXN0YW1wUgllU2hvd1RpbWU=');
 

+ 4 - 1
app_business/lib/service/api.dart

@@ -18,7 +18,10 @@ export 'package:app_business/generated/base.pb.dart'
     show DefaultRequest, IdRequest, IdArrRequest;
 export 'package:app_business/generated/google/protobuf/timestamp.pb.dart';
 export 'package:app_business/generated/track_offical.pbgrpc.dart'
-    show ToMatchRegusterAddRequest, ToMatchRegusterListRequest;
+    show
+        ToMatchRegusterAddRequest,
+        ToMatchRegusterListRequest,
+        ToMatchRegusterIsAllowChackEditRequest;
 export 'package:fixnum/fixnum.dart' show Int64;
 
 typedef SmsType = pb.SmsType;

+ 118 - 19
app_business/lib/view/home/dialog_event_register.dart

@@ -39,7 +39,11 @@ class RegisterDialogController extends GetxController {
   var password = '';
   late final int mapId;
   late final Iterable<EventInfo>? eventList;
-  late final _args;
+  late final Object _args;
+
+  DateTime? showDate;
+  TimeOfDay? showStartAt;
+  TimeOfDay? showEndAt;
 
   String? get dateString {
     final d = date.value;
@@ -71,6 +75,18 @@ class RegisterDialogController extends GetxController {
     }
     super.onInit();
   }
+
+  void updateShowTime(DateTime? date, TimeOfDay? startAt, TimeOfDay? endAt) {
+    if (date != null) {
+      showDate = date;
+    }
+    if (startAt != null) {
+      showStartAt = startAt;
+    }
+    if (endAt != null) {
+      showEndAt = endAt;
+    }
+  }
 }
 
 class RegisterDialog extends GetView<RegisterDialogController> {
@@ -148,6 +164,12 @@ class RegisterDialog extends GetView<RegisterDialogController> {
                       }))),
             ]),
             const SizedBox(height: 21.34),
+            // _DateTimeSelect(
+            //     title: '显示时间',
+            //     date: c.showDate,
+            //     startAt: c.showStartAt,
+            //     endAt: c.showEndAt,
+            //     onChanged: c.updateShowTime),
             Row(
               mainAxisSize: MainAxisSize.min,
               children: [
@@ -248,26 +270,25 @@ class RegisterDialog extends GetView<RegisterDialogController> {
           ..password =
               controller.hasPassword.value ? controller.password : null);
   }
+}
 
-  Future<TimeOfDay?> _showTimePicker(
-      BuildContext context, TimeOfDay? init) async {
-    final TimeOfDay? time = await showTimePicker(
-      context: context,
-      initialTime: init ?? TimeOfDay.now(),
-    );
-    return time;
-  }
+Future<TimeOfDay?> _showTimePicker(
+    BuildContext context, TimeOfDay? init) async {
+  final TimeOfDay? time = await showTimePicker(
+    context: context,
+    initialTime: init ?? TimeOfDay.now(),
+  );
+  return time;
+}
 
-  Future<DateTime?> _showDatePicker(
-      BuildContext context, DateTime? init) async {
-    final DateTime? time = await showDatePicker(
-      context: context,
-      initialDate: init ?? DateTime.now(),
-      firstDate: DateTime.now(),
-      lastDate: DateTime.now().add(365.days),
-    );
-    return time;
-  }
+Future<DateTime?> _showDatePicker(BuildContext context, DateTime? init) async {
+  final DateTime? time = await showDatePicker(
+    context: context,
+    initialDate: init ?? DateTime.now(),
+    firstDate: DateTime.now(),
+    lastDate: DateTime.now().add(365.days),
+  );
+  return time;
 }
 
 final textBorder = OutlineInputBorder(
@@ -308,3 +329,81 @@ class _TextField extends StatelessWidget {
     );
   }
 }
+
+class _DateTimeSelect extends StatefulWidget {
+  const _DateTimeSelect(
+      {required this.title,
+      this.date,
+      this.startAt,
+      this.endAt,
+      required this.onChanged});
+
+  final String title;
+  final DateTime? date;
+  final TimeOfDay? startAt;
+  final TimeOfDay? endAt;
+  final void Function(DateTime? date, TimeOfDay? startAt, TimeOfDay? endAt)
+      onChanged;
+
+  @override
+  State<StatefulWidget> createState() {
+    return _DateTimeSelectState();
+  }
+}
+
+class _DateTimeSelectState extends State<_DateTimeSelect> {
+  DateTime? date;
+  TimeOfDay? startAt;
+  TimeOfDay? endAt;
+
+  String? dateString(DateTime? d) {
+    if (d != null) {
+      return '${d.month}/${d.day}';
+    }
+    return null;
+  }
+
+  @override
+  Widget build(BuildContext context) {
+    return Column(
+      mainAxisSize: MainAxisSize.min,
+      children: [
+        Text(widget.title),
+        Row(children: [
+          Expanded(
+              child: Obx(() => _TextField(
+                  hint: '日期',
+                  readOnly: true,
+                  initText: dateString(date),
+                  onTap: () async {
+                    date = await _showDatePicker(context, date);
+                    setState(() {});
+                    widget.onChanged(date, null, null);
+                  }))),
+          const SizedBox(width: 15.64),
+          Expanded(
+              child: Obx(() => _TextField(
+                  hint: '开始时间',
+                  readOnly: true,
+                  initText: startAt?.format(context),
+                  onTap: () async {
+                    startAt = await _showTimePicker(context, startAt);
+                    setState(() {});
+                    widget.onChanged(null, startAt, null);
+                  }))),
+          const SizedBox(width: 15.64),
+          Expanded(
+              child: Obx(() => _TextField(
+                  hint: '结束时间',
+                  readOnly: true,
+                  initText: endAt?.format(context),
+                  onTap: () async {
+                    endAt = await _showTimePicker(context, endAt);
+                    setState(() {});
+                    widget.onChanged(null, null, endAt);
+                  }))),
+        ]),
+      ],
+    );
+  }
+}

+ 46 - 27
app_business/lib/view/home/event_manage/event_manage.dart

@@ -1,5 +1,6 @@
 import 'package:app_business/service/api.dart';
 import 'package:app_business/view/home/dialog_event_register.dart';
+import 'package:intl/intl.dart';
 import 'package:pretty_qr_code/pretty_qr_code.dart';
 import 'package:track_common/model/event_state.dart';
 import 'package:track_common/utils.dart';
@@ -73,18 +74,6 @@ class EventManage extends GetView<EventManagerController> {
   Future<void> doAll(
       BuildContext context, String title, Future<void> Function() then) async {
     context.doOptWithAskDialog(title, then);
-
-    // Get.dialog(AppDialog(
-    //     title: Text('确认$title?'),
-    //     onCancelText: '取消',
-    //     onConfirmText: '确认',
-    //     onConfirm: () => context.doCall(() async {
-    //           await then();
-    //           if (context.mounted) {
-    //             ScaffoldMessenger.of(context)
-    //                 .showSnackBar(const SnackBar(content: Text('操作成功')));
-    //           }
-    //         }, onFinally: () => Get.back())));
   }
 
   Widget wDate(BuildContext context) {
@@ -376,21 +365,37 @@ class EventTitle extends GetView<EventManagerController> {
 
   @override
   Widget build(BuildContext context) {
+    const subStyle = TextStyle(
+        fontSize: 9.9, fontWeight: FontWeight.w500, color: Color(0xff818181));
+
+    final fmt = NumberFormat("#00");
+    final showTime =
+        '${data.showStartAt.year}-${fmt.format(data.showStartAt.month)}-${fmt.format(data.showStartAt.day)} '
+        '${fmt.format(data.showStartAt.hour)}:${fmt.format(data.showStartAt.minute)} - '
+        '${fmt.format(data.showEndAt.hour)}:${fmt.format(data.showEndAt.minute)}';
+
     var children = <Widget>[
       AppTitleList(
         title: data.name,
         tail: Text('${data.userList.length}'),
-        subtitle: Text.rich(TextSpan(
-            text: '比赛时间:${data.startAt} - ${data.endAt}  ',
-            style: const TextStyle(
-                fontSize: 9.9,
-                fontWeight: FontWeight.w500,
-                color: Color(0xff818181)),
+        height: 69,
+        subtitle: Column(
+            crossAxisAlignment: CrossAxisAlignment.start,
+            mainAxisSize: MainAxisSize.min,
             children: [
-              TextSpan(
-                  text: data.state.toString(),
-                  style: TextStyle(color: data.state.toColor()))
-            ])),
+              Text.rich(TextSpan(
+                  text: '比赛时间:${data.startAt} - ${data.endAt}  ',
+                  style: subStyle,
+                  children: [
+                    TextSpan(
+                        text: data.state.toString(),
+                        style: TextStyle(color: data.state.toColor()))
+                  ])),
+              Text(
+                '显示时间:$showTime',
+                style: subStyle,
+              )
+            ]),
         isSelected: selected,
         onTap: onTap,
       )
@@ -453,12 +458,26 @@ class EventTitle extends GetView<EventManagerController> {
                   ],
                 )),
             const SizedBox(height: 24),
-            SizedBox.square(
-                dimension: 128, child: PrettyQrView.data(data: data.qrCode)),
+            if (data.isCheckEnable)
+              SizedBox.square(
+                  dimension: 128, child: PrettyQrView.data(data: data.qrCode)),
             const SizedBox(height: 12),
-            const Text(
-              '用彩图奔跑APP扫码签到',
-              style: TextStyle(color: Colors.red, fontSize: 14.22),
+            if (data.isCheckEnable)
+              const Text(
+                '用彩图奔跑APP扫码签到',
+                style: TextStyle(color: Colors.red, fontSize: 14.22),
+              ),
+            AppButton(
+              onPressed: data.isAllowCheckSwitch
+                  ? () => controller.onCheckSwitch(data)
+                  : null,
+              primaryColor: data.isCheckEnable
+                  ? const Color(0xffff6f6f)
+                  : const Color(0xff64cbb0),
+              textColor: Colors.white,
+              width: 80,
+              height: 25,
+              child: Text(data.isCheckEnable ? '关闭签到' : '开始签到'),
             )
           ],
         ),

+ 13 - 0
app_business/lib/view/home/event_manage/event_manage_controller.dart

@@ -13,10 +13,14 @@ class EventInManage {
   String qrCode = '';
   var isAllowEdit = true;
   var isAllowDel = true;
+  var isAllowCheckSwitch = true;
+  var isCheckEnable = true;
   var state = EventState.idle;
   var userList = <UserInManage>[];
   var startAt = '';
   var endAt = '';
+  var showStartAt = DateTime.now();
+  var showEndAt = DateTime.now();
 }
 
 enum UserState { idle, hasRoute, isStart, isFinish }
@@ -100,6 +104,8 @@ class EventManagerController extends GetxController {
             ..qrCode = e.qrCode
             ..isAllowEdit = e.isAllowEdit
             ..isAllowDel = e.isAllowDel
+            ..isCheckEnable = e.isAllowChack
+            ..isAllowCheckSwitch = e.allowChackBtnAble
             ..startAt = e.matchBt
             ..endAt = e.matchEt
             ..state = switch (e.state) {
@@ -219,4 +225,11 @@ class EventManagerController extends GetxController {
     await _api.stub
         .matchChackInsForceResume(IdRequest()..id = Int64(user.checkId));
   }
+
+  void onCheckSwitch(EventInManage data) {
+    _api.stub.toMatchRegusterIsAllowChackEdit(
+        ToMatchRegusterIsAllowChackEditRequest()
+          ..id = data.id
+          ..isAllowChack = !data.isCheckEnable);
+  }
 }

+ 1 - 1
app_business/pubspec.yaml

@@ -41,7 +41,7 @@ dependencies:
   logger: ^2.0.2+1
   flutter_localizations:
     sdk: flutter
-  intl: any
+  intl: ^0.18.1
   rive: any
   grpc: ^3.2.4
   get_storage: ^2.1.1

+ 3 - 2
libs/track_common/lib/widget/app_title_list.dart

@@ -6,13 +6,14 @@ class AppTitleList extends StatelessWidget {
   final Widget tail;
   final bool isSelected;
   final VoidCallback? onTap;
+  final double? height;
 
   const AppTitleList(
       {super.key,
       required this.title,
       required this.tail,
       required this.isSelected,
-      this.subtitle,
+      this.subtitle,this.height,
       this.onTap});
 
   @override
@@ -31,7 +32,7 @@ class AppTitleList extends StatelessWidget {
           decoration: const BoxDecoration(color: Colors.white, boxShadow: [
             BoxShadow(color: Color(0x4d000000), blurRadius: 3.5)
           ]),
-          height: 55.5,
+          height: height ?? 55.5,
           width: double.infinity,
           margin: const EdgeInsets.only(top: 7),
           padding: const EdgeInsets.only(right: 11),