Initial commit,修正

This commit is contained in:
2025-07-13 19:37:38 +08:00
parent 38ce288e27
commit 65bbd06981
12384 changed files with 3985464 additions and 8 deletions
+1
View File
@@ -0,0 +1 @@
将CTMS公用的Model等文件集中出来,但为了类似项目借用该模式,避免与common文件夹搞混,故放于此处。
+18
View File
@@ -0,0 +1,18 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-15T22:35:59+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-06-30T23:54:13+08:00
# @Copyright: www.hiluker.cn
//以下设置用于解决跨域访问的CORS问题,顺便设置来路域名白名单
const ORIGINARR = [
'https://ctms.hiluker.cn',
'http://appgm.ctms.hiluker.cn',
'https://appgm.ctms.hiluker.cn',
'http://h5.ctms.hiluker.cn',
'https://h5.ctms.hiluker.cn',
'*' //开发中使用*,允许所有cors源。上线后注释掉
];
+65
View File
@@ -0,0 +1,65 @@
<?php
/**
* @Author: fm453
* @Date: 2018-11-22 10:19:29
* @Last Modified by: fm453
* @Last Modified time: 2019-10-24 17:20:02
* @Email: fm453@lukegzs.com
*/
$citys=[];
$i=0;
$i++;
$citys[$i] = ['id'=>$i,'name'=>'三亚'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'广州'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'北京'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'哈尔滨'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'成都'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'上海'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'合肥'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'福州'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'郑州'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'西安'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'天津'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'海口'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'深圳'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'厦门'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'杭州'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'长春'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'南宁'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'昆明'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'武汉'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'长沙'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'南昌'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'宁波'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'贵阳'];
$i++;
$citys[$i] = ['id'=>$i,'name'=>'沈阳'];
return [
'citys'=>$citys
];
+31
View File
@@ -0,0 +1,31 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-15T21:33:17+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-06-29T16:38:03+08:00
# @Copyright: www.hiluker.cn
$config = [
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=sass',
'username' => 'sass',
'password' => 'ejxsrxZCP34xNjF2',
'charset' => 'utf8',
'tablePrefix' => '',
],
'ac' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=ctms',
'username' => 'ctms',
'password' => 'bm2a7BrJzWN1nSsk',
'charset' => 'utf8',
'tablePrefix' => '',
],
],
];
return $config;
+31
View File
@@ -0,0 +1,31 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-16T20:41:55+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-16T20:41:58+08:00
# @Copyright: www.hiluker.cn
$config = [
'components' => [
'db' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=dacms',
'username' => 'dacms',
'password' => 'CiwE5YbLnL7Yw8zs',
'charset' => 'utf8',
'tablePrefix' => '',
],
'ac' => [
'class' => 'yii\db\Connection',
'dsn' => 'mysql:host=127.0.0.1;dbname=ctms',
'username' => 'ctms',
'password' => 'cP45w8z7RCtHstst',
'charset' => 'utf8mb4',
'tablePrefix' => '',
],
],
];
return $config;
+41
View File
@@ -0,0 +1,41 @@
<?php
$areas=[];
$areas['110000'] = "北京";
$areas['120000'] = "天津";
$areas['130000'] = "河北省";
$areas['140000'] = "山西省";
$areas['150000'] = "内蒙古自治区";
$areas['210000'] = "辽宁省";
$areas['220000'] = "吉林省";
$areas['230000'] = "黑龙江省";
$areas['310000'] = "上海";
$areas['320000'] = "江苏省";
$areas['330000'] = "浙江省";
$areas['340000'] = "安徽省";
$areas['350000'] = "福建省";
$areas['360000'] = "江西省";
$areas['370000'] = "山东省";
$areas['410000'] = "河南省";
$areas['420000'] = "湖北省";
$areas['430000'] = "湖南省";
$areas['440000'] = "广东省";
$areas['450000'] = "广西壮族自治区";
$areas['460000'] = "海南省";
$areas['500000'] = "重庆";
$areas['510000'] = "四川省";
$areas['520000'] = "贵州省";
$areas['530000'] = "云南省";
$areas['540000'] = "西藏自治区";
$areas['610000'] = "陕西省";
$areas['620000'] = "甘肃省";
$areas['630000'] = "青海省";
$areas['640000'] = "宁夏回族自治区";
$areas['650000'] = "新疆维吾尔自治区";
$areas['710000'] = "台湾省";
$areas['810000'] = "香港特别行政区";
$areas['820000'] = "澳门特别行政区";
$areas['990000'] = "海外";
return [
'regionAreas' => $areas
];
+49
View File
@@ -0,0 +1,49 @@
<?php
/**
* @Author: fm453
* @Date: 2019-09-21 19:51:07
* @Last Modified by: fm453
* @Last Modified time: 2019-09-21 19:57:07
* @Email: fm453@lukegzs.com
*/
$areas=[];
$areas['110000'] = "京";
$areas['120000'] = "津";
$areas['130000'] = "冀";
$areas['140000'] = "晋";
$areas['150000'] = "蒙";
$areas['210000'] = "辽";
$areas['220000'] = "吉";
$areas['230000'] = "黑";
$areas['310000'] = "沪";
$areas['320000'] = "苏";
$areas['330000'] = "浙";
$areas['340000'] = "皖";
$areas['350000'] = "闽";
$areas['360000'] = "赣";
$areas['370000'] = "鲁";
$areas['410000'] = "豫";
$areas['420000'] = "鄂";
$areas['430000'] = "湘";
$areas['440000'] = "粤";
$areas['450000'] = "桂";
$areas['460000'] = "琼";
$areas['500000'] = "渝";
$areas['510000'] = "川";
$areas['520000'] = "贵";
$areas['530000'] = "云";
$areas['540000'] = "藏";
$areas['610000'] = "陕";
$areas['620000'] = "甘";
$areas['630000'] = "青";
$areas['640000'] = "宁";
$areas['650000'] = "新";
// $areas['710000'] = "台湾省";
$areas['810000'] = "港";
$areas['820000'] = "澳";
// $areas['990000'] = "海外";
return [
'carRegion' => $areas
];
+10
View File
@@ -0,0 +1,10 @@
<?php
/**
* @Author: fm453
* @Date: 2019-09-21 19:57:54
* @Last Modified by: fm453
* @Last Modified time: 2019-09-21 20:00:18
* @Email: fm453@lukegzs.com
*/
return ['letters'=>['A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z']];
+160
View File
@@ -0,0 +1,160 @@
<?php
# @Author: 嗨噜客科技(www.hiluker.cn) <Fm453>
# @Date: 1970-01-01T08:00:00+08:00
# @Email: fm453@hiluker.com
# @Last modified by: fm453
# @Last modified time: 2024-07-09T17:20:38+08:00
return [
'adminEmail' => 'fm453@lukegzs.com', //管理员邮箱
'developerWx' => '18608981880', //开发者微信
'fansFrom' => 'ctms', //主fans表from字段的约定值
//默认值组
'defaultAdminPassword' => 'Hi12345678', //默认的管理员密码
'defaultAdminAvatar' => '@web/img/profile_small.png', //默认管理员头像
'defaultUserPassword' => '12345678', //默认的用户密码
'defaultUserAvatar' => '@web/img/profile_small.png', //默认管理员头像
'defaultFansPassword' => '88888888', //默认的粉丝用户密码
'defaultSuperRoleId' => 1, //默认的超级管理员角色id
'defaultSuperAdminId' => 1, //默认的超级管理员id
'siteOpenTime' => '8:00', //上班时间
'siteCloseTime' => '20:00', //歇业时间
'defaultAttributeValue' => '(未设置)', //空值默认
'defaultActionColumnButtonOption' => ['class' => 'btn btn-white btn-xs'], //列表页操作按钮选项
//阿里大鱼短信接口
'aliDySms'=>[
'domains'=>['www.hiluker.com','api.ctms.hiluker.cn'],
'debug'=>false,
// 设置域名白名单,非名单内域名访问的,开启调试模式(不触发真实的短信发送操作,强制设定debug为true时除外)
'accessKeyId'=>'LTAIQrJFtHfqsyOt',
'accessKeySecret'=>'tvGieI3vNI7Si3imauCB4rJ3OX4AR8',
'sign'=> '嗨路客',
'reportQueueName'=>'Alicom-Queue-31737903-SmsReport',
//状态报告接收
'UpQueueName'=>'Alicom-Queue-31737903-SmsUp',
//上行消息接收
'tmpl'=>[
'vcode'=>'SMS_116560526', //常规操作验证码(5分钟有效)
// 您的验证码为${code},该验证码5分钟内有效,请妥善保管。
'infoChange'=>'SMS_116695050',//重要信息变更验证码
//验证码${code},您正在尝试变更重要信息,请妥善保管账户信息。
'passwdChange'=>'SMS_116695051', //修改密码验证码
// 验证码${code},您正在尝试修改登录密码,请妥善保管账户信息。
'regVerify'=>'SMS_116695052', //注册验证
// 验证码${code},您正在注册成为新用户,感谢您的支持!
'acBirthday'=>'SMS_175060008', //运车平台客户生日祝福
// 尊敬的${name}客户,今天是您的生日,${company}祝福您生日快乐!感谢您一直以来的支持;我们将持续努力,给您更好的运车体验。
'cwVcode'=>'SMS_175060662', //财务操作验证码
'acGongxue'=>'SMS_152288813', //宫雪群发通知地址变更
'shopOrderConfirmBuyer'=>'SMS_121905194', //商城订单确认通知下单人
// 亲爱的${username},您在商城${shopname}的订单${ordersn}已经确认,敬请登陆查看。
'shopOrderGm'=>'SMS_121910220', //商城订单知会管理员
// 尊敬的${username},您所管理的商城${shopname}有一张新订单${ordersn},请尽快跟进处理。
'shopOrderBuyer'=>'SMS_121850165', //商城订单知会下单人
// 亲爱的${username},您在商城${shopname}有一张新订单${ordersn},我们将尽快为您跟进处理。
'meVcode'=>'SMS_116695056', //身份验证验证码
// 验证码${code},您正在进行身份验证,打死不要告诉别人哦!
'meChangeVcode'=>'SMS_116695050', //重要信息变更验证码
'loginVcode'=>'SMS_116695054', //登陆确认验证码
// 验证码${code},您正在登录,若非本人操作,请勿泄露。
'addrNotice'=>'SMS_175050843', //托车地址知会
'msgAdded' => 'SMS_176528085', //留言通知
// 您的网站收到了新的留言,请及时查看。
'formSubmitTip'=>'SMS_176532953', //网站表单数据提醒
// 表单${formname}收到了新的反馈,请及时查看。
],
],
'amap'=>[
'key'=>'fea3f28a32780b33d97b2afb9a5236fe', //高德地图网页API-key
],
//平台ID
'siteId'=>10, //每个站点ID对应一套数据集
// 'app_id'=>1, //站点内允许存在多个应用
// 'pid'=>1, //多个应用共用某个平台数据集时,约定平台ID
'customerLevels' => [
0 => '中',
1 => '差',
2 => '良',
99 => '优',
], //用户评级
'attachSrc'=>'//'.$_SERVER['HTTP_HOST'], //附件远程地址
'attachDir'=>'/upload-ctms', //附件远程目录
'TruckStatus' => [
0 => '待入库',
1 => '正常',
2 => '检修',
3 => '保养',
4 => '装车中',
5 => '在途',
99 => '锁定',
], //板车状态
'TruckOnlineStatus' => [
0 => '待出发',
1 => '进行中',
99 => '已运达',
], //板车任务状态
'TruckCarsStatus' => [
0 => '待承运',
1 => '运输中',
80 => '报障待处理',
99 => '已运达',
], //小车在承运板车上的状态
'gender'=>['0'=>'未设置','1'=>'男','2'=>'女'], //性别
'CommonStatus'=>['0'=>'隐藏','1'=>'显示'], //常规状态集
'EmployeeStatus'=>['0'=>'离职','1'=>'在职'], //用户在职状态集
'DriverStatus'=>['0'=>'离职','1'=>'在职','2'=>'外援'], //司机状态集
'OrderStatus' => [
-1 => '已取消',
0 => '预备中',
1 => '协议签定',
2 => '运输中',
3 => '已运达',
4 => '已交车',
5 => '待承运',
6 => '待提车',
7 => '待入库', //与提车关联
99 => '完成',
], //订单状态
'OrderPreStatus' => [
-1 => '已取消',
0 => '预备中', //待分配跟进客服
1 => '跟进中', //客服跟进中
99 => '完成',
], //预约单状态
'AlbumStatus' => [
-1 => '已隐藏',
0 => '标准',
99 => '完结',
], //相册状态
'DefaultCarInsuranceValueMax'=>20, //默认车辆保额;万元
'DefaultCommissionMoreMax'=>100, //默认最多可多支付的佣金金额;元
'Paytype'=>[
0=>'现金',
1=>'微信扫码',
2=>'微信转账',
3=>'支付宝扫码',
4=>'支付宝转账',
5=>'银行卡转账',
6=>'对公转账',
7=>'挂账月结',
99=>'其他'
], //支付方式
'PayStatus'=>[
0=>'待确认',
1=>'已确认入账', //入账对关联金额数字有影响
-1=>'财务已驳回',
-2=>'确认冲红',
2=>'申请冲红',
99=>'仅确认不入账', //不入账则只做记录,不影响相关金额数字
], //支付状态集
'PayStatusRequireArr'=>[
1=>[0,-1,99],
-1=>[0,2],
-2=>[2],
99=>[0,-1],
], //费用单支付状态在财审时的前置状态要求
'H5Links'=>'//h5.ctms.localhost/',
];
+156
View File
@@ -0,0 +1,156 @@
<?php
# @Author: 嗨噜客科技(www.hiluker.cn) <Fm453>
# @Date: 1970-01-01T08:00:00+08:00
# @Email: fm453@hiluker.com
# @Last modified by: fm453
# @Last modified time: 2024-07-09T16:46:20+08:00
return [
'adminEmail' => 'fm453@lukegzs.com', //管理员邮箱
'developerWx' => '18608981880', //开发者微信
'fansFrom' => 'ctms', //主fans表from字段的约定值
//默认值组
'defaultAdminPassword' => 'Hi12345678', //默认的管理员密码
'defaultAdminAvatar' => '@web/img/profile_small.png', //默认管理员头像
'defaultUserPassword' => '12345678', //默认的用户密码
'defaultUserAvatar' => '@web/img/profile_small.png', //默认管理员头像
'defaultFansPassword' => '88888888', //默认的粉丝用户密码
'defaultSuperRoleId' => 1, //默认的超级管理员角色id
'defaultSuperAdminId' => 1, //默认的超级管理员id
'siteOpenTime' => '8:00', //上班时间
'siteCloseTime' => '20:00', //歇业时间
'defaultAttributeValue' => '(未设置)', //空值默认
'defaultActionColumnButtonOption' => ['class' => 'btn btn-white btn-xs'], //列表页操作按钮选项
//阿里大鱼短信接口
'aliDySms'=>[
'domains'=>['www.hiluker.com','api.ctms.hiluker.cn'],
'debug'=>false,
// 设置域名白名单,非名单内域名访问的,开启调试模式(不触发真实的短信发送操作,强制设定debug时除外)
'accessKeyId'=>'LTAIQrJFtHfqsyOt',
'accessKeySecret'=>'tvGieI3vNI7Si3imauCB4rJ3OX4AR8',
'sign'=>'嗨路客',
'reportQueueName'=>'Alicom-Queue-31737903-SmsReport', //状态报告接收
'UpQueueName'=>'Alicom-Queue-31737903-SmsUp', //上行消息接收
'tmpl'=>[
'vcode'=>'SMS_116560526', //常规操作验证码(5分钟有效)
// 您的验证码为${code},该验证码5分钟内有效,请妥善保管。
'infoChange'=>'SMS_116695050',//重要信息变更验证码
//验证码${code},您正在尝试变更重要信息,请妥善保管账户信息。
'passwdChange'=>'SMS_116695051', //修改密码验证码
// 验证码${code},您正在尝试修改登录密码,请妥善保管账户信息。
'regVerify'=>'SMS_116695052', //注册验证
// 验证码${code},您正在注册成为新用户,感谢您的支持!
'acBirthday'=>'SMS_175060008', //运车平台客户生日祝福
// 尊敬的${name}客户,今天是您的生日,${company}祝福您生日快乐!感谢您一直以来的支持;我们将持续努力,给您更好的运车体验。
'cwVcode'=>'SMS_175060662', //财务操作验证码
'acGongxue'=>'SMS_152288813', //宫雪群发通知地址变更
'shopOrderConfirmBuyer'=>'SMS_121905194', //商城订单确认通知下单人
// 亲爱的${username},您在商城${shopname}的订单${ordersn}已经确认,敬请登陆查看。
'shopOrderGm'=>'SMS_121910220', //商城订单知会管理员
// 尊敬的${username},您所管理的商城${shopname}有一张新订单${ordersn},请尽快跟进处理。
'shopOrderBuyer'=>'SMS_121850165', //商城订单知会下单人
// 亲爱的${username},您在商城${shopname}有一张新订单${ordersn},我们将尽快为您跟进处理。
'meVcode'=>'SMS_116695056', //身份验证验证码
// 验证码${code},您正在进行身份验证,打死不要告诉别人哦!
'meChangeVcode'=>'SMS_116695050', //重要信息变更验证码
'loginVcode'=>'SMS_116695054', //登陆确认验证码
// 验证码${code},您正在登录,若非本人操作,请勿泄露。
'addrNotice'=>'SMS_175050843', //托车地址知会
'msgAdded' => 'SMS_176528085', //留言通知
// 您的网站收到了新的留言,请及时查看。
'formSubmitTip'=>'SMS_176532953', //网站表单数据提醒
// 表单${formname}收到了新的反馈,请及时查看。
]
],
'amap'=>[
'key'=>'fea3f28a32780b33d97b2afb9a5236fe',
],
//平台ID
'siteId'=>10, //每个站点ID对应一套数据集
// 'app_id'=>1, //站点内允许存在多个应用
// 'pid'=>1, //多个应用共用某个平台数据集时,约定平台ID
'customerLevels' => [
0 => '中',
1 => '差',
2 => '良',
99 => '优',
], //用户评级
'attachSrc'=>'//'.$_SERVER['HTTP_HOST'], //附件远程地址
'attachDir'=>'/upload-ctms', //附件远程目录
'TruckStatus' => [
0 => '待入库',
1 => '正常',
2 => '检修',
3 => '保养',
4 => '装车中',
5 => '在途',
99 => '锁定',
], //板车状态
'TruckOnlineStatus' => [
0 => '待出发',
1 => '进行中',
99 => '已运达',
], //板车任务状态
'TruckCarsStatus' => [
0 => '待承运',
1 => '运输中',
80 => '报障待处理',
99 => '已运达',
], //小车在承运板车上的状态
'gender'=>['0'=>'未设置','1'=>'男','2'=>'女'], //性别
'CommonStatus'=>['0'=>'隐藏','1'=>'显示'], //常规状态集
'EmployeeStatus'=>['0'=>'离职','1'=>'在职'], //用户在职状态集
'DriverStatus'=>['0'=>'离职','1'=>'在职','2'=>'外援'], //司机状态集
'OrderStatus' => [
-1 => '已取消',
0 => '预备中',
1 => '协议签定',
2 => '运输中',
3 => '已运达',
4 => '已交车',
5 => '待承运',
6 => '待提车',
7 => '待入库', //与提车关联
99 => '完成',
], //订单状态
'OrderPreStatus' => [
-1 => '已取消',
0 => '预备中', //待分配跟进客服
1 => '跟进中', //客服跟进中
99 => '完成',
], //预约单状态
'AlbumStatus' => [
-1 => '已隐藏',
0 => '标准',
99 => '完结',
], //相册状态
'DefaultCarInsuranceValueMax'=>20, //默认车辆保额;万元
'DefaultCommissionMoreMax'=>100, //默认最多可多支付的佣金金额;元
'Paytype'=>[
0=>'现金',
1=>'微信扫码',
2=>'微信转账',
3=>'支付宝扫码',
4=>'支付宝转账',
5=>'银行卡转账',
6=>'对公转账',
7=>'挂账月结',
99=>'其他'
], //支付方式
'PayStatus'=>[
0=>'待确认',
1=>'已确认入账', //入账对关联金额数字有影响
-1=>'财务已驳回',
-2=>'确认冲红',
2=>'申请冲红',
99=>'仅确认不入账', //不入账则只做记录,不影响相关金额数字
], //支付状态集
'PayStatusRequireArr'=>[
1=>[0,-1,99],
-1=>[0,2],
-2=>[2],
99=>[0,-1],
], //费用单支付状态在财审时的前置状态要求
'H5Links'=>'//h5.ctms.hiluker.com/', //前端H5链接
];
+12
View File
@@ -0,0 +1,12 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2024-07-09T16:39:24+08:00
# @Email: 393213759@qq.com
# @Last modified by: fm453
# @Last modified time: 2024-07-09T17:21:18+08:00
# @Copyright: www.hiluker.cn
return [
'local_version' => '2.202407.001', //已弃用
];
+10
View File
@@ -0,0 +1,10 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-15T22:35:59+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2024-07-01T14:45:53+08:00
# @Copyright: www.hiluker.cn
Yii::setAlias('@addons', __DIR__);
+1
View File
@@ -0,0 +1 @@
*
+29
View File
@@ -0,0 +1,29 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:12:47+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:08+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcAlbumPics extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_album_pics}}';
}
}
+29
View File
@@ -0,0 +1,29 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:13:29+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:29+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcAlbumVersion extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_album_version}}';
}
}
+29
View File
@@ -0,0 +1,29 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:13:20+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:20+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcAlbums extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_albums}}';
}
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:13:38+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:38+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcCar extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_car}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:13:45+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:45+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcCarBrand extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_car_brand}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:13:51+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:51+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcCarOwner extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_car_owner}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:13:58+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:13:58+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcCarSeries extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_car_series}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:04+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:04+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcContact extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_contact}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:10+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:10+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcDriver extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_driver}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:16+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:16+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcEmployee extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_employee}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:23+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:23+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcFansExt extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_fans_ext}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:30+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:30+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcFeeDriver extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_fee_driver}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:36+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:36+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcFeeOrder extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_fee_order}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:41+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:41+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcGps extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_gps}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:46+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:46+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcGpsRoute extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_gps_route}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+27
View File
@@ -0,0 +1,27 @@
<?php
#
# @Author: fm453
# @Date: 2024/7/16
# @updated: 下午4:52
# @Email: 1280880631@qq.com
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcNews extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_news}}';
}
}
+27
View File
@@ -0,0 +1,27 @@
<?php
#
# @Author: fm453
# @Date: 2024/7/16
# @updated: 下午4:50
# @Email: 1280880631@qq.com
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcNewsCat extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_news_cat}}';
}
}
+27
View File
@@ -0,0 +1,27 @@
<?php
#
# @Author: fm453
# @Date: 2024/7/16
# @updated: 下午4:53
# @Email: 1280880631@qq.com
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcNotice extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_notice}}';
}
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:14:51+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:14:51+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcOrder extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_order}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+30
View File
@@ -0,0 +1,30 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:23+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:40:22+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcOrderDeliver extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* 交车单
*/
public static function tableName()
{
return '{{%ac_order_deliver}}';
}
}
+30
View File
@@ -0,0 +1,30 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:23+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:38:18+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcOrderPickup extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* 提车单
*/
public static function tableName()
{
return '{{%ac_order_pickup}}';
}
}
+29
View File
@@ -0,0 +1,29 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:11:34+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:01+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcOrderPre extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_order_pre}}';
}
}
+30
View File
@@ -0,0 +1,30 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:23+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:39:50+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcOrderRescue extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* 救援板订单
*/
public static function tableName()
{
return '{{%ac_order_rescue}}';
}
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:07+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:07+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcOrderStatus extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_order_status}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:12+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:12+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcPlat extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_plat}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:17+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:17+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcStat extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_stat}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+46
View File
@@ -0,0 +1,46 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:23+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:23+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcStore extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_store}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:27+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:27+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcStoreIncar extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_store_incar}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:34+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:34+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcTruck extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_truck}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:15:42+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:15:42+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcTruckCars extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_truck_cars}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:16:20+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:16:20+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcTruckOnline extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_truck_online}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:16:26+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:16:26+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcTruckRoute extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_truck_route}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:16:31+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:16:31+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcUserExt extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_user_ext}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
+45
View File
@@ -0,0 +1,45 @@
<?php
# @Author: 嗨噜客(三亚) <fm453>
# @Date: 2022-05-09T18:16:37+08:00
# @Email: fm453@lukegzs.com
# @Last modified by: fm453
# @Last modified time: 2022-05-09T18:17:50+08:00
# @Copyright: www.hiluker.cn
namespace addons\models;
use Yii;
use yii\db\ActiveRecord;
class AcWeituoren extends ActiveRecord
{
//指定数据库
public static function getDb()
{
return Yii::$app->get('ac');
}
/**
* @inheritdoc
*/
public static function tableName()
{
return '{{%ac_weituoren}}';
}
// /**
// * @inheritdoc
// */
// public function rules()
// {
// return [];
// }
// /**
// * @inheritdoc
// */
// public function attributeLabels()
// {
// return [];
// }
}
File diff suppressed because it is too large Load Diff