init commit
This commit is contained in:
38
application/api/model/wdsxh/member/Cert.php
Normal file
38
application/api/model/wdsxh/member/Cert.php
Normal file
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class Cart
|
||||
* Desc 证书模型
|
||||
* Create on 2024/3/12 9:49
|
||||
* Create by @小趴菜
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use app\api\model\wdsxh\Base;
|
||||
|
||||
class Cert extends Base
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_cert';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
74
application/api/model/wdsxh/member/CompanyGoods.php
Normal file
74
application/api/model/wdsxh/member/CompanyGoods.php
Normal file
@@ -0,0 +1,74 @@
|
||||
<?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 CompanyGoods extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_company_goods';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = 'updatetime';
|
||||
|
||||
// 追加属性
|
||||
protected $append = ['image'];
|
||||
|
||||
/**
|
||||
* 获取第一张图片(完整URL)
|
||||
* @param $value
|
||||
* @param $data
|
||||
* @return string
|
||||
*/
|
||||
public function getImageAttr($value, $data)
|
||||
{
|
||||
if (!isset($data['images']) || empty($data['images'])) {
|
||||
return '';
|
||||
}
|
||||
|
||||
$images = $data['images'];
|
||||
$firstImage = '';
|
||||
|
||||
// 判断是否为JSON数组
|
||||
if (is_string($images) && (strpos($images, '[') === 0 || strpos($images, '{') === 0)) {
|
||||
$imagesArray = json_decode($images, true);
|
||||
if (is_array($imagesArray) && !empty($imagesArray)) {
|
||||
$firstImage = is_array($imagesArray[0]) ? $imagesArray[0] : reset($imagesArray);
|
||||
}
|
||||
}
|
||||
// 判断是否为逗号分隔的字符串
|
||||
elseif (is_string($images) && strpos($images, ',') !== false) {
|
||||
$imagesArray = explode(',', $images);
|
||||
$firstImage = trim($imagesArray[0]);
|
||||
}
|
||||
// 单个图片
|
||||
else {
|
||||
$firstImage = $images;
|
||||
}
|
||||
|
||||
// 返回完整URL
|
||||
return wdsxh_full_url($firstImage);
|
||||
}
|
||||
|
||||
protected function getImagesAttr($value)
|
||||
{
|
||||
$array = explode(',',$value);
|
||||
foreach ($array as $k=>$v) {
|
||||
$array[$k] = wdsxh_full_url($v);
|
||||
}
|
||||
return implode(',',$array);
|
||||
}
|
||||
}
|
||||
44
application/api/model/wdsxh/member/IndustryCategory.php
Normal file
44
application/api/model/wdsxh/member/IndustryCategory.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class IndustryCategory
|
||||
* Desc 行业分类模型
|
||||
* Create on 2024/3/19 11:22
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class IndustryCategory extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_industry_category';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = false;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = false;
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
|
||||
public function getIconAttr($value)
|
||||
{
|
||||
return wdsxh_full_url($value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
39
application/api/model/wdsxh/member/JoinConfig.php
Normal file
39
application/api/model/wdsxh/member/JoinConfig.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class JoinConfig
|
||||
* Desc 入会类型设置模型
|
||||
* Create on 2024/3/19 10:52
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class JoinConfig extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_join_config';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = false;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = false;
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
39
application/api/model/wdsxh/member/Level.php
Normal file
39
application/api/model/wdsxh/member/Level.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class Member
|
||||
* Desc 会员模型
|
||||
* Create on 2024/3/8 9:56
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use app\api\model\wdsxh\Base;
|
||||
|
||||
class Level extends Base
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_level';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = false;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = false;
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
49
application/api/model/wdsxh/member/Member.php
Normal file
49
application/api/model/wdsxh/member/Member.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class Member
|
||||
* Desc 会员模型
|
||||
* Create on 2024/3/8 9:56
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use app\api\model\wdsxh\Base;
|
||||
|
||||
class Member extends Base
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
|
||||
public function getCompanyLogoAttr($value)
|
||||
{
|
||||
return wdsxh_full_url($value);
|
||||
}
|
||||
|
||||
public function getOrganizeLogoAttr($value)
|
||||
{
|
||||
return wdsxh_full_url($value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class MemberExpireMessage
|
||||
* Desc 已发送会员即将过期消息提醒Model
|
||||
* Create on 2024/4/8 14:24
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class MemberAlreadyExpireMessage extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_already_expire_message';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = false;
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
37
application/api/model/wdsxh/member/MemberApply.php
Normal file
37
application/api/model/wdsxh/member/MemberApply.php
Normal file
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
use think\Model;
|
||||
|
||||
/**
|
||||
* Class MemberApply
|
||||
* Desc 入会申请模型
|
||||
* Create on 2024/3/8 9:51
|
||||
* Create by wangyafang
|
||||
*/
|
||||
class MemberApply extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_apply';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
48
application/api/model/wdsxh/member/MemberApplyExamine.php
Normal file
48
application/api/model/wdsxh/member/MemberApplyExamine.php
Normal file
@@ -0,0 +1,48 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力中小企业发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdadmin.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Wdadmin系统产品软件并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.wdadmin.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class MemberApplyExamine
|
||||
* Desc 会员审核Model
|
||||
* Create on 2025/3/5 15:18
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use app\api\model\wdsxh\Base;
|
||||
|
||||
class MemberApplyExamine extends Base
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_apply';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
|
||||
protected $type = [
|
||||
'createtime' => 'timestamp:Y-m-d H:i:s',
|
||||
];
|
||||
|
||||
public function level()
|
||||
{
|
||||
return $this->belongsTo('Level', 'member_level_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
39
application/api/model/wdsxh/member/MemberExpireMessage.php
Normal file
39
application/api/model/wdsxh/member/MemberExpireMessage.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class MemberExpireMessage
|
||||
* Desc 已发送会员即将过期消息提醒Model
|
||||
* Create on 2024/4/8 14:24
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class MemberExpireMessage extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_expire_message';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = false;
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
45
application/api/model/wdsxh/member/Pay.php
Normal file
45
application/api/model/wdsxh/member/Pay.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class Pay
|
||||
* Desc 会员缴费记录模型
|
||||
* Create on 2024/3/15 14:33
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class Pay extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_pay';
|
||||
|
||||
protected $type = [
|
||||
'status' => 'integer',
|
||||
'score' => 'float',
|
||||
'pay_time' => 'timestamp:Y-m-d H:i:s',
|
||||
];
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
39
application/api/model/wdsxh/member/Promotion.php
Normal file
39
application/api/model/wdsxh/member/Promotion.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class Promotion
|
||||
* Desc 推广会员模型
|
||||
* Create on 2024/3/16 15:30
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class Promotion extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_promotion';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
39
application/api/model/wdsxh/member/Visitor.php
Normal file
39
application/api/model/wdsxh/member/Visitor.php
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | 麦沃德科技赋能开发者,助力商协会发展
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2017~2024 www.wdsxh.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | 沃德商协会系统并不是自由软件,不加密,并不代表开源,未经许可不可自由转售和商用
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: MY WORLD Team <bd@maiwd.cn> www.maiwd.cn
|
||||
// +----------------------------------------------------------------------
|
||||
/**
|
||||
* Class Visitor
|
||||
* Desc 会员访客模型
|
||||
* Create on 2024/3/15 10:54
|
||||
* Create by wangyafang
|
||||
*/
|
||||
|
||||
namespace app\api\model\wdsxh\member;
|
||||
|
||||
|
||||
use think\Model;
|
||||
|
||||
class Visitor extends Model
|
||||
{
|
||||
// 表名
|
||||
protected $name = 'wdsxh_member_visitor';
|
||||
|
||||
// 自动写入时间戳字段
|
||||
protected $autoWriteTimestamp = true;
|
||||
|
||||
// 定义时间戳字段名
|
||||
protected $createTime = 'createtime';
|
||||
protected $updateTime = false;
|
||||
protected $deleteTime = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user