Files
zyt/server/app/mcp/catalog/review/tables.php
T
2026-09-24 09:45:44 +08:00

704 lines
20 KiB
PHP

<?php
// 后台没有页面的数据表(php app/mcp/cli/coverage.php --write-tables 生成,可手工调整 scope/columns)。
// 生成时间:2026-09-24 08:51:55
return array (
'table.av_permission_log/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 av_permission_log',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'av_permission_log',
'columns' =>
array (
0 => 'id',
1 => 'patient_id',
2 => 'doctor_id',
3 => 'denied_scope',
4 => 'scene',
5 => 'action',
6 => 'wx_version',
7 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'patient_id' => '=',
'doctor_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.express_state_log/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 express_state_log',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'express_state_log',
'columns' =>
array (
0 => 'id',
1 => 'tracking_id',
2 => 'tracking_number',
3 => 'old_state',
4 => 'old_state_text',
5 => 'new_state',
6 => 'new_state_text',
7 => 'change_time',
8 => 'change_reason',
9 => 'is_notified',
10 => 'notify_time',
11 => 'notify_result',
12 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'tracking_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.express_trace/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 express_trace',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'express_trace',
'columns' =>
array (
0 => 'id',
1 => 'tracking_id',
2 => 'tracking_number',
3 => 'trace_time',
4 => 'trace_time_stamp',
5 => 'trace_context',
6 => 'status',
7 => 'status_code',
8 => 'location',
9 => 'area_code',
10 => 'area_name',
11 => 'area_center',
12 => 'extra_data',
13 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'tracking_id' => '=',
'status' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.notice_record/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 notice_record',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'notice_record',
'columns' =>
array (
0 => 'id',
1 => 'user_id',
2 => 'title',
3 => 'content',
4 => 'scene_id',
5 => 'read',
6 => 'recipient',
7 => 'send_type',
8 => 'notice_type',
9 => 'extra',
10 => 'create_time',
11 => 'update_time',
12 => 'delete_time',
),
'filters' =>
array (
'id' => '=',
'user_id' => '=',
'scene_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'soft_delete' => 'delete_time',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.order_detail/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 order_detail',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'order_detail',
'columns' =>
array (
0 => 'id',
1 => 'order_id',
2 => 'related_type',
3 => 'related_id',
4 => 'name',
5 => 'price',
6 => 'quantity',
7 => 'amount',
8 => 'create_time',
9 => 'update_time',
),
'filters' =>
array (
'id' => '=',
'order_id' => '=',
'related_id' => '=',
),
'date' => 'create_time',
'date_type' => 'datetime',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.pharmacy_submission_claim_audit/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 pharmacy_submission_claim_audit',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'pharmacy_submission_claim_audit',
'columns' =>
array (
0 => 'id',
1 => 'claim_id',
2 => 'prescription_order_id',
3 => 'source_revision',
4 => 'target',
5 => 'action',
6 => 'from_status',
7 => 'to_status',
8 => 'remote_order_no',
9 => 'note',
10 => 'operator_id',
11 => 'operator_name',
12 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'claim_id' => '=',
'prescription_order_id' => '=',
'operator_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.qywx_customer_acquisition_event/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 qywx_customer_acquisition_event',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'qywx_customer_acquisition_event',
'columns' =>
array (
0 => 'id',
1 => 'event_key',
2 => 'change_type',
3 => 'chat_key',
4 => 'link_id',
5 => 'external_userid',
6 => 'userid',
7 => 'status',
8 => 'attempts',
9 => 'event_time',
10 => 'expire_time',
11 => 'next_retry',
12 => 'error_message',
13 => 'raw_json',
14 => 'create_time',
15 => 'update_time',
),
'filters' =>
array (
'id' => '=',
'link_id' => '=',
'status' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.qywx_external_contact_event_tag/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 qywx_external_contact_event_tag',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'qywx_external_contact_event_tag',
'columns' =>
array (
0 => 'id',
1 => 'event_id',
2 => 'follow_user_id',
3 => 'tag_id',
4 => 'tag_name',
5 => 'group_name',
6 => 'snapshot_source',
7 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'event_id' => '=',
'follow_user_id' => '=',
'tag_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.qywx_promotion_account/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 qywx_promotion_account',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'qywx_promotion_account',
'columns' =>
array (
0 => 'id',
1 => 'corp_id',
2 => 'corp_name',
3 => 'agent_id',
4 => 'auth_info_json',
5 => 'auth_status',
6 => 'owner_admin_id',
7 => 'dept_id',
8 => 'authorized_at',
9 => 'last_refresh_at',
10 => 'create_time',
11 => 'update_time',
12 => 'delete_time',
),
'filters' =>
array (
'id' => '=',
'corp_id' => '=',
'agent_id' => '=',
'owner_admin_id' => '=',
'dept_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'soft_delete' => 'delete_time',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.qywx_promotion_automation_action_log/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 qywx_promotion_automation_action_log',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'qywx_promotion_automation_action_log',
'columns' =>
array (
0 => 'id',
1 => 'task_id',
2 => 'action',
3 => 'status',
4 => 'attempt',
5 => 'reason',
6 => 'error_code',
7 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'task_id' => '=',
'status' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.qywx_promotion_automation_task/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 qywx_promotion_automation_task',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'qywx_promotion_automation_task',
'columns' =>
array (
0 => 'id',
1 => 'event_key',
2 => 'pool_id',
3 => 'member_admin_id',
4 => 'change_type',
5 => 'userid',
6 => 'external_userid',
7 => 'event_time',
8 => 'received_at',
9 => 'config_json',
10 => 'actions_json',
11 => 'welcome_code_hash',
12 => 'welcome_expires_at',
13 => 'welcome_status',
14 => 'welcome_next_retry',
15 => 'status',
16 => 'next_retry',
17 => 'lock_until',
18 => 'create_time',
19 => 'update_time',
),
'filters' =>
array (
'id' => '=',
'pool_id' => '=',
'member_admin_id' => '=',
'status' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.qywx_promotion_media/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 qywx_promotion_media',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'qywx_promotion_media',
'columns' =>
array (
0 => 'asset_id',
1 => 'admin_id',
2 => 'name',
3 => 'type',
4 => 'mime',
5 => 'size',
6 => 'sha256',
7 => 'storage_name',
8 => 'media_id',
9 => 'media_expires_at',
10 => 'last_error',
11 => 'create_time',
12 => 'update_time',
),
'filters' =>
array (
'asset_id' => '=',
'admin_id' => '=',
'type' => '=',
'media_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'scope' => 'root',
),
),
'table.tcm_daily_family_like/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_daily_family_like',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_daily_family_like',
'columns' =>
array (
0 => 'id',
1 => 'diagnosis_id',
2 => 'like_date',
3 => 'invite_code',
4 => 'viewer_key',
5 => 'nickname',
6 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'diagnosis_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.tcm_daily_gamify/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_daily_gamify',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_daily_gamify',
'columns' =>
array (
0 => 'id',
1 => 'diagnosis_id',
2 => 'user_id',
3 => 'points',
4 => 'badges',
5 => 'task_awards',
6 => 'create_time',
7 => 'update_time',
),
'filters' =>
array (
'id' => '=',
'diagnosis_id' => '=',
'user_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.tcm_daily_share_invite/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_daily_share_invite',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_daily_share_invite',
'columns' =>
array (
0 => 'id',
1 => 'invite_code',
2 => 'diagnosis_id',
3 => 'user_id',
4 => 'invite_date',
5 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'diagnosis_id' => '=',
'user_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.tcm_game_share_invite/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_game_share_invite',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_game_share_invite',
'columns' =>
array (
0 => 'id',
1 => 'invite_code',
2 => 'user_id',
3 => 'week_start',
4 => 'open_count',
5 => 'create_time',
6 => 'update_time',
),
'filters' =>
array (
'id' => '=',
'user_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.tcm_game_share_visit/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_game_share_visit',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_game_share_visit',
'columns' =>
array (
0 => 'id',
1 => 'invite_code',
2 => 'inviter_user_id',
3 => 'visitor_user_id',
4 => 'create_time',
),
'filters' =>
array (
'id' => '=',
'inviter_user_id' => '=',
'visitor_user_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.tcm_game_weekly_group/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_game_weekly_group',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_game_weekly_group',
'columns' =>
array (
0 => 'id',
1 => 'week_start',
2 => 'sex',
3 => 'group_no',
4 => 'member_count',
5 => 'create_time',
6 => 'update_time',
),
'filters' =>
array (
'id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
'table.tcm_game_weekly_score/lists' =>
array (
'status' => 'open',
'kind' => 'table',
'perm' => 'ai.mcp/tables',
'name' => '数据表 tcm_game_weekly_score',
'domain' => '其他数据表',
'note' => '后台没有页面的数据表:目前仅超级管理员可查;如需给其他角色开放,把 scope 改为属主列(如 [\'owner\' => [\'doctor_id\']])并审核',
'handler' =>
array (
'table' => 'tcm_game_weekly_score',
'columns' =>
array (
0 => 'id',
1 => 'group_id',
2 => 'week_start',
3 => 'user_id',
4 => 'learned_count',
5 => 'best_score',
6 => 'games_played',
7 => 'share_count',
8 => 'nickname',
9 => 'avatar',
10 => 'sex',
11 => 'create_time',
12 => 'update_time',
),
'filters' =>
array (
'id' => '=',
'group_id' => '=',
'user_id' => '=',
),
'date' => 'create_time',
'date_type' => 'int',
'order' => 'id desc',
'scope' => 'root',
),
),
);