Authored by yyq

Merge branch 'master' of http://git.dev.yoho.cn/web/yohobuy

... ... @@ -24,7 +24,7 @@ class UdpLog
//influxdb measurement
public static $measurement = 'php_log';
public static $filePath = '/Data/logs/';
public static $filePath = '/Data/logs/pc_pay';
const RECORD_MODE_FILE = 'FILE';
const RECORD_MODE_UDP = 'UDP';
... ... @@ -71,7 +71,7 @@ class UdpLog
*/
private static function fileLog($level, $message)
{
$filename = $level . '.log'; //日志文件
$filename = $level .'-pc-' . date('Ymd', time()). '.log'; //日志文件
$logFile = self::createPath(self::$filePath, $filename);
if (!file_exists(self::$filePath))//判断文件路径是否存在
{
... ...
... ... @@ -85,7 +85,7 @@
<ul class="sub-nav-list">
{{# subnav}}
<li class="sub-nav-item">
<a href="{{link}}">{{name}}
<a href="{{link}}">{{name}}
{{#if is_new}}
<span class="newlogo"></span>
{{/if}}
... ... @@ -137,10 +137,10 @@
</form>
</div>
<div class="gobuy float-left {{gobytype}}" id="miniCartBox">
<span class="ic-infomation">0</span>
<div class="gobuy-wrapper"></div>
</div>
</div>
</div>
... ... @@ -268,6 +268,10 @@
</script>
</div>
<input id="api-domain" type="hidden" value="{{apiDomain}}">
<script src="{{sysUserSession}}"></script>
<script type="text/javascript">
if (typeof call === 'undefined' || typeof call !== 'function') {
function call() {}
}
</script>
<script async src="{{sysUserSession}}"></script>
{{/headerdata}}
... ...