This commit is contained in:
parent
437e68e6fe
commit
ca367c4063
|
|
@ -12,7 +12,7 @@ use app\common\model\Goods;
|
||||||
|
|
||||||
use app\common\validate\UserValidate;
|
use app\common\validate\UserValidate;
|
||||||
use app\common\validate\OrderValidate;
|
use app\common\validate\OrderValidate;
|
||||||
|
use think\Db;
|
||||||
class UserController extends Controller
|
class UserController extends Controller
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -188,6 +188,12 @@ class UserController extends Controller
|
||||||
'order_price' => $goods_info['price']*$param['number'][$key][0],
|
'order_price' => $goods_info['price']*$param['number'][$key][0],
|
||||||
'create_time'=>time(),
|
'create_time'=>time(),
|
||||||
];
|
];
|
||||||
|
//添加设备销售数量
|
||||||
|
Db::name('goods')
|
||||||
|
->where('id', $param['goods_id'][$key][0])
|
||||||
|
->update([
|
||||||
|
'order_num' => Db::raw("order_num+" . $param['number'][$key][0]),
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(count($field_data)==0){
|
if(count($field_data)==0){
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ class AuthController extends Controller
|
||||||
return error('授权失败');
|
return error('授权失败');
|
||||||
}
|
}
|
||||||
$where['mobile'] = array('EQ',$user_info['tel']);
|
$where['mobile'] = array('EQ',$user_info['tel']);
|
||||||
$userinfo = $fumodel->field('id,avatar,nickname,openid')->where($where)->find();
|
$userinfo = $fumodel->field('id,avatar,nickname,openid,distribution_code')->where($where)->find();
|
||||||
if($userinfo && !$userinfo['openid']){
|
if($userinfo && !$userinfo['openid']){
|
||||||
$data_login['login_ip']=$request->ip();
|
$data_login['login_ip']=$request->ip();
|
||||||
$data_login['login_time']=time();
|
$data_login['login_time']=time();
|
||||||
|
|
@ -49,14 +49,14 @@ class AuthController extends Controller
|
||||||
$fumodel->where('id', $userinfo['id'])->update($data_login);
|
$fumodel->where('id', $userinfo['id'])->update($data_login);
|
||||||
$token = $this->getToken($userinfo['id']);
|
$token = $this->getToken($userinfo['id']);
|
||||||
$uid=Crypt::encrypt($userinfo['id']);
|
$uid=Crypt::encrypt($userinfo['id']);
|
||||||
return success(['token' => $token,'uid'=>$uid], '登录成功');
|
return success(['token' => $token,'uid'=>$uid,'distribution_code'=>$userinfo['distribution_code']], '登录成功');
|
||||||
}else if($userinfo && $userinfo['openid']){
|
}else if($userinfo && $userinfo['openid']){
|
||||||
$data_login['login_ip']=$request->ip();
|
$data_login['login_ip']=$request->ip();
|
||||||
$data_login['login_time']=time();
|
$data_login['login_time']=time();
|
||||||
$fumodel->where('id', $userinfo['id'])->update($data_login);
|
$fumodel->where('id', $userinfo['id'])->update($data_login);
|
||||||
$token = $this->getToken($userinfo['id']);
|
$token = $this->getToken($userinfo['id']);
|
||||||
$uid=Crypt::encrypt($userinfo['id']);
|
$uid=Crypt::encrypt($userinfo['id']);
|
||||||
return success(['token' => $token,'uid'=>$uid], '登录成功');
|
return success(['token' => $token,'uid'=>$uid,'distribution_code'=>$userinfo['distribution_code']], '登录成功');
|
||||||
}
|
}
|
||||||
//登录逻辑
|
//登录逻辑
|
||||||
// 启动事务
|
// 启动事务
|
||||||
|
|
@ -86,7 +86,7 @@ class AuthController extends Controller
|
||||||
$uid=Crypt::encrypt($uid);
|
$uid=Crypt::encrypt($uid);
|
||||||
$token = $this->getToken($uid);
|
$token = $this->getToken($uid);
|
||||||
//返回数据
|
//返回数据
|
||||||
return success(['token' => $token,'uid'=>$uid], '注册成功');
|
return success(['token' => $token,'uid'=>$uid,'distribution_code'=>$res['distribution_code']], '注册成功');
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取用户临时code 用来去获取openid
|
//获取用户临时code 用来去获取openid
|
||||||
|
|
|
||||||
|
|
@ -218,10 +218,10 @@ class IndexController extends Controller
|
||||||
//产生收益时间
|
//产生收益时间
|
||||||
$profit_time=ShopConfig::get('shouyi', 'time');
|
$profit_time=ShopConfig::get('shouyi', 'time');
|
||||||
$xiaoshi=date('G');
|
$xiaoshi=date('G');
|
||||||
// if($xiaoshi!=$profit_time){
|
if($xiaoshi!=$profit_time){
|
||||||
// Log::write('未到收益时间');
|
Log::write('未到收益时间');
|
||||||
// return '';
|
return '';
|
||||||
// }
|
}
|
||||||
|
|
||||||
//每日收益
|
//每日收益
|
||||||
$profit_num=ShopConfig::get('shouyi', 'num');
|
$profit_num=ShopConfig::get('shouyi', 'num');
|
||||||
|
|
|
||||||
|
|
@ -85,7 +85,9 @@ class UserController extends Controller
|
||||||
->whereTime('create_time', 'today')
|
->whereTime('create_time', 'today')
|
||||||
->sum('change_amount');
|
->sum('change_amount');
|
||||||
//已提现金额
|
//已提现金额
|
||||||
$amount_ytx = $wamodel->where(array('user_id'=>$uid,'status'=>2))->sum('money');
|
$where1[]=array('status','in','1,2');
|
||||||
|
$where1[]=array('user_id','eq',$uid);
|
||||||
|
$amount_ytx = $wamodel->where($where1)->sum('money');
|
||||||
//可提现金额
|
//可提现金额
|
||||||
$amount_ktx = $umodel->where(array('id'=>$uid))->value('integral');
|
$amount_ktx = $umodel->where(array('id'=>$uid))->value('integral');
|
||||||
$data=array(
|
$data=array(
|
||||||
|
|
@ -182,7 +184,7 @@ class UserController extends Controller
|
||||||
$totalPages = ceil($accountlog_count / $size);
|
$totalPages = ceil($accountlog_count / $size);
|
||||||
$accountlog_list = $almodel
|
$accountlog_list = $almodel
|
||||||
->alias('al')
|
->alias('al')
|
||||||
->field("change_amount,al.create_time,source_type,avatar,nickname")
|
->field("change_amount,al.create_time,source_type,avatar,nickname,change_type")
|
||||||
->where($where)
|
->where($where)
|
||||||
->join('user u', 'u.id= al.user_id')
|
->join('user u', 'u.id= al.user_id')
|
||||||
->limit($page, $size)
|
->limit($page, $size)
|
||||||
|
|
@ -246,7 +248,7 @@ class UserController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
//用户中心
|
//用户中心
|
||||||
public function userhome(Request $request,User $umodel,Order $omodel)
|
public function userhome(Request $request,User $umodel,WithdrawAccount $wamodel)
|
||||||
{
|
{
|
||||||
$param = $request->param();
|
$param = $request->param();
|
||||||
$uid = $param['uid']?Crypt::decrypt($param['uid']):'';
|
$uid = $param['uid']?Crypt::decrypt($param['uid']):'';
|
||||||
|
|
@ -254,8 +256,12 @@ class UserController extends Controller
|
||||||
// return unauthorized('请先授权');
|
// return unauthorized('请先授权');
|
||||||
// }
|
// }
|
||||||
$user_info=array();
|
$user_info=array();
|
||||||
|
$account_info=array();
|
||||||
if($uid){
|
if($uid){
|
||||||
$user_info=$umodel->field('avatar,nickname,user_level_id as level,integral,mobile')->where(array('id'=>$uid))->find();
|
$user_info=$umodel->field('avatar,nickname,user_level_id as level,integral,mobile')->where(array('id'=>$uid))->find();
|
||||||
|
if(!$user_info){
|
||||||
|
return unauthorized('请先授权');
|
||||||
|
}
|
||||||
if($user_info['level']==2){
|
if($user_info['level']==2){
|
||||||
$time=time();
|
$time=time();
|
||||||
$order_count=$omodel->where('end_time>='.$time.' and user_id='.$uid)->count();
|
$order_count=$omodel->where('end_time>='.$time.' and user_id='.$uid)->count();
|
||||||
|
|
@ -263,12 +269,19 @@ class UserController extends Controller
|
||||||
$user_info['level']=1;
|
$user_info['level']=1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$account_info=$wamodel->field('id,real_name,real_tel,account,subbank,type')->where(array('user_id'=>$uid,'status'=>1))->find();
|
||||||
|
if($account_info){
|
||||||
|
$account_info['id'] = Crypt::encrypt($account_info['id']);
|
||||||
|
}else{
|
||||||
|
$account_info=array();
|
||||||
|
}
|
||||||
//$user_info['avatar'] =$this->img_url.$user_info['avatar'];
|
//$user_info['avatar'] =$this->img_url.$user_info['avatar'];
|
||||||
}
|
}
|
||||||
//联系电话
|
//联系电话
|
||||||
$tel =ShopConfig::get('website', 'tel');
|
$tel =ShopConfig::get('website', 'tel');
|
||||||
$data=array(
|
$data=array(
|
||||||
'user_info'=>$user_info,
|
'user_info'=>$user_info,
|
||||||
|
'account_info'=>$account_info,
|
||||||
'tel'=>$tel
|
'tel'=>$tel
|
||||||
);
|
);
|
||||||
return success($data);
|
return success($data);
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ trait ApiAuth
|
||||||
$token = $this->request->header($config['name']);
|
$token = $this->request->header($config['name']);
|
||||||
//缺少token
|
//缺少token
|
||||||
if (empty($token)) {
|
if (empty($token)) {
|
||||||
throw new HttpResponseException(error('缺少token'));
|
throw new HttpResponseException(unauthorized('缺少token'));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->token = $token;
|
$this->token = $token;
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,6 @@ class Model extends \think\Model
|
||||||
|
|
||||||
//禁止删除的数据id
|
//禁止删除的数据id
|
||||||
public $noDeletionId = [
|
public $noDeletionId = [
|
||||||
1,2,3,4,5,6,7,8
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -1726,3 +1726,283 @@
|
||||||
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `account_log` `al` INNER JOIN `user` `u` ON `u`.`id`=`al`.`user_id` [ RunTime:0.083442s ]
|
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `account_log` `al` INNER JOIN `user` `u` ON `u`.`id`=`al`.`user_id` [ RunTime:0.083442s ]
|
||||||
[ sql ] [ SQL ] SELECT `al`.*,`u`.`mobile`,`u`.`nickname`,u.sn as user_sn,`u`.`avatar` FROM `account_log` `al` INNER JOIN `user` `u` ON `u`.`id`=`al`.`user_id` ORDER BY `id` DESC LIMIT 15,5 [ RunTime:0.083769s ]
|
[ sql ] [ SQL ] SELECT `al`.*,`u`.`mobile`,`u`.`nickname`,u.sn as user_sn,`u`.`avatar` FROM `account_log` `al` INNER JOIN `user` `u` ON `u`.`id`=`al`.`user_id` ORDER BY `id` DESC LIMIT 15,5 [ RunTime:0.083769s ]
|
||||||
[ sql ] [ SQL ] SELECT `id`,`parent_id`,`name`,`url`,`icon`,`sort_id` FROM `admin_menu` WHERE `is_show` = 1 ORDER BY `sort_id` ASC,`id` ASC [ RunTime:0.083480s ]
|
[ sql ] [ SQL ] SELECT `id`,`parent_id`,`name`,`url`,`icon`,`sort_id` FROM `admin_menu` WHERE `is_show` = 1 ORDER BY `sort_id` ASC,`id` ASC [ RunTime:0.083480s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T10:45:03+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:1.313070s] [吞吐率:0.76req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundarySoz7ixPWUJMmBScx',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.142016s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.091603s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.089906s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.091999s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.089674s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.092151s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.090422s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.121436s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T10:45:44+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:1.267315s] [吞吐率:0.79req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundary0OdSAPTBTOvEuFYS',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.132519s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.084371s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.085140s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.085527s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.083241s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.085045s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.083393s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.083009s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T10:46:24+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:0.930388s] [吞吐率:1.07req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundaryFxiBtMgZQKJzgJY8',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.139313s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.091755s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.088826s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.091453s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.089346s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.091235s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.089060s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.088442s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T10:46:42+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:0.881691s] [吞吐率:1.13req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundary9mfmo19ga2lu99vo',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.125832s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.083086s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.089605s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.083120s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.080589s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.083817s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.080179s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.080699s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T10:47:49+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:0.793556s] [吞吐率:1.26req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundarytx9I7fQR0xbAEBql',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.121083s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.079882s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.078643s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.080579s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.078633s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.080025s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.079428s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.079023s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T10:47:49+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:1.030015s] [吞吐率:0.97req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundaryzA3wcITAadwA8VO4',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.125992s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.084989s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.081764s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.082641s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.081639s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.082473s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.081481s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.080820s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-10T11:16:30+08:00] 127.0.0.1 POST dgg-myyc-api.dggmyyc.com/u-userhome
|
||||||
|
[运行时间:1.251603s] [吞吐率:0.80req/s] [内存消耗:4,333.41kb] [文件加载:166]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
'rule' => 'u-userhome',
|
||||||
|
'route' => 'api/user/userhome',
|
||||||
|
'option' =>
|
||||||
|
array (
|
||||||
|
'merge_rule_regex' => false,
|
||||||
|
),
|
||||||
|
'var' =>
|
||||||
|
array (
|
||||||
|
),
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'dgg-myyc-api.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'content-length' => '178',
|
||||||
|
'accept' => 'application/json, text/javascript, */*; q=0.01',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN',
|
||||||
|
'content-type' => 'multipart/form-data; boundary=----WebKitFormBoundaryrZY3qbhGR6Y2rG64',
|
||||||
|
'origin' => 'http://dgg-myyc-api.dggmyyc.com',
|
||||||
|
'user-agent' => 'ApiPOST Runtime +https://www.apipost.cn',
|
||||||
|
'token' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJpc3MiLCJhdWQiOiJhdWQiLCJqdGkiOiIyODA1YWRmNmQ3NGM4N2IxMjlkOTI2ZjczNDY5NzI2NyIsImlhdCI6MTYzODQzODMzMiwibmJmIjoxNjM4NDM4MzMyLCJleHAiOjE2Mzg0NDU1MzIsInVpZCI6MX0.3TRs2OKCUcxdmHAnNr4dd7SfC9rTquSDlFodu0LuMeE',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'uid' => '0beafb336LgAlOsokJsyx116ReYMoUpoQ9h8fzK4SVUt',
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.145559s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `shop_config` [ RunTime:0.082577s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'img_url' LIMIT 1 [ RunTime:0.080289s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `user` [ RunTime:0.084220s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `avatar`,`nickname`,user_level_id as level,`integral`,`mobile` FROM `user` WHERE ( `id` = 1 ) AND `user`.`delete_time` = 0 LIMIT 1 [ RunTime:0.080038s ]
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `withdraw_account` [ RunTime:0.082455s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `id`,`real_name`,`real_tel`,`account`,`subbank`,`type` FROM `withdraw_account` WHERE `user_id` = 1 AND `status` = 1 LIMIT 1 [ RunTime:0.079706s ]
|
||||||
|
[ sql ] [ SQL ] SELECT `value` FROM `shop_config` WHERE `type` = 'website' AND `name` = 'tel' LIMIT 1 [ RunTime:0.107735s ]
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,107 @@
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-11T19:14:25+08:00] 127.0.0.1 GET www.dggmyyc.com/admin/goods/index.html?_pjax=%23pjax-container
|
||||||
|
[运行时间:0.435503s] [吞吐率:2.30req/s] [内存消耗:3,053.97kb] [文件加载:161]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'www.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'accept' => 'text/html, */*; q=0.01',
|
||||||
|
'x-requested-with' => 'XMLHttpRequest',
|
||||||
|
'x-pjax' => 'true',
|
||||||
|
'x-pjax-container' => '#pjax-container',
|
||||||
|
'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36',
|
||||||
|
'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
|
||||||
|
'referer' => 'http://www.dggmyyc.com/admin/account_log/integrallist.html?page=4',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN,zh;q=0.9',
|
||||||
|
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=77c1f4d451af1aff4e9878c97edb9360',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
'_pjax' => '#pjax-container',
|
||||||
|
)
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-11T19:14:25+08:00] 127.0.0.1 GET www.dggmyyc.com/admin/auth/login.html
|
||||||
|
[运行时间:0.508046s] [吞吐率:1.97req/s] [内存消耗:4,378.84kb] [文件加载:179]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'www.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'accept' => 'text/html, */*; q=0.01',
|
||||||
|
'x-requested-with' => 'XMLHttpRequest',
|
||||||
|
'x-pjax' => 'true',
|
||||||
|
'x-pjax-container' => '#pjax-container',
|
||||||
|
'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36',
|
||||||
|
'content-type' => 'application/x-www-form-urlencoded; charset=UTF-8',
|
||||||
|
'referer' => 'http://www.dggmyyc.com/admin/account_log/integrallist.html?page=4',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN,zh;q=0.9',
|
||||||
|
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=77c1f4d451af1aff4e9878c97edb9360',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ info ] [ VIEW ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/application/admin/view/auth/login.html [ array (
|
||||||
|
0 => 'login_config',
|
||||||
|
1 => 'debug',
|
||||||
|
2 => 'cookie_prefix',
|
||||||
|
3 => 'admin',
|
||||||
|
) ]
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.139723s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `admin_menu` [ RunTime:0.094711s ]
|
||||||
|
[ sql ] [ SQL ] SELECT * FROM `admin_menu` WHERE `url` = 'admin/auth/login' LIMIT 1 [ RunTime:0.092313s ]
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-11T19:14:25+08:00] 127.0.0.1 GET www.dggmyyc.com/admin/goods/index.html
|
||||||
|
[运行时间:0.040015s] [吞吐率:24.99req/s] [内存消耗:3,053.97kb] [文件加载:161]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'www.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'upgrade-insecure-requests' => '1',
|
||||||
|
'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36',
|
||||||
|
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
|
||||||
|
'referer' => 'http://www.dggmyyc.com/admin/account_log/integrallist.html?page=4',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN,zh;q=0.9',
|
||||||
|
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=77c1f4d451af1aff4e9878c97edb9360',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
)
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-11T19:14:26+08:00] 127.0.0.1 GET www.dggmyyc.com/admin/auth/login.html
|
||||||
|
[运行时间:0.376169s] [吞吐率:2.66req/s] [内存消耗:4,378.51kb] [文件加载:179]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'www.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'upgrade-insecure-requests' => '1',
|
||||||
|
'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36',
|
||||||
|
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
|
||||||
|
'referer' => 'http://www.dggmyyc.com/admin/account_log/integrallist.html?page=4',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN,zh;q=0.9',
|
||||||
|
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=77c1f4d451af1aff4e9878c97edb9360',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ info ] [ VIEW ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/application/admin/view/auth/login.html [ array (
|
||||||
|
0 => 'login_config',
|
||||||
|
1 => 'debug',
|
||||||
|
2 => 'cookie_prefix',
|
||||||
|
3 => 'admin',
|
||||||
|
) ]
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.141156s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `admin_menu` [ RunTime:0.094712s ]
|
||||||
|
[ sql ] [ SQL ] SELECT * FROM `admin_menu` WHERE `url` = 'admin/auth/login' LIMIT 1 [ RunTime:0.092424s ]
|
||||||
|
|
@ -0,0 +1,30 @@
|
||||||
|
---------------------------------------------------------------
|
||||||
|
|
||||||
|
[2021-12-14T21:55:46+08:00] 127.0.0.1 GET www.dggmyyc.com/admin/auth/login.html
|
||||||
|
[运行时间:0.765343s] [吞吐率:1.31req/s] [内存消耗:4,378.21kb] [文件加载:179]
|
||||||
|
[ info ] [ LANG ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/thinkphp/lang/zh-cn.php
|
||||||
|
[ info ] [ ROUTE ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ HEADER ] array (
|
||||||
|
'host' => 'www.dggmyyc.com',
|
||||||
|
'connection' => 'keep-alive',
|
||||||
|
'upgrade-insecure-requests' => '1',
|
||||||
|
'user-agent' => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36',
|
||||||
|
'accept' => 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9',
|
||||||
|
'referer' => 'http://www.dggmyyc.com/admin/account_log/integrallist.html?page=4',
|
||||||
|
'accept-encoding' => 'gzip, deflate',
|
||||||
|
'accept-language' => 'zh-CN,zh;q=0.9',
|
||||||
|
'cookie' => 'thinkphp_show_page_trace=0|0; thinkphp_show_page_trace=0|0; PHPSESSID=77c1f4d451af1aff4e9878c97edb9360',
|
||||||
|
)
|
||||||
|
[ info ] [ PARAM ] array (
|
||||||
|
)
|
||||||
|
[ info ] [ DB ] INIT mysql
|
||||||
|
[ info ] [ VIEW ] /Library/WebServer/Documents/dggxiangmu/dggmyyc/application/admin/view/auth/login.html [ array (
|
||||||
|
0 => 'login_config',
|
||||||
|
1 => 'debug',
|
||||||
|
2 => 'cookie_prefix',
|
||||||
|
3 => 'admin',
|
||||||
|
) ]
|
||||||
|
[ sql ] [ DB ] CONNECT:[ UseTime:0.128633s ] mysql:host=114.215.82.135;port=3306;dbname=dgg_myyc;charset=utf8mb4
|
||||||
|
[ sql ] [ SQL ] SHOW COLUMNS FROM `admin_menu` [ RunTime:0.086385s ]
|
||||||
|
[ sql ] [ SQL ] SELECT * FROM `admin_menu` WHERE `url` = 'admin/auth/login' LIMIT 1 [ RunTime:0.083966s ]
|
||||||
Loading…
Reference in New Issue