This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var util = { | |
loadCss: function(src) { | |
var style = document.createElement('link'); | |
style.href = src; | |
style.rel = 'stylesheet'; | |
style.type = 'text/css'; | |
document.getElementsByTagName('head').item(0).appendChild(style); | |
}, | |
loadJs: function(src, callback) { | |
var head= document.getElementsByTagName('head')[0]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Util_time{ | |
public function __coustruct(){} | |
/** | |
* 计算两个时间戳相隔多少天 小时 分钟 秒 传入秒 | |
*/ | |
public function timediff($begin_time,$end_time) { | |
if($begin_time < $end_time){ | |
$starttime = $begin_time; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Rectangle 6 Copy: */ | |
background: #3E4EB8; | |
/* 查询: */ | |
font-family: STHeitiSC-Light; | |
font-size: 20px; | |
color: #FFFFFF; | |
line-height: 21px;≈ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let koaRequest = require('koa-request') | |
let _ = require('lodash') | |
let qs = require('qs') | |
let fs = require('fs') | |
let path = require('path'); | |
let mime = require('mime'); | |
let parse = require('co-body') | |
let util = require('./util') | |
const COOKIE = require('../config/config').cookie |