Files
OMS/app/finance/dbschema/tasklog.php
2025-12-28 23:13:25 +08:00

169 lines
3.5 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<?php
/**
* Copyright © ShopeX http://www.shopex.cn. All rights reserved.
* See LICENSE file for license details.
*/
$db['tasklog']=array (
'comment' => '对账支付宝接口请求日志表',
'columns' =>
array (
'log_id' =>
array (
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'extra' => 'auto_increment',
'editable' => false,
),
'log_title' =>
array (
'type' => 'varchar(255)',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'normal',
'filterdefault' => true,
'searchtype' => 'has',
'label' => '日志名称',
'width' => '350',
'order' => '2',
),
'log_type' =>
array (
'type' => 'varchar(32)',
'editable' => false,
'label' => '日志类型',
),
'crc32_log_type' =>
array (
'type' => 'int',
'editable' => false,
'label' => 'crc32日志类型值',
),
'status' =>
array (
'type' =>
array (
'running' => '运行中',
'success' => '成功',
'fail' => '失败',
'retring' => '重试中',
),
'required' => true,
'default' => 'retring',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'editable' => false,
'filtertype' => 'yes',
'filterdefault' => true,
'label' => '状态',
'width' => '60',
'order' => '4',
),
'retry' =>
array (
'type' => 'number',
'required' => true,
'default' => 0,
'width' => '60',
'edtiable' => false,
'in_list' => true,
'label' => '重试次数',
'default_in_list' => true,
'order' => '5',
),
'node_id' =>
array (
'type' => 'varchar(32)',
'editable' => false,
'in_list' => false,
'label' => '节点ID',
'width' => '100',
'order' => '2',
),
'params' =>
array (
'type' => 'longtext',
'editable' => false,
'label' => '日志参数',
'filtertype' => 'yes',
),
'msg' =>
array (
'type' => 'text',
'editable' => false,
'label' => '同步消息',
),
'addon' =>
array (
'type' => 'text',
'editable' => false,
'label' => '附加参数',
),
'createtime' =>
array (
'type' => 'time',
'label' => '发起同步时间',
'width' => '130',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'time',
'filterdefault' => true,
'order' => '7',
),
'last_modified' =>
array (
'label' => '最后重试时间',
'type' => 'last_modify',
'width' => '130',
'editable' => false,
'in_list' => true,
'default_in_list' => true,
'order' => '8',
),
),
'index' =>
array (
'ind_status' =>
array (
'columns' =>
array (
0 => 'status',
),
),
'ind_crc32_log_type' =>
array (
'columns' =>
array (
0 => 'crc32_log_type',
),
),
'ind_node_id' =>
array (
'columns' =>
array (
0 => 'node_id',
),
),
'ind_createtime' =>
array (
'columns' =>
array (
0 => 'createtime',
),
),
'ind_last_modified' =>
array (
'columns' =>
array (
0 => 'last_modified',
),
),
),
'engine' => 'innodb',
'version' => '$Rev: 44513 $',
);