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

70 lines
1.6 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_logs']=array (
'columns' =>
array (
'id' =>
array(
'type' => 'int unsigned',
'required' => true,
'pkey' => true,
'editable' => false,
'extra' => 'auto_increment',
),
'op_user' =>
array(
'type' => 'varchar(50)',
'label'=>'操作人',
),
'exrecommend_souce' =>
array(
'type' => 'varchar(20)',
'label'=>'来源',
'default' => 'hqepay',#默认是快递鸟来源,以兼容
),
#日志操作类型
'op_type' =>
array (
'type' =>
array (
'1' => '同步运费模板',
'2' => '智选物流策略设置',
'3'=> '运费模板变动'
),
),
'op_content' =>
array (
'type' => 'text',
'label'=>'操作内容',
),
'status' =>
array(
'type' => 'varchar(10)',
'label'=>'状态',
'default' => '',
),
'create_time' =>
array(
'type' => 'time',
'label'=>'操作时间',
),
),
'index' =>
array (
'ind_op_type' =>
array (
'columns' =>
array (
0 => 'op_type',
),
),
),
'comment' => '日志表',
'engine' => 'innodb',
'version' => '$Rev: $',
);