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
+40
View File
@@ -0,0 +1,40 @@
<?php
/**
* @Author: fm453
* @Date: 2019-06-24 14:47:57
# @Last modified by: fm453
# @Last modified time: 2024-05-16T11:45:24+08:00
* @Email: fm453@lukegzs.com
*/
namespace frontend\controllers;
use Yii;
use yii\base\InvalidParamException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use yii\helpers\Url;
/**
* H5 controller
*/
class H5Controller extends Controller
{
public function actionIndex()
{
global $_HI;
$this->layout = 'h5';
include_once __DIR__.'/h5/index.php';
$this->getView()->params['seo'] = $seo;
$this->getView()->params['pageTitle'] = $pageTitle;
$this->getView()->params['title'] = $seo['title'];
$this->getView()->params['pageCate'] = $pageCate;
$this->getView()->params['pageOpp'] = $ac;
$this->getView()->params['htmlSrc'] = $htmlSrc;
$this->getView()->params['url']['product'] = fmFunc_url(Yii::$app->controller->id, 'product', $isAddons=1);
return $this->render('index');
}
}
+282
View File
@@ -0,0 +1,282 @@
<?php
/**
* @Author: fm453
* @Date: 2019-06-24 14:47:57
* @Last Modified by: fm453
* @Last Modified time: 2021-09-10 19:41:10
* @Email: fm453@lukegzs.com
*/
namespace frontend\controllers;
use Yii;
use yii\base\InvalidParamException;
use yii\web\BadRequestHttpException;
use yii\web\Controller;
use yii\filters\VerbFilter;
use yii\filters\AccessControl;
use yii\helpers\Url;
use frontend\models\LoginForm;
use frontend\models\PasswordResetRequestForm;
use frontend\models\ResetPasswordForm;
use frontend\models\SignupForm;
use frontend\models\ContactForm;
/**
* Site controller
*/
class SiteController extends Controller
{
/**
* @inheritdoc
*/
public function behaviors()
{
return [
'access' => [
'class' => AccessControl::className(),
'only' => ['logout', 'signup'],
'rules' => [
[
'actions' => ['signup'],
'allow' => true,
'roles' => ['?'],
],
[
'actions' => ['logout'],
'allow' => true,
'roles' => ['@'],
],
],
],
'verbs' => [
'class' => VerbFilter::className(),
'actions' => [
'logout' => ['post'],
],
],
];
}
/**
* @inheritdoc
*/
public function actions()
{
return [
'error' => [
'class' => 'yii\web\ErrorAction',
],
'captcha' => [
'class' => 'yii\captcha\CaptchaAction',
'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null,
],
];
}
/**
* Displays homepage.
*
* @return mixed
*/
public function actionIndex()
{
global $_HI;
include_once __DIR__.'/site/index.php';
$this->getView()->params['seo'] = $seo;
$this->getView()->params['pageTitle'] = $pageTitle;
$this->getView()->params['title'] = $seo['title'];
$this->getView()->params['pageCate'] = $pageCate;
$this->getView()->params['pageOpp'] = $ac;
$this->getView()->params['htmlSrc'] = $htmlSrc;
$this->getView()->params['modules1'] = $modules1;
$this->getView()->params['modules2'] = $modules2;
$this->getView()->params['modules3'] = $modules3;
$this->getView()->params['modules4'] = $modules4;
$this->getView()->params['url']['product'] = Url::toRoute('product/index');
return $this->render('index');
}
/**
* Logs in a user.
*
* @return mixed
*/
public function actionLogin()
{
$this->layout = 'main';
if (!Yii::$app->user->isGuest) {
return $this->goHome();
}
$model = new LoginForm();
if ($model->load(Yii::$app->request->post()) && $model->login()) {
return $this->goBack();
} else {
return $this->render('login', [
'model' => $model,
]);
}
}
/**
* Logs out the current user.
*
* @return mixed
*/
public function actionLogout()
{
Yii::$app->user->logout();
return $this->goHome();
}
/**
* Displays contact page.
*
* @return mixed
*/
public function actionContact()
{
$this->layout = 'main';
$model = new ContactForm();
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
if ($model->sendEmail(Yii::$app->params['adminEmail'])) {
Yii::$app->session->setFlash('success', '已收到您的反馈,我们将尽快响应并联系您。');
} else {
Yii::$app->session->setFlash('error', '消息发送时系统遇到错误.');
}
return $this->refresh();
} else {
return $this->render('contact', [
'model' => $model,
]);
}
}
/**
* Displays about page.
*
* @return mixed
*/
public function actionAboutus()
{
global $_HI;
include_once __DIR__.'/site/aboutus.php';
$this->getView()->params['seo'] = $seo;
$this->getView()->params['pageTitle'] = $pageTitle;
$this->getView()->params['title'] = $seo['title'];
$this->getView()->params['pageCate'] = $pageCate;
$this->getView()->params['pageOpp'] = $ac;
$this->getView()->params['htmlSrc'] = $htmlSrc;
$this->getView()->params['url']['product'] = fmFunc_url(Yii::$app->controller->id,'product',$isAddons=1);
return $this->render('aboutus');
}
public function actionPrice()
{
global $_HI;
include_once __DIR__.'/site/price.php';
$this->getView()->params['seo'] = $seo;
$this->getView()->params['pageTitle'] = $pageTitle;
$this->getView()->params['title'] = $seo['title'];
$this->getView()->params['pageCate'] = $pageCate;
$this->getView()->params['pageOpp'] = $ac;
$this->getView()->params['htmlSrc'] = $htmlSrc;
$this->getView()->params['url']['product'] = fmFunc_url(Yii::$app->controller->id,'product',$isAddons=1);
return $this->render('price');
}
public function actionCustomization()
{
global $_HI;
include_once __DIR__.'/site/customization.php';
$this->getView()->params['seo'] = $seo;
$this->getView()->params['pageTitle'] = $pageTitle;
$this->getView()->params['title'] = $seo['title'];
$this->getView()->params['pageCate'] = $pageCate;
$this->getView()->params['pageOpp'] = $ac;
$this->getView()->params['htmlSrc'] = $htmlSrc;
$this->getView()->params['url']['product'] = fmFunc_url(Yii::$app->controller->id,'product',$isAddons=1);
return $this->render('customization');
}
/**
* Signs user up.
*
* @return mixed
*/
public function actionSignup()
{
$this->layout = 'main';
$model = new SignupForm();
if ($model->load(Yii::$app->request->post())) {
if ($user = $model->signup()) {
if (Yii::$app->getUser()->login($user)) {
return $this->goHome();
}
}
}
return $this->render('signup', [
'model' => $model,
]);
}
/**
* Requests password reset.
*
* @return mixed
*/
public function actionRequestPasswordReset()
{
$this->layout = 'main';
$model = new PasswordResetRequestForm();
if ($model->load(Yii::$app->request->post()) && $model->validate()) {
if ($model->sendEmail()) {
Yii::$app->session->setFlash('success', '发送完毕,请登陆您的邮箱查阅并进行接下来的操作.');
return $this->goHome();
} else {
Yii::$app->session->setFlash('error', '抱歉,系统无法向您填写的邮箱发送重置邮件,请检查邮箱地址.');
}
}
return $this->render('requestPasswordResetToken', [
'model' => $model,
]);
}
/**
* Resets password.
*
* @param string $token
* @return mixed
* @throws BadRequestHttpException
*/
public function actionResetPassword($token)
{
try {
$model = new ResetPasswordForm($token);
} catch (InvalidParamException $e) {
throw new BadRequestHttpException($e->getMessage());
}
if ($model->load(Yii::$app->request->post()) && $model->validate() && $model->resetPassword()) {
Yii::$app->session->setFlash('success', '新密码已保存.');
return $this->goHome();
}
return $this->render('resetPassword', [
'model' => $model,
]);
}
public function actionError($e){
$this->layout = 'main';
return $this->render('error',['message'=>$e]);
}
}
+22
View File
@@ -0,0 +1,22 @@
<?php
/**
* @Author: fm453
* @Date: 2018-04-19 17:38:43
# @Last modified by: fm453
# @Last modified time: 2024-05-16T11:46:04+08:00
* @Email: fm453@lukegzs.com
*/
global $_HI;
$return=array();
$do = Yii::$app->controller->id;
$ac = Yii::$app->requestedAction->id;
$htmlSrc = fmFunc_template_resource($controller=$do, $action=$ac, $theme=null);
$seo['title'] = '系统报价|微信营销|分销系统|微信开发|海南省电子商务有限公司';
$seo['keywords'] = '微信开发定制,微信托管代运营,人才定向培训';
$seo['description']='嗨路客专注电子商务及网络营销,提供专业网络资源整合方案;结合海南区域市场及行业结构的现状,我们定制开发了针对旅游业态的多平台分销商城嗨旅行系统,配置了房产营销管理系统,联合社会企业发起新农业微商合作模式。全国招商合作联系:18608981880。';
$pageTitle = "安邮车联 轿车托运";
$pageCate = 'index';
+24
View File
@@ -0,0 +1,24 @@
<?php
/**
* @Author: fm453
* @Date: 2018-04-19 15:06:39
* @Last Modified by: fm453
* @Last Modified time: 2021-08-24 18:41:19
* @Email: fm453@lukegzs.com
*/
global $_HI;
$return=array();
$do = Yii::$app->controller->id;
$ac = Yii::$app->requestedAction->id;
$htmlSrc = fmFunc_template_resource($controller=$do,$action=$ac,$theme=null);
$seo['title'] = '运车管理系统|海南省电子商务有限公司';
$seo['keywords'] = '微信分销,微信分销源码,城市O2O系统,微网站系统,微信开发定制,微信托管代运营';
$seo['description']='嗨路客专注电子商务及网络营销,提供专业网络资源整合方案;结合海南区域市场及行业结构的现状,我们定制开发了针对旅游业态的多平台分销商城嗨旅行系统,配置了房产营销管理系统,联合社会企业发起新农业微商合作模式,超过百项行业营销应用和活动插件供您选择。全国招商合作联系:18608981880。';
$pageTitle = "运车管理系统";
$pageCate = 'aboutus';
?>
+24
View File
@@ -0,0 +1,24 @@
<?php
/**
* @Author: fm453
* @Date: 2018-04-19 17:28:18
* @Last Modified by: fm453
* @Last Modified time: 2018-04-24 03:21:20
* @Email: fm453@lukegzs.com
*/
global $_HI;
$return=array();
$do = Yii::$app->controller->id;
$ac = Yii::$app->requestedAction->id;
$htmlSrc = fmFunc_template_resource($controller=$do,$action=$ac,$theme=null);
$seo['title'] = '系统定制|服务定制|人才定向培训|海南省电子商务有限公司';
$seo['keywords'] = '微信开发定制,微信托管代运营,人才定向培训';
$seo['description']='嗨路客专注电子商务及网络营销,提供专业网络资源整合方案;结合海南区域市场及行业结构的现状,我们定制开发了针对旅游业态的多平台分销商城嗨旅行系统,配置了房产营销管理系统,联合社会企业发起新农业微商合作模式。全国招商合作联系:18608981880。';
$pageTitle = "客户定制";
$pageCate = 'customization';
?>
+236
View File
@@ -0,0 +1,236 @@
<?php
/**
* @Author: fm453
* @Date: 2018-04-19 08:42:40
* @Last Modified by: fm453
* @Last Modified time: 2021-08-27 14:46:25
* @Email: fm453@lukegzs.com
*/
global $_HI;
$return=array();
$do = Yii::$app->controller->id;
$ac = Yii::$app->requestedAction->id;
$htmlSrc = fmFunc_template_resource($controller=$do,$action=$ac,$theme=null);
$seo['title'] = '汽车托运|运车 道路救援|CTMS-海南省嗨路客电子商务有限公司';
$seo['keywords'] = '微信分销,微信分销源码,城市O2O系统,微网站系统,微信开发定制,微信托管代运营,人才培训';
$seo['description']='嗨路客专注电子商务及网络营销,提供专业网络资源整合方案;结合海南区域市场及行业结构的现状,我们定制开发了针对旅游业态的多平台分销商城嗨旅行系统,配置了房产营销管理系统,联合社会企业发起新农业微商合作模式。全国招商合作联系:18608981880。';
$pageTitle = "首页";
$pageCate = 'home';
//运输类型
$modules1 = array();
$module=array(
'title'=>'商品车调运',
'desc'=>'未上牌的出厂新车,俗称商品车。',
'content'=>'减少运损,保密车辆信息,优先保障时效。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_shangpinche.png',
'url'=>''
);
$modules1[]=$module;
$module=array(
'title'=>'二手车运输',
'desc'=>'已上牌或临牌非营运车辆、待交易/提档车辆等',
'content'=>'控制成本,量大价优,可包整板。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_ershouche.png',
'url'=>''
);
$modules1[]=$module;
$module=array(
'title'=>'道路救援',
'desc'=>'快速到位,专业救援清障小板',
'content'=>'点对点运输,快速完成托运任务',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_jiuyuan.png',
'url'=>''
);
$modules1[]=$module;
$module=array(
'title'=>'私家车运输',
'desc'=>'个人小型汽车运输',
'content'=>'您安心交车出行,我们帮您运到目标城市。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_sijiache.png',
'url'=>''
);
$modules1[]=$module;
$module=array(
'title'=>'抵押车运输',
'desc'=>'保障车辆停放安全,做好隐蔽保护。',
'content'=>'抵押车辆随时有被盗抢、追提的情况,需要格外注意停放安全问题。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_diyache.png',
'url'=>''
);
$modules1[]=$module;
//托运场景
$modules2 = array();
$module=array(
'title'=>'商品车转运',
'desc'=>'商品车必须通过专业运载车辆运送至其他城市',
'content'=>'汽车行、4S店、车超市等车商,纷纷采用运输平台的服务',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_shangpinche_2.png',
'url'=>''
);
$modules2[]=$module;
$module=array(
'title'=>'海南短居度假',
'desc'=>'住在海南时间较长,开上自家的车才是真方便',
'content'=>'即将封岛、120天行驶限制等政策,加上路段熟悉度等各种因素,使用在琼用车成本增加,综合而言,还是驾驶自己的车较为合适。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_lvjuhainan.png',
'url'=>''
);
$modules2[]=$module;
$module=array(
'title'=>'道路救援',
'desc'=>'车辆没电没油、故障近迫停、事故抛锚等等。',
'content'=>'与当地救援公司/司机展开合作,为待援车友提供关键保障。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_jiuyuan_2.png',
'url'=>''
);
$modules2[]=$module;
$module=array(
'title'=>'提验车辆',
'desc'=>'专为车商、汽贸行等提供验车打款服务。',
'content'=>'专项安排、专员打款,全方位立体验车更仔细。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_yanchetiche.png',
'url'=>''
);
$modules2[]=$module;
$module=array(
'title'=>'长途太累',
'desc'=>'长途开车太累了,中途开不动了,请即交给我们。',
'content'=>'您只管安心出行,车子我们帮你运到。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_changtulei.png',
'url'=>''
);
$modules2[]=$module;
//专业优势
$modules3 = array();
$module=array(
'title'=>'自有板车',
'desc'=>'自购/合购 清障救援车、中置轴、五位板等各种运输板车,聘用专业司机',
'content'=>'自有板车,运输管理更加专业、合规,满足当地运力配备,更有保障。',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_youshi_1.png',
'url'=>''
);
$modules3[]=$module;
$module=array(
'title'=>'专注专长',
'desc'=>'专业调度,合理整合各大运力资源、合作网点,全程专门跟进管理',
'content'=>'业调度,合理整合各大运力资源、合作网点,全程专门跟进管理',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_youshi_2.png',
'url'=>''
);
$modules3[]=$module;
$module=array(
'title'=>'安全保障',
'desc'=>'板车、司机、代驾、保险等全方位保障,才是真安全',
'content'=>'合规板车、专业司机、固定代驾、全程保险,为您的爱车提供保障',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_youshi_3.png',
'url'=>''
);
$modules3[]=$module;
$module=array(
'title'=>'时效保障',
'desc'=>'真实时效,不虚夸,让您的计划安排更加可靠',
'content'=>'不因接单而夸报时效,特殊状况及时通报告',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_youshi_4.png',
'url'=>''
);
$modules3[]=$module;
$module=array(
'title'=>'专业贴心',
'desc'=>'我们秉承“一次合作 一个朋友”的宗旨,努力服务好每一位客户',
'content'=>'及时响应客户咨询、耐心解答运车疑虑;搭建专业运车知识站,更大程度上便利客户',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_youshi_5.png',
'url'=>''
);
$modules3[]=$module;
//注意事项
$modules4 = array();
$module=array(
'title'=>'随车物品',
'desc'=>'小件物品、名贵物品、精密仪器、危险品等,不要随车',
'content'=>'对于小件贵重物品,U盘、数据线、眼镜等物品,尽量不要放置在前排或者易见易拿位置;仪器、危险品等不可随车',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_zhuyi_1.png',
'url'=>''
);
$modules4[]=$module;
$module=array(
'title'=>'车况检查',
'desc'=>'很多车主对自身的外观车损等并非全部有在意的,请在运车前确保仔细检查过车况',
'content'=>'对车辆外观我们会尽量做出记录,轻微型刮蹭、毛道、细痕等属于正常现象',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_zhuyi_2.png',
'url'=>''
);
$modules4[]=$module;
$module=array(
'title'=>'外加配件',
'desc'=>'尾翼、雨帘、辅助镜、前后底框包围等后加装置,需自行确认',
'content'=>'后加装置因安装加固工序、使用时限伤损松动等因素,在运输过程中容易出现脱落遗失等状况',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_zhuyi_3.png',
'url'=>''
);
$modules4[]=$module;
$module=array(
'title'=>'特殊功能',
'desc'=>'部分车辆有感应开锁、自动门窗、后盖等特殊情况',
'content'=>'有特殊情况的车辆,必须事先告知我们并做好防备措施,否则运输过程中容易出现问题纠纷',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_zhuyi_4.png',
'url'=>''
);
$modules4[]=$module;
$module=array(
'title'=>'特殊状况',
'desc'=>'如车辆有间歇故障、装有特殊物品、柴油车型、防冻液等非常状况',
'content'=>'如海南出岛柴油车型需交养路费,冬季东北回流方向车辆需换防冻液等',
'qq'=>'1280880631',
'img'=>$htmlSrc.'/icon_zhuyi_5.png',
'url'=>''
);
$modules4[]=$module;
?>
+24
View File
@@ -0,0 +1,24 @@
<?php
/**
* @Author: fm453
* @Date: 2018-04-19 17:38:43
* @Last Modified by: fm453
* @Last Modified time: 2018-04-24 03:21:45
* @Email: fm453@lukegzs.com
*/
global $_HI;
$return=array();
$do = Yii::$app->controller->id;
$ac = Yii::$app->requestedAction->id;
$htmlSrc = fmFunc_template_resource($controller=$do,$action=$ac,$theme=null);
$seo['title'] = '系统报价|微信营销|分销系统|微信开发|海南省电子商务有限公司';
$seo['keywords'] = '微信开发定制,微信托管代运营,人才定向培训';
$seo['description']='嗨路客专注电子商务及网络营销,提供专业网络资源整合方案;结合海南区域市场及行业结构的现状,我们定制开发了针对旅游业态的多平台分销商城嗨旅行系统,配置了房产营销管理系统,联合社会企业发起新农业微商合作模式。全国招商合作联系:18608981880。';
$pageTitle = "系统报价";
$pageCate = 'price';
?>