作者 董瑞恩
1 个管道 的构建 通过 耗费 4 秒

order

... ... @@ -16,7 +16,7 @@ return [
* 账号基本信息,请从微信公众平台/开放平台获取
*/
'app_id' => 'wx75855734b0730d64', // AppID
'secret' => '4c20fc2db6e2324e4d0a85ec9a6692e7', // AppSecret
'secret' => 'a0abb5ab77ebcfbca7f9cdff4253de44', // AppSecret
'token' => 'your-token', // Token
'aes_key' => '', // EncodingAESKey,安全模式下请一定要填写!!!
/**
... ... @@ -46,8 +46,8 @@ return [
* 微信支付
*/
'payment' => [
'merchant_id' => '1509104971',
'key' => 'ebfe7fba8f7a0fba3e19efcc547b956d',
'merchant_id' => '1499702342',
'key' => '9nIGZwTj8EkwUeac5wBOK15ft9x16hm4',
'cert_path' => 'wechat/cert/apiclient_cert.pem', // XXX: 绝对路径!!!!
'key_path' => 'wechat/cert/apiclient_key.pem', // XXX: 绝对路径!!!!
// 'device_info' => '013467007045764',
... ...
... ... @@ -45,7 +45,7 @@ class AdminStatisticsController extends AdminBaseController{
echo strtotime('2018-11-15 10:15:30');
$sql="SELECT * FROM sleep_order where FROM_UNIXTIME(start_time,'%H:%i:%S')>'06:00:00' AND FROM_UNIXTIME(start_time,'%H:%i:%S')<'11:00:00'";
$sql="SELECT count(*) as num FROM sleep_order where FROM_UNIXTIME(start_time,'%H:%i:%S')>'06:00:00' AND FROM_UNIXTIME(start_time,'%H:%i:%S')<'11:00:00'";
$num=Db::query($sql);
... ...