You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
657 B
32 lines
657 B
<?php
|
|
namespace app\index\model\wanlshop;
|
|
|
|
use think\Model;
|
|
|
|
/**
|
|
* 配置模型
|
|
*/
|
|
class ShopConfig extends Model
|
|
{
|
|
|
|
// 表名,不含前缀
|
|
protected $name = 'wanlshop_shop_config';
|
|
// 自动写入时间戳字段
|
|
protected $autoWriteTimestamp = 'int';
|
|
|
|
// 定义时间戳字段名
|
|
protected $createTime = 'createtime';
|
|
protected $updateTime = 'updatetime';
|
|
|
|
|
|
public function getTypeList()
|
|
{
|
|
return [
|
|
'freight' => __('商家店铺配置'),
|
|
// 'kuaidi' => __('快递100云打印配置'),
|
|
'facesheet' => __('面单参数'),
|
|
'mailing' => __('寄件人信息'),
|
|
'return' => __('退货信息')
|
|
];
|
|
}
|
|
}
|
|
|