init commit
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力中小企业发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdadmin.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Wdadmin系统产品软件并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.wdadmin.cn
|
||||
// +----------------------------------------------------------------------
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
use think\Model;
|
||||
|
||||
class CompanyFixedInformation extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_company_fixed_information';
|
||||
|
||||
protected function getPersonalCarouselImagesAttr($value)
|
||||
{
|
||||
$value = wdsxh_full_url($value);
|
||||
if (is_array($value)){
|
||||
$value = implode(',',$value);
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
protected function getCompanyCarouselImagesAttr($value)
|
||||
{
|
||||
$value = wdsxh_full_url($value);
|
||||
if (is_array($value)){
|
||||
$value = implode(',',$value);
|
||||
}
|
||||
return $value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user