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

149 lines
3.4 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['logistics_log']=array (
'columns' =>
array (
'log_id' =>
array (
'type' => 'bigint unsigned',
'required' => true,
'editable' => false,
'pkey' => true,
'comment' => '日志主键',
'label' => '日志ID',
'extra' => 'auto_increment',
),
'delivery_id' =>
array (
'type' => 'table:delivery@ome',
'required' => true,
'editable' => false,
'label' => '发货单号',
'width' =>110,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'normal',
'filterdefault' => true,
'searchtype' => 'nequal',
'order' => 10,
),
'logi_no' =>
array (
'type' => 'varchar(50)',
'required' => true,
'editable' => false,
'label' => '物流单号',
'width' =>110,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'normal',
'filterdefault' => true,
'searchtype' => 'nequal',
'order' => 20,
),
'channel_id' =>
array (
'type' => 'table:channel@logisticsmanager',
'required' => true,
'editable' => false,
'comment' => '渠道主键',
'label' => '请求来源',
'width' => 150,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'yes',
'filterdefault' => true,
'order' => 30,
),
'channel_type' =>
array (
'type' => 'varchar(32)',
'default' => '',
'comment' => '渠道类型',
'label' => '渠道类型',
),
'status' =>
array (
'type' =>
array (
'running' => '运行中',
'success' => '成功',
'fail' => '失败',
),
'required' => true,
'default' => 'running',
'editable' => false,
'label' => '状态',
'width' => 60,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'yes',
'filterdefault' => true,
'order' => 40,
),
'retry' =>
array (
'type' => 'number',
'required' => true,
'default' => 0,
'edtiable' => false,
'label' => '重试次数',
'width' => 60,
'in_list' => true,
'default_in_list' => true,
'order' => 50,
),
'create_time' =>
array (
'type' => 'time',
'editable' => false,
'label' => '创建时间',
'width' => '130',
'in_list' => true,
'default_in_list' => true,
'order' => 60,
),
'last_modified' =>
array (
'type' => 'last_modify',
'editable' => false,
'label' => '最后重试时间',
'width' => 130,
'in_list' => true,
'default_in_list' => true,
'order' => 70,
),
'params' =>
array (
'type' => 'serialize',
'editable' => false,
'label' => '请求参数',
),
'type' =>
array (
'type' => array(
'normal' => '普通',
'delivery' => '发货',
),
'required' => true,
'default' => 'normal',
'label' => '日志类型',
'width' => 110,
'editable' => true,
'in_list' => true,
'default_in_list' => true,
'filtertype' => 'normal',
'filterdefault' => true,
'order' => 20,
),
),
'comment' => '请求面单号日志表',
'engine' => 'innodb',
'version' => '$Rev: $',
);