Commit 737df1d3 by 施宇

111

parent 0b225ca8
...@@ -11,14 +11,27 @@ return array( ...@@ -11,14 +11,27 @@ return array(
), ),
'TMPL_PARSE_STRING' => array( 'TMPL_PARSE_STRING' => array(
'__PUBLIC__' => STATIC_DOMAIN, '__PUBLIC__' => STATIC_DOMAIN,
//非必须登录
//登录、注册、找回密码、登录状态、绑定第三方账户
'authapi' => 'authapi.icsales.com',
//非必须登录
//询价中心、后台首页(部分接口)、抢单专区、后台搜索、前台搜索
'soapi' => 'soapi.icsales.com',
//必须登录
//登录会员信息、会员认证(包含但不限于新增认证、认证列表)、积分、账户设置、站内消息通知
'userapi' => 'userapi.icsales.com',
//非必须登录:商详
//必须登录:我的商品列表、编辑、新增、删除、下架、上架、批量上传、商品数量统计、批量上传任务状态
'goodsapi' => 'goodsapi.icsales.com',
//必须登录:我的询价列表、询价下架and上架、询价详情、询价数量统计、发布询价 报价列表、报价详情(询报价相关)、报价数量统计、发布报价
'inquiryapi' => 'inquiryapi.icsales.com'
), ),
'URL_MAP_RULES' => array(//静态路由 'URL_MAP_RULES' => array(//静态路由
'index' => 'Home/Index/index', 'index' => 'Home/Index/index',
'indexsearch' => 'Home/Index/indexsearch', 'indexsearch' => 'Home/Index/indexsearch',
'login' => 'Home/Index/login', 'login' => 'Home/Index/login',
'home' => 'Home/Index/home', 'homes' => 'Home/Index/home',
'inquiry' => 'Home/Index/inquiry', 'inquiry' => 'Home/Index/inquiry',
'quote' => 'Home/Index/quote', 'quote' => 'Home/Index/quote',
'account' => 'Home/Index/account', 'account' => 'Home/Index/account',
......
...@@ -11,8 +11,8 @@ ...@@ -11,8 +11,8 @@
</div> </div>
<div class="nav_left_content"> <div class="nav_left_content">
<ul class="content_ul"> <ul class="content_ul">
<li class="content_ul_li <if condition="(ACTION_NAME eq 'home')">active</if>"> <li class="content_ul_li <if condition="(ACTION_NAME eq 'homes')">active</if>">
<a href="/home" class="out"> <a href="/homes" class="out">
<span class="li_icon icon iconfont iconjuxing4"></span> <span class="li_icon icon iconfont iconjuxing4"></span>
<span class="li_title">首页</span> <span class="li_title">首页</span>
</a> </a>
......
<?php if (!defined('THINK_PATH')) exit();?><style type="text/css">*{ padding: 0; margin: 0; } div{ padding: 4px 48px;} body{ background: #fff; font-family: "微软雅黑"; color: #333;font-size:24px} h1{ font-size: 100px; font-weight: normal; margin-bottom: 12px; } p{ line-height: 1.8em; font-size: 36px } a,a:hover{color:blue;}</style><div style="padding: 24px 48px;"> <h1>:)</h1><p>欢迎使用 <b>ThinkPHP</b></p><br/>版本 V<?php echo (THINK_VERSION); ?></div><script type="text/javascript" src="http://ad.topthink.com/Public/static/client.js"></script><thinkad id="ad_55e75dfae343f5a1"></thinkad><script type="text/javascript" src="http://tajs.qq.com/stats?sId=9347272" charset="UTF-8"></script>
\ No newline at end of file
\ No newline at end of file
\ No newline at end of file
\ No newline at end of file
[ 2019-06-17T17:09:46+08:00 ] 127.0.0.1 /favicon.ico
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000012s ]
INFO: [ app_init ] --END-- [ RunTime:0.000296s ]
[ 2019-06-17T17:09:46+08:00 ] 127.0.0.1 /favicon.ico
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000014s ]
INFO: [ app_init ] --END-- [ RunTime:0.000391s ]
[ 2019-06-17T17:10:33+08:00 ] 127.0.0.1 /favicon.ico
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000012s ]
INFO: [ app_init ] --END-- [ RunTime:0.000322s ]
[ 2019-06-17T17:10:34+08:00 ] 127.0.0.1 /favicon.ico
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000039s ]
INFO: [ app_init ] --END-- [ RunTime:0.000749s ]
[ 2019-06-17T17:10:34+08:00 ] 127.0.0.1 /favicon.ico
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000024s ]
INFO: [ app_init ] --END-- [ RunTime:0.000923s ]
[ 2019-06-17T17:10:36+08:00 ] 127.0.0.1 /integral
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000008s ]
INFO: [ app_init ] --END-- [ RunTime:0.000231s ]
ERR: 无法加载模块:Integral
[ 2019-06-17T17:10:45+08:00 ] 127.0.0.1 /integral
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000008s ]
INFO: [ app_init ] --END-- [ RunTime:0.000235s ]
ERR: 无法加载模块:Integral
[ 2019-06-17T17:10:46+08:00 ] 127.0.0.1 /integral
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000238s ]
ERR: 无法加载模块:Integral
[ 2019-06-17T17:10:46+08:00 ] 127.0.0.1 /integral
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000008s ]
INFO: [ app_init ] --END-- [ RunTime:0.000230s ]
ERR: 无法加载模块:Integral
[ 2019-06-17T17:10:46+08:00 ] 127.0.0.1 /integral
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000233s ]
ERR: 无法加载模块:Integral
[ 2019-06-17T17:10:47+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000226s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:47+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000010s ]
INFO: [ app_init ] --END-- [ RunTime:0.000251s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:47+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000248s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:56+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000008s ]
INFO: [ app_init ] --END-- [ RunTime:0.000230s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:57+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000008s ]
INFO: [ app_init ] --END-- [ RunTime:0.000230s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:57+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000245s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:57+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000010s ]
INFO: [ app_init ] --END-- [ RunTime:0.000237s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:10:57+08:00 ] 127.0.0.1 /goodmanage
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000242s ]
ERR: 无法加载模块:Goodmanage
[ 2019-06-17T17:11:27+08:00 ] 127.0.0.1 /roborder
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000009s ]
INFO: [ app_init ] --END-- [ RunTime:0.000229s ]
ERR: 无法加载模块:Roborder
[ 2019-06-17T17:11:57+08:00 ] 127.0.0.1 /roborder
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000008s ]
INFO: [ app_init ] --END-- [ RunTime:0.000269s ]
ERR: 无法加载模块:Roborder
[ 2019-06-17T17:09:41+08:00 ] 127.0.0.1 /home
INFO: [ app_init ] --START--
INFO: Run Behavior\BuildLiteBehavior [ RunTime:0.000023s ]
INFO: [ app_init ] --END-- [ RunTime:0.000157s ]
INFO: [ app_begin ] --START--
INFO: Run Behavior\ReadHtmlCacheBehavior [ RunTime:0.001028s ]
INFO: [ app_begin ] --END-- [ RunTime:0.001111s ]
INFO: [ view_parse ] --START--
INFO: [ template_filter ] --START--
INFO: Run Behavior\ContentReplaceBehavior [ RunTime:0.000045s ]
INFO: [ template_filter ] --END-- [ RunTime:0.000109s ]
INFO: Run Behavior\ParseTemplateBehavior [ RunTime:0.026039s ]
INFO: [ view_parse ] --END-- [ RunTime:0.026111s ]
INFO: [ view_filter ] --START--
INFO: Run Behavior\WriteHtmlCacheBehavior [ RunTime:0.000384s ]
INFO: [ view_filter ] --END-- [ RunTime:0.000423s ]
INFO: [ app_end ] --START--
INFO: Run Behavior\ShowPageTraceBehavior [ RunTime:0.000573s ]
INFO: [ app_end ] --END-- [ RunTime:0.000614s ]
\ No newline at end of file
\ No newline at end of file
\ No newline at end of file
\ No newline at end of file
...@@ -139,6 +139,17 @@ ...@@ -139,6 +139,17 @@
window.Util = Util; window.Util = Util;
} }
})(window); })(window);
//api列表
(function (window) {
Api = {
login:"sy"
};
if (typeof define === "function" && define.amd) {
return Api;
} else {
window.Api = Api;
}
})(window);
//跨域模式切换 兼容 //跨域模式切换 兼容
var dataTypeXpx = "json"; var dataTypeXpx = "json";
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !'); if(version_compare(PHP_VERSION,'5.3.0','<')) die('require PHP > 5.3.0 !');
define('STATIC_DOMAIN', 'http://resic.liexin.com'); define('STATIC_DOMAIN', 'http://resic.liexin.com');
// 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false // 开启调试模式 建议开发阶段开启 部署阶段注释或者设为false
define('APP_DEBUG',True); define('APP_DEBUG',1);
// 定义应用目录 // 定义应用目录
define('APP_PATH','./Application/'); define('APP_PATH','./Application/');
......
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