feat: 初始化纳海川官网代码仓
这个提交包含在:
49
addons/official/config/api.php
普通文件
49
addons/official/config/api.php
普通文件
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
// 公共助手函数
|
||||
|
||||
use app\common\library\Auth;
|
||||
use think\Cache;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 获取中英文数据
|
||||
* @param $model_name 模型名称
|
||||
* @param $name 字段名称
|
||||
* @param string $stu 语言字段
|
||||
* @param string $m 模块
|
||||
* @return mixed|string
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
* @throws \think\exception\DbException
|
||||
*/
|
||||
if (!function_exists('__api')) {
|
||||
function __api($model_name, $name, $m = 'official')
|
||||
{
|
||||
//获取语言
|
||||
$language = (int)input('param.uni_language');
|
||||
//判断语言
|
||||
$language = ($language == 1) ? 'en' : 'zh-cn';
|
||||
//获取语言包地址
|
||||
$url = ROOT_PATH . "addons/$m/lang/api/$language/official_$model_name.php";
|
||||
if (file_exists($url)) {
|
||||
$data = include $url;
|
||||
if (isset($data[$name]) && !empty($data[$name])) {
|
||||
return $data[$name];
|
||||
}
|
||||
}
|
||||
//如果没有模型
|
||||
$common = ROOT_PATH . "addons/$m/lang/api/$language.php";
|
||||
if (file_exists($common)) {
|
||||
$common_f = include $common;
|
||||
if (isset($common_f[$name]) && !empty($common_f[$name])) {
|
||||
return $common_f[$name];
|
||||
}
|
||||
}
|
||||
return $name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
184
addons/official/config/common.php
普通文件
184
addons/official/config/common.php
普通文件
@@ -0,0 +1,184 @@
|
||||
<?php
|
||||
|
||||
// 公共助手函数
|
||||
|
||||
use app\common\library\Auth;
|
||||
use think\Cache;
|
||||
|
||||
/**
|
||||
* 获取中英文数据
|
||||
*/
|
||||
if (!function_exists('ze')) {
|
||||
function ze($date, $name)
|
||||
{
|
||||
$language = (int) cookie('language') ? (int) cookie('language') : 2;
|
||||
if ($language == 1) {
|
||||
return $date['e_' . $name];
|
||||
} else {
|
||||
return $date[$name];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取配置项数据
|
||||
* @param $name 名称
|
||||
* @param $stu 获取字段 title 和 value
|
||||
* @param string $m 如果stu为value返回的数据序号
|
||||
*/
|
||||
if (!function_exists('__config')) {
|
||||
function __config($name, $stu = 'title', $m = 0)
|
||||
{
|
||||
$language_stu = (int) cookie('language') ? (int) cookie('language') : 2;//1=English,2=Chinese
|
||||
$name .= ($language_stu == 1) ? '_en' : '';
|
||||
|
||||
//生成配置文件
|
||||
$official_data_url = ADDON_PATH . 'official' . DS . 'config' . DS . 'official_data.php';
|
||||
if (!file_exists($official_data_url)) {
|
||||
throw new \think\Exception("您的'$official_data_url'文件缺失。");
|
||||
} else {
|
||||
$config_all = include $official_data_url;
|
||||
}
|
||||
$config = $config_all[$name] ?? '';
|
||||
if (empty($config)) return '';
|
||||
if ($stu == 'title') return $config['title'];
|
||||
if ($stu == 'value') {
|
||||
//判断图片
|
||||
$zhui = substr(strrchr($config['value'],'.'),1);
|
||||
//bmp,jpg,png,tif,gif,pcx,tga,exif,fpx,svg,psd,cdr,pcd,dxf,ufo,eps,ai,raw,WMF,webp,avif,apng
|
||||
if (in_array($zhui,['jpg','png','gif','svg','bmp'])){
|
||||
return cdnurl($config['value'],true);
|
||||
}
|
||||
$array = explode('|', $config['value']);
|
||||
return $array[$m] ?? '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取中英文数据
|
||||
* @param $model_name 模型名称
|
||||
* @param $name 字段名称
|
||||
* @param string $stu 语言字段
|
||||
* @param string $m 模块
|
||||
* @return mixed|string
|
||||
* @throws \think\db\exception\DataNotFoundException
|
||||
* @throws \think\db\exception\ModelNotFoundException
|
||||
* @throws \think\exception\DbException
|
||||
*/
|
||||
if (!function_exists('__l')) {
|
||||
function __l($model_name, $name, $m = 'official')
|
||||
{
|
||||
$auth = Auth::instance();
|
||||
$language_stu = (int) cookie('language') ? (int) cookie('language') : 2;//1=English,2=Chinese
|
||||
$language = ($language_stu == 1) ? 'en' : 'zh-cn';
|
||||
$url = ROOT_PATH . "addons/$m/lang/$language/official_$model_name.php";
|
||||
if (file_exists($url)) {
|
||||
$data = include $url;
|
||||
if (isset($data[$name]) && !empty($data[$name])) {
|
||||
return $data[$name];
|
||||
}
|
||||
}
|
||||
|
||||
$common = ROOT_PATH . "addons/$m/lang/$language.php";
|
||||
if (file_exists($common)) {
|
||||
$common_f = include $common;
|
||||
if (isset($common_f[$name]) && !empty($common_f[$name])) {
|
||||
return $common_f[$name];
|
||||
}
|
||||
}
|
||||
return $name;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 获取自己地址栏的数据
|
||||
*/
|
||||
if (!function_exists('get_pid_sid')) {
|
||||
function get_pid_sid($data = [])
|
||||
{
|
||||
$array = $_GET;
|
||||
if (count($data)) {
|
||||
foreach ($data as $key => $item) {
|
||||
$array[$key] = $item;
|
||||
}
|
||||
}
|
||||
$ur = '';
|
||||
if (count($array)) {
|
||||
foreach ($array as $key => $item) {
|
||||
if ($item) {
|
||||
if ($ur) {
|
||||
$ur .= "&$key=" . $item;
|
||||
} else {
|
||||
$ur .= "?$key=" . $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return $ur;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 栏目跳转
|
||||
*/
|
||||
if (!function_exists('get_cate_url')) {
|
||||
function get_cate_url($category)
|
||||
{
|
||||
//判断是不是外链
|
||||
if ($category['status'] == 3) {
|
||||
return $category['url'];
|
||||
}
|
||||
|
||||
//判断是不是一级栏目
|
||||
$pid = $category['id'];
|
||||
$sid = $category['id'];
|
||||
$get_data = [':pid'=>$pid,':sid'=>$sid];
|
||||
|
||||
if ($category['pid'] != 0) {
|
||||
//如果是有父级的
|
||||
$official_tree_category_url = ADDON_PATH . 'official' . DS . 'config' . DS . 'official_tree_category.php';
|
||||
if (file_exists($official_tree_category_url)) {
|
||||
$tree_category_all = include $official_tree_category_url;
|
||||
foreach ($tree_category_all as $item) {
|
||||
if ($item['id'] == $category['pid']) {
|
||||
$father_category = $item;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isset($father_category) && !empty($father_category)) {
|
||||
$pid = $father_category['id'];
|
||||
$get_data = [':pid'=>$pid,':sid'=>$sid];
|
||||
}
|
||||
}
|
||||
//判断是不是单页
|
||||
if ($category['status'] == 1) {
|
||||
return addon_url('official/web.official_home/single',$get_data,true,true);
|
||||
}
|
||||
//判断是不是列表
|
||||
if ($category['status'] == 2) {
|
||||
//生成配置文件
|
||||
$official_rule_url = ADDON_PATH . 'official' . DS . 'config' . DS . 'official_rule.php';
|
||||
if (!file_exists($official_rule_url)) {
|
||||
$official_rule = [];
|
||||
$rule_all = db('official_rule')->select();
|
||||
foreach ($rule_all as $item) {
|
||||
$official_rule[$item['id']] = $item;
|
||||
}
|
||||
file_put_contents(
|
||||
$official_rule_url,
|
||||
'<?php' . "\n\nreturn " . var_export_short($official_rule) . ";\n"
|
||||
);
|
||||
} else {
|
||||
$official_rule = include $official_rule_url;
|
||||
};
|
||||
$official_rule = $official_rule[$category['official_rule_id']] ?? [];
|
||||
return addon_url('/official/web.official_' . str_replace('official_list_', '', $official_rule['table_name'] ?? '') . '/list',$get_data,true,true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return array (
|
||||
'product_father' => '9',
|
||||
'product_son' => '14',
|
||||
'serve' => '19',
|
||||
'servesoft' => '22',
|
||||
'journalism_father' => '6',
|
||||
'journalism_son' => '8',
|
||||
'our_clients' => '20',
|
||||
);
|
||||
@@ -0,0 +1,47 @@
|
||||
<?php
|
||||
|
||||
return array (
|
||||
'categorytype' =>
|
||||
array (
|
||||
'default' => 'Default',
|
||||
'page' => 'Page',
|
||||
'article' => 'Article',
|
||||
'test' => 'Test',
|
||||
),
|
||||
'configgroup' =>
|
||||
array (
|
||||
'basic' => 'Basic',
|
||||
'dictionary' => 'Dictionary',
|
||||
'SiteConfiguration' => 'SiteConfiguration',
|
||||
'example' => 'Example',
|
||||
'api' => 'ApiConfig',
|
||||
),
|
||||
'language_switch' => '2',
|
||||
'is_all_data' => '0',
|
||||
'basic_title' => '贵阳纳海川科技有限公司【官网】贵阳软件开发,贵阳小程序开发,贵阳APP开发、贵州开发公司,纳海川数据',
|
||||
'basic_title_en' => 'This website deals in intelligent household appliances, bathroom products, kitchen, wardrobe and other products',
|
||||
'site_logo' => '/uploads/20240219/fa41e98b345060628a9fd2a3436c62d5.png',
|
||||
'site_logo_en' => '/uploads/20240219/fa41e98b345060628a9fd2a3436c62d5.png',
|
||||
'site_copyright' => '贵阳纳海川科技有限公司',
|
||||
'site_copyright_en' => 'Nahaichuan Technology Co., Ltd',
|
||||
'site_technical_support' => '贵阳纳海川科技有限公司',
|
||||
'site_technical_support_en' => 'Nahaichuan Technology',
|
||||
'site_relation' => '李经理',
|
||||
'site_relation_en' => 'Miss Li',
|
||||
'site_mobile' => '13984036826',
|
||||
'site_mobile_en' => '13984036826',
|
||||
'site_email' => 'server@gynhc.com',
|
||||
'site_email_en' => 'server@gynhc.com',
|
||||
'site_address' => '销售中心:贵州省贵阳市南明区花果园遵义中路中环广场2号楼26楼20-21号 技术中心:贵州省贵阳市经开区数安大道大数据安全产业园数楼4楼02-03号',
|
||||
'site_address_en' => '4th Floor, Building Number, Big Data Security Industrial Park, Economic and Technological Development Zone, Guiyang City, Guizhou Province',
|
||||
'site_qrcode' => '/uploads/20240221/bdc095430ecbcf632029b31d2bd3b87e.png',
|
||||
'site_qrcode_en' => '/uploads/20240221/bdc095430ecbcf632029b31d2bd3b87e.png',
|
||||
'site_beian' => '黔ICP备2022008272号|https://beian.miit.gov.cn/',
|
||||
'site_beian_en' => '黔ICP备2022008272号|https://beian.miit.gov.cn/',
|
||||
'keywords' => '小程序开发、Web开发、区块链技术、物联网建设、企业OA办公系统、ERP系统、工厂数字化以及数字化营销策划等',
|
||||
'keywords_en' => 'Enterprise website management system, micro website construction, mobile website construction, Chinese and English website construction',
|
||||
'description' => '贵阳纳海川科技有限公司成立于2016年,我们专注于APP开发、 小程序开发、Web开发、区块链技术、物联网建设、企业OA办公系统、ERP系统、工厂数字化以及数字化营销策划等领域。我们拥有专业的技术实力,帮助企业提升数字化发展进程赋能',
|
||||
'description_en' => 'The latest bidding information of our company; Our company releases the most relevant bidding information; For all levels of government procurement, tendering agencies, tendering enterprises, suppliers to provide strong professional tendering procurement information inquiry and related services!',
|
||||
'api_default_language' => '2',
|
||||
'web_default_language' => '2',
|
||||
);
|
||||
@@ -0,0 +1,424 @@
|
||||
<?php
|
||||
|
||||
return array (
|
||||
'categorytype' =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => 'categorytype',
|
||||
'group' => 'dictionary',
|
||||
'title' => 'Category type',
|
||||
'tip' => '',
|
||||
'type' => 'array',
|
||||
'value' => '{"default":"Default","page":"Page","article":"Article","test":"Test"}',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => NULL,
|
||||
),
|
||||
'configgroup' =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => 'configgroup',
|
||||
'group' => 'dictionary',
|
||||
'title' => 'Config group',
|
||||
'tip' => '',
|
||||
'type' => 'array',
|
||||
'value' => '{"basic":"Basic","dictionary":"Dictionary","SiteConfiguration":"SiteConfiguration","example":"Example","api":"ApiConfig"}',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => NULL,
|
||||
),
|
||||
'language_switch' =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => 'language_switch',
|
||||
'group' => 'basic',
|
||||
'title' => '语言切换',
|
||||
'tip' => '必须选择语言',
|
||||
'type' => 'radio',
|
||||
'value' => '2',
|
||||
'content' => '{"1":"English","2":"中文"}',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'is_all_data' =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'name' => 'is_all_data',
|
||||
'group' => 'basic',
|
||||
'title' => '是否显示全部数据',
|
||||
'tip' => '开启会显示中英文全部数据',
|
||||
'type' => 'switch',
|
||||
'value' => '0',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'basic_title' =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => 'basic_title',
|
||||
'group' => 'basic',
|
||||
'title' => '站点名称',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '贵阳纳海川科技有限公司【官网】贵阳软件开发,贵阳小程序开发,贵阳APP开发、贵州开发公司,纳海川数据',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'basic_title_en' =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'name' => 'basic_title_en',
|
||||
'group' => 'basic',
|
||||
'title' => 'site name',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => 'This website deals in intelligent household appliances, bathroom products, kitchen, wardrobe and other products',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_logo' =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'name' => 'site_logo',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '网站logo',
|
||||
'tip' => '',
|
||||
'type' => 'image',
|
||||
'value' => '/uploads/20240219/fa41e98b345060628a9fd2a3436c62d5.png',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_logo_en' =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'name' => 'site_logo_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'The website logo ',
|
||||
'tip' => '',
|
||||
'type' => 'image',
|
||||
'value' => '/uploads/20240219/fa41e98b345060628a9fd2a3436c62d5.png',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_copyright' =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'name' => 'site_copyright',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '版权所有',
|
||||
'tip' => '名称|跳转路径',
|
||||
'type' => 'string',
|
||||
'value' => '贵阳纳海川科技有限公司',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_copyright_en' =>
|
||||
array (
|
||||
'id' => 11,
|
||||
'name' => 'site_copyright_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'property in copyright',
|
||||
'tip' => '名称|跳转路径',
|
||||
'type' => 'string',
|
||||
'value' => 'Nahaichuan Technology Co., Ltd',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_technical_support' =>
|
||||
array (
|
||||
'id' => 12,
|
||||
'name' => 'site_technical_support',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '技术支持',
|
||||
'tip' => '名称|跳转路径',
|
||||
'type' => 'string',
|
||||
'value' => '贵阳纳海川科技有限公司',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_technical_support_en' =>
|
||||
array (
|
||||
'id' => 13,
|
||||
'name' => 'site_technical_support_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'technical support',
|
||||
'tip' => '名称|跳转路径',
|
||||
'type' => 'string',
|
||||
'value' => 'Nahaichuan Technology',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_relation' =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'name' => 'site_relation',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '联系人',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '李经理',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_relation_en' =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'name' => 'site_relation_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'linkman,contacts',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => 'Miss Li',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_mobile' =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'name' => 'site_mobile',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '电话',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '13984036826',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_mobile_en' =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'name' => 'site_mobile_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'mobile',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '13984036826',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_email' =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'name' => 'site_email',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '邮箱',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => 'server@gynhc.com',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_email_en' =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'name' => 'site_email_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'e-mail',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => 'server@gynhc.com',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_address' =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'name' => 'site_address',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '地址',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '销售中心:贵州省贵阳市南明区花果园遵义中路中环广场2号楼26楼20-21号 技术中心:贵州省贵阳市经开区数安大道大数据安全产业园数楼4楼02-03号',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_address_en' =>
|
||||
array (
|
||||
'id' => 21,
|
||||
'name' => 'site_address_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'address',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '4th Floor, Building Number, Big Data Security Industrial Park, Economic and Technological Development Zone, Guiyang City, Guizhou Province',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_qrcode' =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'name' => 'site_qrcode',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '微信二维码',
|
||||
'tip' => '',
|
||||
'type' => 'image',
|
||||
'value' => '/uploads/20240221/bdc095430ecbcf632029b31d2bd3b87e.png',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_qrcode_en' =>
|
||||
array (
|
||||
'id' => 23,
|
||||
'name' => 'site_qrcode_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'Wechat QR Code',
|
||||
'tip' => '',
|
||||
'type' => 'image',
|
||||
'value' => '/uploads/20240221/bdc095430ecbcf632029b31d2bd3b87e.png',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_beian' =>
|
||||
array (
|
||||
'id' => 24,
|
||||
'name' => 'site_beian',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => '网站备案号',
|
||||
'tip' => '备案号|跳转路径',
|
||||
'type' => 'string',
|
||||
'value' => '黔ICP备2022008272号|https://beian.miit.gov.cn/',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'site_beian_en' =>
|
||||
array (
|
||||
'id' => 25,
|
||||
'name' => 'site_beian_en',
|
||||
'group' => 'SiteConfiguration',
|
||||
'title' => 'Website Record Number',
|
||||
'tip' => 'Website Record Number|Jump path',
|
||||
'type' => 'string',
|
||||
'value' => '黔ICP备2022008272号|https://beian.miit.gov.cn/',
|
||||
'content' => '',
|
||||
'rule' => '',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'keywords' =>
|
||||
array (
|
||||
'id' => 26,
|
||||
'name' => 'keywords',
|
||||
'group' => 'basic',
|
||||
'title' => '站点关键词',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '小程序开发、Web开发、区块链技术、物联网建设、企业OA办公系统、ERP系统、工厂数字化以及数字化营销策划等',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'keywords_en' =>
|
||||
array (
|
||||
'id' => 27,
|
||||
'name' => 'keywords_en',
|
||||
'group' => 'basic',
|
||||
'title' => 'Site keywords',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => 'Enterprise website management system, micro website construction, mobile website construction, Chinese and English website construction',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'description' =>
|
||||
array (
|
||||
'id' => 28,
|
||||
'name' => 'description',
|
||||
'group' => 'basic',
|
||||
'title' => '站点介绍',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => '贵阳纳海川科技有限公司成立于2016年,我们专注于APP开发、 小程序开发、Web开发、区块链技术、物联网建设、企业OA办公系统、ERP系统、工厂数字化以及数字化营销策划等领域。我们拥有专业的技术实力,帮助企业提升数字化发展进程赋能',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'description_en' =>
|
||||
array (
|
||||
'id' => 29,
|
||||
'name' => 'description_en',
|
||||
'group' => 'basic',
|
||||
'title' => 'The site is introduced',
|
||||
'tip' => '',
|
||||
'type' => 'string',
|
||||
'value' => 'The latest bidding information of our company; Our company releases the most relevant bidding information; For all levels of government procurement, tendering agencies, tendering enterprises, suppliers to provide strong professional tendering procurement information inquiry and related services!',
|
||||
'content' => '',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'api_default_language' =>
|
||||
array (
|
||||
'id' => 30,
|
||||
'name' => 'api_default_language',
|
||||
'group' => 'api',
|
||||
'title' => '默认语言',
|
||||
'tip' => '',
|
||||
'type' => 'radio',
|
||||
'value' => '2',
|
||||
'content' => '{"1":"English","2":"简体中文"}',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
'web_default_language' =>
|
||||
array (
|
||||
'id' => 31,
|
||||
'name' => 'web_default_language',
|
||||
'group' => 'basic',
|
||||
'title' => '前端默认语言',
|
||||
'tip' => '仅适用于web页面',
|
||||
'type' => 'radio',
|
||||
'value' => '2',
|
||||
'content' => '{"1":"English","2":"中文"}',
|
||||
'rule' => 'required',
|
||||
'extend' => '',
|
||||
'setting' => '",,,"',
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
|
||||
return array (
|
||||
1 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => '产品列表',
|
||||
'index_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/3b2c1e5ed7f0108d80c50b6a6bf3e180.png',
|
||||
'list_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/050c10a1e5b45768decaec00f216f677.png',
|
||||
'content_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/a47e61c51c38fbed0ada413ad1747fbf.png',
|
||||
'table_name' => 'official_list_product',
|
||||
'weigh' => 999,
|
||||
'status' => '1',
|
||||
'createtime' => 1629289426,
|
||||
'updatetime' => 1632881770,
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 2,
|
||||
'name' => '视频列表',
|
||||
'index_image' => '',
|
||||
'list_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/f2683cd071dc961129dbf8a25f4ece2f.png',
|
||||
'content_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/68f6d36b78c8783b7215282bd2df342e.png',
|
||||
'table_name' => 'official_list_video',
|
||||
'weigh' => 980,
|
||||
'status' => '1',
|
||||
'createtime' => 1629297896,
|
||||
'updatetime' => 1632881905,
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 3,
|
||||
'name' => '新闻列表',
|
||||
'index_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/117442dda6bedf6f8f97ce436cc96c43.png',
|
||||
'list_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/5f38be9de04aeaba1a62a712f6064bfd.png',
|
||||
'content_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/9bd95bc605848d9377c0113ea316a549.png',
|
||||
'table_name' => 'official_list_journalism',
|
||||
'weigh' => 970,
|
||||
'status' => '1',
|
||||
'createtime' => 1629298170,
|
||||
'updatetime' => 1632881999,
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 4,
|
||||
'name' => '客户案例独有',
|
||||
'index_image' => '',
|
||||
'list_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/7096989c219f9f681806e0a92e3791b4.png',
|
||||
'content_image' => '',
|
||||
'table_name' => 'official_list_case_show',
|
||||
'weigh' => 960,
|
||||
'status' => '1',
|
||||
'createtime' => 1629390234,
|
||||
'updatetime' => 1632882032,
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 5,
|
||||
'name' => '下载列表',
|
||||
'index_image' => '',
|
||||
'list_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/891475de30fc401189a1db10517ff8a7.png',
|
||||
'content_image' => '',
|
||||
'table_name' => 'official_list_download',
|
||||
'weigh' => 950,
|
||||
'status' => '1',
|
||||
'createtime' => 1629391183,
|
||||
'updatetime' => 1632882064,
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'name' => '招聘规则(表格)',
|
||||
'index_image' => '',
|
||||
'list_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/0d91460926dec9c73445757318bb990f.png',
|
||||
'content_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/59ecd42befaff2f0007704f4dcb8a99c.png',
|
||||
'table_name' => 'official_list_table',
|
||||
'weigh' => 940,
|
||||
'status' => '1',
|
||||
'createtime' => 1629391428,
|
||||
'updatetime' => 1632882128,
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'name' => '我们的客户',
|
||||
'index_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/fedede7893f1539cc4c59a60ab1bf962.png',
|
||||
'list_image' => '',
|
||||
'content_image' => '',
|
||||
'table_name' => 'official_list_our_clients',
|
||||
'weigh' => 920,
|
||||
'status' => '1',
|
||||
'createtime' => 1629707257,
|
||||
'updatetime' => 1632882166,
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 10,
|
||||
'name' => '在线留言(无列表页)',
|
||||
'index_image' => '',
|
||||
'list_image' => '',
|
||||
'content_image' => 'https://guanwang.guoyupeng.cn/uploads/2021092929/338e94bf2aba57ca7896b0f0769df144.png',
|
||||
'table_name' => 'official_list_online_message',
|
||||
'weigh' => 900,
|
||||
'status' => '1',
|
||||
'createtime' => 1630219667,
|
||||
'updatetime' => 1632882209,
|
||||
),
|
||||
);
|
||||
@@ -0,0 +1,297 @@
|
||||
<?php
|
||||
|
||||
return array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 19,
|
||||
'name' => '业务介绍',
|
||||
'e_name' => 'scope of services',
|
||||
'subheading' => '10 年专业软件开发技术团队,3000+客户案例',
|
||||
'e_subheading' => 'One of the most professional electronic instrument design service providers in China. He has accumulated rich design and development experience in the field of electronics for many years',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/fcd4e3c646c8842c919391c15fdf4402.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 3,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '0',
|
||||
'language' => '2',
|
||||
'createtime' => 1629699444,
|
||||
'weigh' => 1001,
|
||||
'updatetime' => 1708481688,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 22,
|
||||
'name' => '软件产品',
|
||||
'e_name' => 'soft',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/uploads/20240220/4dcee8fcd89a9f395eed392991c2a875.jpg',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 3,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1708438388,
|
||||
'weigh' => 1000,
|
||||
'updatetime' => 1708481675,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
2 =>
|
||||
array (
|
||||
'id' => 14,
|
||||
'name' => '客户案例',
|
||||
'e_name' => 'customer case',
|
||||
'subheading' => '最优质的的服务',
|
||||
'e_subheading' => 'The best service',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/bc13c6ca5b410ddfb74ddacfffb47e65.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 4,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629391022,
|
||||
'weigh' => 999,
|
||||
'updatetime' => 1708346184,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
3 =>
|
||||
array (
|
||||
'id' => 6,
|
||||
'name' => '新闻资讯',
|
||||
'e_name' => 'journalism',
|
||||
'subheading' => '企业发展携手你我共前进',
|
||||
'e_subheading' => 'The development of the enterprise goes hand in hand with you and me',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/66c199e18f11b9c189c36c7d0951021c.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 3,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629298102,
|
||||
'weigh' => 998,
|
||||
'updatetime' => 1708346158,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
0 =>
|
||||
array (
|
||||
'id' => 8,
|
||||
'name' => '行业动态',
|
||||
'e_name' => 'industry dynamics',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/344736e351b78a49e06f0863418ba944.png',
|
||||
'pid' => 6,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 3,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629298231,
|
||||
'weigh' => 999,
|
||||
'updatetime' => 1634829430,
|
||||
'deletetime' => NULL,
|
||||
),
|
||||
1 =>
|
||||
array (
|
||||
'id' => 7,
|
||||
'name' => '公司新闻',
|
||||
'e_name' => 'company news',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/ea34bb2ee967ec4f762557574dfb89f8.png',
|
||||
'pid' => 6,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 3,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629298208,
|
||||
'weigh' => 980,
|
||||
'updatetime' => 1634829476,
|
||||
'deletetime' => NULL,
|
||||
),
|
||||
),
|
||||
),
|
||||
4 =>
|
||||
array (
|
||||
'id' => 16,
|
||||
'name' => '人才招聘',
|
||||
'e_name' => 'recruit',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/abb8b147a5cf475d789a6c5f5a5164f6.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 6,
|
||||
'url' => '',
|
||||
'is_nav_show' => '0',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629391452,
|
||||
'weigh' => 994,
|
||||
'updatetime' => 1708347176,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
5 =>
|
||||
array (
|
||||
'id' => 17,
|
||||
'name' => '在线留言',
|
||||
'e_name' => 'online message',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/8a05ed991e18e565a8aa960f739fb004.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 10,
|
||||
'url' => '',
|
||||
'is_nav_show' => '0',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629391614,
|
||||
'weigh' => 993,
|
||||
'updatetime' => 1708347207,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
6 =>
|
||||
array (
|
||||
'id' => 20,
|
||||
'name' => '我们的客户',
|
||||
'e_name' => 'our clients',
|
||||
'subheading' => '我们很荣幸地与各单位合作并提供产品和服务',
|
||||
'e_subheading' => 'We are honored to cooperate with all units and provide products and services',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/fcd4e3c646c8842c919391c15fdf4402.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 9,
|
||||
'url' => '',
|
||||
'is_nav_show' => '0',
|
||||
'is_flooter_nav_show' => '0',
|
||||
'language' => '2',
|
||||
'createtime' => 1629707350,
|
||||
'weigh' => 20,
|
||||
'updatetime' => 1629720047,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
7 =>
|
||||
array (
|
||||
'id' => 18,
|
||||
'name' => '联系我们',
|
||||
'e_name' => 'contact us',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/fcd4e3c646c8842c919391c15fdf4402.png',
|
||||
'pid' => 0,
|
||||
'status' => '1',
|
||||
'official_rule_id' => 0,
|
||||
'url' => 'http://www.baidu.com',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629391630,
|
||||
'weigh' => 18,
|
||||
'updatetime' => 1742976804,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
8 =>
|
||||
array (
|
||||
'id' => 1,
|
||||
'name' => '关于我们',
|
||||
'e_name' => 'About Us',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/c48461b9f387fd530c877ff659c8581f.png',
|
||||
'pid' => 0,
|
||||
'status' => '1',
|
||||
'official_rule_id' => 0,
|
||||
'url' => '',
|
||||
'is_nav_show' => '1',
|
||||
'is_flooter_nav_show' => '1',
|
||||
'language' => '2',
|
||||
'createtime' => 1629297161,
|
||||
'weigh' => 0,
|
||||
'updatetime' => 1713431948,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
9 =>
|
||||
array (
|
||||
'id' => 9,
|
||||
'name' => '产品介绍',
|
||||
'e_name' => 'product',
|
||||
'subheading' => '创新产品不止于质量 更追求完美',
|
||||
'e_subheading' => 'Innovative products not only focus on quality, but also pursue perfection',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/5638c787f596f588c9cfe3e15367b709.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 1,
|
||||
'url' => '',
|
||||
'is_nav_show' => '0',
|
||||
'is_flooter_nav_show' => '0',
|
||||
'language' => '2',
|
||||
'createtime' => 1629388755,
|
||||
'weigh' => 0,
|
||||
'updatetime' => 1708481815,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
10 =>
|
||||
array (
|
||||
'id' => 15,
|
||||
'name' => '下载中心',
|
||||
'e_name' => 'download',
|
||||
'subheading' => '',
|
||||
'e_subheading' => '',
|
||||
'image' => 'https://www.nahaichuan.com/assets/addons/official/static/images/20211021/d829279445e61fcb121741019743e9b4.png',
|
||||
'pid' => 0,
|
||||
'status' => '2',
|
||||
'official_rule_id' => 5,
|
||||
'url' => '',
|
||||
'is_nav_show' => '0',
|
||||
'is_flooter_nav_show' => '0',
|
||||
'language' => '2',
|
||||
'createtime' => 1629391209,
|
||||
'weigh' => 0,
|
||||
'updatetime' => 1708346222,
|
||||
'deletetime' => NULL,
|
||||
'son' =>
|
||||
array (
|
||||
),
|
||||
),
|
||||
);
|
||||
在新工单中引用
屏蔽一个用户