Commit 87935409 by 梁建民

init

parent e4d3113f
/.idea
/.tags
/.tags_sorted_by_file
Application/Runtime/*
/Application/Runtime
......@@ -14,7 +14,7 @@ return array(
'szbom' => 'Bom',
'tbom' => 'Bom',
'szsc' => 'Sc',
'supply'=>'Supply'
'supply' => 'Supply'
),
//内部调用免验证秘钥
......@@ -24,11 +24,11 @@ return array(
'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=',
......
......@@ -9,14 +9,14 @@ return array(
),
'TMPL_PARSE_STRING' =>array(
'TMPL_PARSE_STRING' => array(
'__PUBLIC__' => STATIC_DOMAIN,
),
'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