Commit 87935409 by 梁建民

init

parent e4d3113f
/.idea
/.tags
/.tags_sorted_by_file
Application/Runtime/*
/Application/Runtime
......@@ -2,9 +2,9 @@
return array(
'LOAD_EXT_CONFIG' => 'config_db,config_url,config_pwd,config_param,config_supplier,chain_config,footstone_config,config_pcb',
'VAR_PAGE' => 'p',
'VAR_PAGE' => 'p',
'APP_SUB_DOMAIN_DEPLOY' => true,
'APP_SUB_DOMAIN_RULES' => array(
'APP_SUB_DOMAIN_RULES' => array(
'm' => 'M',
'szm' => 'M',
'tm' => 'M',
......@@ -14,21 +14,21 @@ return array(
'szbom' => 'Bom',
'tbom' => 'Bom',
'szsc' => 'Sc',
'supply'=>'Supply'
'supply' => 'Supply'
),
//内部调用免验证秘钥
'SUPER_AUTH_KEY' => 'fh6y5t4rr351d2c3bryi',
// 极验
'GEE_ID' => 'afac726bf717235a47424e3f6059f524',
'GEE_KEY' => '52d86db9a61ae00a3e1d68fee908a248',
'GEE_ID' => 'afac726bf717235a47424e3f6059f524',
'GEE_KEY' => '52d86db9a61ae00a3e1d68fee908a248',
//是否显示自营搜索数据
'ZIYING_BUTTON'=>1,
'ZIYING_BUTTON' => 1,
//爬虫token验证时间
'SEARCH_TOKEN_EXPIRE_TIME' => 30,
//搜索词过滤2个英文特殊词
'BRAND_SEARCH_WORD'=>'FH,BL,TE,FM,CJ,ST,SK,ST,ON,TM,TP,TI,MD,EG,HF,DY,MK,M2,M4,M7,M1,A7,F7',
'BRAND_SEARCH_WORD' => 'FH,BL,TE,FM,CJ,ST,SK,ST,ON,TM,TP,TI,MD,EG,HF,DY,MK,M2,M4,M7,M1,A7,F7',
// 首页自营模块获取限时限量商品
'HOME_SELF_ACTIVITY_GOODS' => 'http://cube.liexin.net/WebApi/HDLimitGoodsID?Token=',
......
<?php
return array(
'URL_CASE_INSENSITIVE' => true, // 默true 表示URL不区分大小写 false则表示区分大小写
'URL_MODEL' => 2, // URL访问模式,可选参数0、1、2、3,代表以下四种模式: 0 (普通模式); 1 (PATHINFO 模式); 2 (REWRITE 模式); 3 (兼容模式) 默认为PATHINFO 模式
'URL_CASE_INSENSITIVE' => true, // 默true 表示URL不区分大小写 false则表示区分大小写
'URL_MODEL' => 2, // URL访问模式,可选参数0、1、2、3,代表以下四种模式: 0 (普通模式); 1 (PATHINFO 模式); 2 (REWRITE 模式); 3 (兼容模式) 默认为PATHINFO 模式
'URL_ROUTER_ON' => true, // 是否开启URL路由
'URL_ROUTE_RULES' => array(//动态路由
'URL_ROUTER_ON' => true, // 是否开启URL路由
'URL_ROUTE_RULES' => array(//动态路由
),
'TMPL_PARSE_STRING' =>array(
'TMPL_PARSE_STRING' => array(
'__PUBLIC__' => STATIC_DOMAIN,
),
'URL_MAP_RULES' => array(//静态路由
'URL_MAP_RULES' => array(//静态路由
'login' => 'Home/Index/login',
'home' => 'Home/Index/home'
'home' => 'Home/Index/home',
'account' => 'Home/Index/account'
),
);
\ No newline at end of file
\ No newline at end of file
<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller
{
/**
* 登录页面
*/
public function login()
{
$this->display('Login/index');
}
/**
* 首页
*/
public function home()
{
$this->display('Home/index');
}
/**
* 账户设置
*/
public function account()
{
$this->display('Account/index');
}
}
<?php
namespace Home\Controller;
use Think\Controller;
class LoginController extends Controller
{
public function index()
{
$this->display('Login/index');
}
}
<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=div, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Document</title>
<link rel="stylesheet" href="STATIC_DOMAIN/dist/css/test.css">
</head>
<body>
<div>login</div>
</body>
</html>
\ No newline at end of file
{"msg":"require(): Failed opening required '.\/vendor\/autoload.php' (include_path='.;C:\\php\\pear')","msgCode":"000000","ts":1559704037,"dateStr":"2019-06-05 03:07:17","app":"api","serverIp":"127.0.0.1","fileName":"E:\\ic\\index.php","lineNo":41,"method":""}
{"msg":"require(): Failed opening required '.\/vendor\/autoload.php' (include_path='.;C:\\php\\pear')","msgCode":"000000","ts":1559704037,"dateStr":"2019-06-05 03:07:17","app":"api","serverIp":"127.0.0.1","fileName":"E:\\ic\\index.php","lineNo":41,"method":""}
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
<?php
//000000000000a:2:{i:0;a:2:{s:5:"login";a:2:{i:0;s:16:"Home/Index/login";i:1;a:0:{}}s:4:"home";a:2:{i:0;s:15:"Home/Index/home";i:1;a:0:{}}}i:1;a:0:{}}
?>
\ No newline at end of file
<?php
//000000000000a:2:{i:0;a:2:{s:5:"login";a:2:{i:0;s:16:"Home/Index/login";i:1;a:0:{}}s:4:"home";a:2:{i:0;s:15:"Home/Index/home";i:1;a:0:{}}}i:1;a:0:{}}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment