File: /www/wwwroot//douyin.fehss.com/runtime/log/20201015.log
---------------------------------------------------------------
[ 2020-10-15T18:31:53+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.487422s][吞吐率:2.05req/s] [内存消耗:6,335.65kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002250s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=36',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.025371s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.018866s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002290s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.002235s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001250s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000342s ]
---------------------------------------------------------------
[ 2020-10-15T18:31:53+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.182457s][吞吐率:5.48req/s] [内存消耗:6,993.03kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002238s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=36',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.005966s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.030459s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001413s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000534s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001094s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001113s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.000873s ]
---------------------------------------------------------------
[ 2020-10-15T18:31:53+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.200055s][吞吐率:5.00req/s] [内存消耗:8,439.16kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002787s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=36',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.042773s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000998s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001677s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000711s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001412s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001113s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000615s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000468s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000517s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001212s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000608s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000696s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001690s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000548s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001161s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000452s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000486s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000449s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000573s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000556s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000342s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000499s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000826s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000556s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000271s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001479s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000554s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001123s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000528s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001115s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000391s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000436s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.001386s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000659s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.000545s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000362s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000335s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000284s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000242s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000256s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000474s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000257s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000365s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000262s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000398s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000426s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000467s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000243s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000416s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000265s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001482s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000502s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001400s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.000631s ]
---------------------------------------------------------------
[ 2020-10-15T18:31:59+08:00 ] 61.58.248.115 POST /index.php/admin/system/index
[ info ] mingyan.djoiw.com/index.php/admin/system/index [运行时间:0.190165s][吞吐率:5.26req/s] [内存消耗:5,955.82kb] [文件加载:125]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002405s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'system',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001684s ]
[ info ] [ RUN ] app\admin\controller\System->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/System.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: authkey[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:33]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ sql ] [ DB ] CONNECT:[ UseTime:0.004791s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_system` [ RunTime:0.001703s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_system` [ RunTime:0.000411s ]
---------------------------------------------------------------
[ 2020-10-15T18:31:59+08:00 ] 61.58.248.115 POST /index.php/admin/index/authList
[ info ] mingyan.djoiw.com/index.php/admin/index/authList [运行时间:0.242446s][吞吐率:4.12req/s] [内存消耗:6,530.58kb] [文件加载:130]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002548s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'index',
2 => 'authList',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001095s ]
[ info ] [ RUN ] app\admin\controller\Index->authList[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Index.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: bi[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:680]
[ sql ] [ DB ] CONNECT:[ UseTime:0.016592s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001511s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.003171s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001668s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001069s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000898s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.001236s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000333s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000335s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.000927s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000476s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_config` [ RunTime:0.000987s ]
[ sql ] [ SQL ] SELECT `module` FROM `crm_admin_config` WHERE `pid` = 0 AND `status` = 1 [ RunTime:0.000318s ]
---------------------------------------------------------------
[ 2020-10-15T18:31:59+08:00 ] 61.58.248.115 POST /index.php/admin/users/read
[ info ] mingyan.djoiw.com/index.php/admin/users/read [运行时间:0.241541s][吞吐率:4.14req/s] [内存消耗:6,316.41kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001896s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'users',
2 => 'read',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.039738s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Users->read[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php:79]
[ sql ] [ DB ] CONNECT:[ UseTime:0.013475s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001403s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.004372s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000520s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_structure` [ RunTime:0.000966s ]
[ sql ] [ SQL ] SELECT `id`,`name` FROM `crm_admin_structure` WHERE ( id = 11 ) LIMIT 1 [ RunTime:0.000303s ]
[ sql ] [ SQL ] SELECT `id`,`realname` FROM `crm_admin_user` WHERE ( id = 1 ) LIMIT 1 [ RunTime:0.000216s ]
---------------------------------------------------------------
[ 2020-10-15T18:31:59+08:00 ] 61.58.248.115 POST /index.php/admin/scene/index
[ info ] mingyan.djoiw.com/index.php/admin/scene/index [运行时间:0.189351s][吞吐率:5.28req/s] [内存消耗:6,743.25kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001759s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'scene',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.018396s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Scene->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Scene.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1088]
[ sql ] [ DB ] CONNECT:[ UseTime:0.015434s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.003744s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001221s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene` [ RunTime:0.007974s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 0 AND `types` = 'crm_customer' OR ( `types` = 'crm_customer' AND `type` = 1 ) ORDER BY `order_id` ASC,`scene_id` ASC [ RunTime:0.000809s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.000930s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000407s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001164s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.000750s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 1 AND `types` = 'crm_customer' ORDER BY `order_id` ASC [ RunTime:0.000556s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:00+08:00 ] 61.58.248.115 POST /index.php/crm/message/num
[ info ] mingyan.djoiw.com/index.php/crm/message/num [运行时间:0.507640s][吞吐率:1.97req/s] [内存消耗:9,206.55kb] [文件加载:143]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001902s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'message',
2 => 'num',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007129s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Message->num[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:96]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:97]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:98]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:142]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:143]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:144]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:39]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:40]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:41]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:42]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:43]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:44]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: leads.is_transform[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:108]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:174]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:175]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:176]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:209]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:210]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:211]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:247]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:248]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:249]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:45]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:95]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:285]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:286]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:287]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:38]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:39]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:40]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:42]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:326]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:327]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:328]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ sql ] [ DB ] CONNECT:[ UseTime:0.002666s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.011582s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.002604s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001107s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000309s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001455s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000373s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000495s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001139s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001005s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000373s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000311s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001083s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000651s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000335s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000247s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000307s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000255s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000419s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000276s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001282s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`next_time` BETWEEN 1602691200 AND 1602777599 AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000474s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000411s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000344s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000279s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000240s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.000969s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000316s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001066s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_leads') [ RunTime:0.000365s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'user' [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'structure' [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000240s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000308s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000503s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000422s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000394s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000480s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000325s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_leads` [ RunTime:0.001419s ]
[ sql ] [ SQL ] SELECT `create_user_id`,`update_time`,`create_time`,`owner_user_id`,`name`,`source`,`telephone`,`mobile`,`industry`,`level`,`detail_address`,`next_time`,`remark`,`crm_xgqlzv`,`leads_id` FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') ORDER BY leads.update_time desc LIMIT 0,15 [ RunTime:0.000662s ]
[ sql ] [ SQL ] SELECT COUNT(leads_id) AS tp_count FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001340s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_leads'
AND `types_id` IN (-1)
GROUP BY
`types_id`
)
) [ RunTime:0.000767s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000474s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.010785s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000499s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000489s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000447s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000529s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000373s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000289s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000419s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000293s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000262s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000260s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`follow` = '' AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000495s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000463s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000295s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000647s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000281s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000422s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000484s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000369s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000507s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.012035s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000616s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000499s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000480s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000539s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000410s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000415s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000273s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000484s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000281s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_contract` [ RunTime:0.012794s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.002965s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000896s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000434s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000278s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000239s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_receivables') [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'user' [ RunTime:0.011635s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'structure' [ RunTime:0.000498s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000456s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000322s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000513s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000441s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011391s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000471s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000490s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000559s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000385s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables` [ RunTime:0.001649s ]
[ sql ] [ SQL ] SELECT `receivables`.`create_user_id`,`receivables`.`update_time`,`receivables`.`create_time`,`receivables`.`owner_user_id`,`receivables`.`number`,`receivables`.`customer_id`,`receivables`.`contract_id`,`receivables`.`return_time`,`receivables`.`return_type`,`receivables`.`money`,`receivables`.`plan_id`,`receivables`.`remark`,`receivables`.`receivables_id`,`receivables`.`check_status`,customer.name as customer_name,contract.name as contract_name,contract.num as contract_num,contract.money as contract_money FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') ORDER BY receivables.update_time desc LIMIT 0,15 [ RunTime:0.000774s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_id) AS tp_count FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000578s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables_plan` [ RunTime:0.001557s ]
[ sql ] [ SQL ] SELECT `receivables_plan`.*,customer.name as customer_name,contract.num as contract_name,`receivables`.`receivables_id`,`receivables`.`check_status` FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 0,15 [ RunTime:0.000841s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_plan.plan_id) AS tp_count FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 1 [ RunTime:0.012384s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000488s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000441s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000473s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000476s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000466s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000491s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000364s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000412s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000436s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.010998s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000554s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000507s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000422s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000474s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000513s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000424s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000407s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.005145s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000633s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.001494s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.001632s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:00+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.533213s][吞吐率:1.88req/s] [内存消耗:6,335.54kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001948s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007520s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.021761s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001256s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001640s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001340s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000410s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:00+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.213280s][吞吐率:4.69req/s] [内存消耗:6,993.03kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002233s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.024359s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.006939s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.003877s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000705s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001536s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001132s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.000710s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:00+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.182135s][吞吐率:5.49req/s] [内存消耗:8,439.16kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002395s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=37',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.042680s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001399s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001544s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000522s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001191s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001190s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000495s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000477s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000290s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001144s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000529s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000611s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001420s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000494s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001160s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000613s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000308s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000307s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000237s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000313s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001374s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000625s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001215s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000495s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001024s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000486s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000418s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.001099s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000648s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.000724s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000477s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000333s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000313s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000428s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000471s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000305s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000456s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000335s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000303s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000549s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000230s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000262s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000411s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000461s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000424s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000394s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000463s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000399s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000280s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000265s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001121s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000456s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001232s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.000531s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:20+08:00 ] 61.58.248.115 POST /index.php/admin/system/index
[ info ] mingyan.djoiw.com/index.php/admin/system/index [运行时间:0.178087s][吞吐率:5.62req/s] [内存消耗:5,955.82kb] [文件加载:125]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002197s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'system',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001893s ]
[ info ] [ RUN ] app\admin\controller\System->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/System.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: authkey[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:33]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001036s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_system` [ RunTime:0.001744s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_system` [ RunTime:0.000431s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:20+08:00 ] 61.58.248.115 POST /index.php/admin/index/authList
[ info ] mingyan.djoiw.com/index.php/admin/index/authList [运行时间:0.224139s][吞吐率:4.46req/s] [内存消耗:6,530.58kb] [文件加载:130]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002181s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'index',
2 => 'authList',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001659s ]
[ info ] [ RUN ] app\admin\controller\Index->authList[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Index.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: bi[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:680]
[ sql ] [ DB ] CONNECT:[ UseTime:0.012860s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001389s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.006765s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.007044s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.002034s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001509s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001281s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000567s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000472s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000624s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001070s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000622s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_config` [ RunTime:0.000966s ]
[ sql ] [ SQL ] SELECT `module` FROM `crm_admin_config` WHERE `pid` = 0 AND `status` = 1 [ RunTime:0.000333s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:20+08:00 ] 61.58.248.115 POST /index.php/admin/users/read
[ info ] mingyan.djoiw.com/index.php/admin/users/read [运行时间:0.248150s][吞吐率:4.03req/s] [内存消耗:6,316.41kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002647s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'users',
2 => 'read',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.029642s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Users->read[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php:79]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000760s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001452s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.002141s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000711s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_structure` [ RunTime:0.001304s ]
[ sql ] [ SQL ] SELECT `id`,`name` FROM `crm_admin_structure` WHERE ( id = 11 ) LIMIT 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT `id`,`realname` FROM `crm_admin_user` WHERE ( id = 1 ) LIMIT 1 [ RunTime:0.000307s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:21+08:00 ] 61.58.248.115 POST /index.php/admin/scene/index
[ info ] mingyan.djoiw.com/index.php/admin/scene/index [运行时间:0.240598s][吞吐率:4.16req/s] [内存消耗:6,743.25kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002781s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'scene',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.029116s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Scene->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Scene.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1088]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000895s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001907s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.003436s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene` [ RunTime:0.007169s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 0 AND `types` = 'crm_customer' OR ( `types` = 'crm_customer' AND `type` = 1 ) ORDER BY `order_id` ASC,`scene_id` ASC [ RunTime:0.000643s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001109s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001103s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.000664s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 1 AND `types` = 'crm_customer' ORDER BY `order_id` ASC [ RunTime:0.000492s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:21+08:00 ] 61.58.248.115 POST /index.php/crm/message/num
[ info ] mingyan.djoiw.com/index.php/crm/message/num [运行时间:0.528512s][吞吐率:1.89req/s] [内存消耗:9,206.55kb] [文件加载:143]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.035600s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'message',
2 => 'num',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.008353s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Message->num[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:96]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:97]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:98]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:142]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:143]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:144]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:39]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:40]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:41]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:42]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:43]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:44]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: leads.is_transform[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:108]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:174]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:175]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:176]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:209]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:210]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:211]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:247]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:248]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:249]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:45]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:95]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:285]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:286]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:287]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:38]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:39]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:40]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:42]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:326]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:327]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:328]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ sql ] [ DB ] CONNECT:[ UseTime:0.009770s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002001s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.009551s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001166s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000403s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001313s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001187s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000998s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000594s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000276s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000348s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.000965s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000344s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000430s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000295s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000218s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000259s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000260s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000229s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001298s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`next_time` BETWEEN 1602691200 AND 1602777599 AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000529s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000367s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000280s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000384s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000455s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000286s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001352s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000314s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001281s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_leads') [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'user' [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'structure' [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000407s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000251s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000324s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000475s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000223s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000391s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000435s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000222s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.001198s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000272s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_leads` [ RunTime:0.000943s ]
[ sql ] [ SQL ] SELECT `create_user_id`,`update_time`,`create_time`,`owner_user_id`,`name`,`source`,`telephone`,`mobile`,`industry`,`level`,`detail_address`,`next_time`,`remark`,`crm_xgqlzv`,`leads_id` FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') ORDER BY leads.update_time desc LIMIT 0,15 [ RunTime:0.000584s ]
[ sql ] [ SQL ] SELECT COUNT(leads_id) AS tp_count FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000232s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001008s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_leads'
AND `types_id` IN (-1)
GROUP BY
`types_id`
)
) [ RunTime:0.000434s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000280s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000467s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000424s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000502s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000384s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000454s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000267s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000264s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`follow` = '' AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000410s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000659s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000276s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000394s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000399s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000382s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000289s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000503s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000466s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000369s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000412s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000454s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000439s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000509s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000373s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_contract` [ RunTime:0.010685s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.003962s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.001097s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000637s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000544s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000656s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000484s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000595s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000255s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_receivables') [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'user' [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'structure' [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000595s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000324s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000385s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000461s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000496s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.011936s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000385s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000366s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables` [ RunTime:0.001313s ]
[ sql ] [ SQL ] SELECT `receivables`.`create_user_id`,`receivables`.`update_time`,`receivables`.`create_time`,`receivables`.`owner_user_id`,`receivables`.`number`,`receivables`.`customer_id`,`receivables`.`contract_id`,`receivables`.`return_time`,`receivables`.`return_type`,`receivables`.`money`,`receivables`.`plan_id`,`receivables`.`remark`,`receivables`.`receivables_id`,`receivables`.`check_status`,customer.name as customer_name,contract.name as contract_name,contract.num as contract_num,contract.money as contract_money FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') ORDER BY receivables.update_time desc LIMIT 0,15 [ RunTime:0.000713s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_id) AS tp_count FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.011484s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables_plan` [ RunTime:0.001630s ]
[ sql ] [ SQL ] SELECT `receivables_plan`.*,customer.name as customer_name,contract.num as contract_name,`receivables`.`receivables_id`,`receivables`.`check_status` FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 0,15 [ RunTime:0.000930s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_plan.plan_id) AS tp_count FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 1 [ RunTime:0.000564s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000587s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000366s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000524s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.010728s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000324s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000499s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000379s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000481s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000273s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000384s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000794s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000384s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.011527s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000455s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.001719s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000813s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:21+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.533195s][吞吐率:1.88req/s] [内存消耗:6,335.54kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.013774s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007496s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.025640s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001828s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001836s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001223s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000401s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:21+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.163776s][吞吐率:6.11req/s] [内存消耗:6,993.03kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002213s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007691s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001044s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001466s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000645s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001539s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000593s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001345s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.001175s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:22+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.350959s][吞吐率:2.85req/s] [内存消耗:8,439.16kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002722s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.106058s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.027468s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001279s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000560s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.012974s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000949s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011635s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000248s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000387s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000416s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001258s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000631s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000526s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.016350s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000712s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.015650s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000678s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000538s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000487s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000304s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.001072s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000447s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000573s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000381s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000426s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000262s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000511s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000247s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000288s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000288s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001231s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000543s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001169s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000476s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001260s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000466s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000416s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.001065s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000755s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.000588s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000508s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000219s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000467s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000286s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000271s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000308s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000218s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000220s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000214s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000241s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000290s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000239s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000412s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000382s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000267s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000207s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000478s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000196s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000275s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000224s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000366s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000255s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000282s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000299s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000368s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000305s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000254s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000369s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000279s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000236s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000247s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000282s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001248s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000594s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001733s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.000773s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:31+08:00 ] 61.58.248.115 POST /index.php/admin/scene/index
[ info ] mingyan.djoiw.com/index.php/admin/scene/index [运行时间:0.229236s][吞吐率:4.36req/s] [内存消耗:6,743.25kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002240s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'scene',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.030535s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Scene->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Scene.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1088]
[ sql ] [ DB ] CONNECT:[ UseTime:0.018493s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.008033s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000713s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene` [ RunTime:0.008953s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 0 AND `types` = 'crm_customer' OR ( `types` = 'crm_customer' AND `type` = 1 ) ORDER BY `order_id` ASC,`scene_id` ASC [ RunTime:0.002175s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001282s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000478s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001192s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.000687s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 1 AND `types` = 'crm_customer' ORDER BY `order_id` ASC [ RunTime:0.000509s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:31+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.251548s][吞吐率:3.98req/s] [内存消耗:6,335.54kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002420s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.030773s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.017798s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001669s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.003402s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001410s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000488s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:32+08:00 ] 61.58.248.115 POST /index.php/crm/message/num
[ info ] mingyan.djoiw.com/index.php/crm/message/num [运行时间:0.561008s][吞吐率:1.78req/s] [内存消耗:9,206.55kb] [文件加载:143]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002467s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'message',
2 => 'num',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.031120s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Message->num[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:96]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:97]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:98]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:142]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:143]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:144]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:39]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:40]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:41]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:42]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:43]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:44]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: leads.is_transform[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:108]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:174]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:175]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:176]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:209]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:210]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:211]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:247]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:248]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:249]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:45]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:95]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:285]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:286]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:287]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:38]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:39]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:40]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:42]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:326]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:327]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:328]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ sql ] [ DB ] CONNECT:[ UseTime:0.012047s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001488s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.003755s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001656s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000410s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001408s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000508s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001382s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001459s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000581s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000426s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001283s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000647s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000423s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000434s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000307s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000293s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001539s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`next_time` BETWEEN 1602691200 AND 1602777599 AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000571s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000452s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000535s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000476s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000560s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000290s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001133s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001387s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_leads') [ RunTime:0.000478s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'user' [ RunTime:0.000475s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'structure' [ RunTime:0.000434s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000489s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000488s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000428s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000404s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000477s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000549s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000416s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_leads` [ RunTime:0.001384s ]
[ sql ] [ SQL ] SELECT `create_user_id`,`update_time`,`create_time`,`owner_user_id`,`name`,`source`,`telephone`,`mobile`,`industry`,`level`,`detail_address`,`next_time`,`remark`,`crm_xgqlzv`,`leads_id` FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') ORDER BY leads.update_time desc LIMIT 0,15 [ RunTime:0.000681s ]
[ sql ] [ SQL ] SELECT COUNT(leads_id) AS tp_count FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001245s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_leads'
AND `types_id` IN (-1)
GROUP BY
`types_id`
)
) [ RunTime:0.000777s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000503s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000453s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000484s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000451s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000494s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000367s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000367s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000416s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000342s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000551s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000404s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000305s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000270s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`follow` = '' AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.021242s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000678s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000545s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000458s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.011716s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000523s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000615s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000371s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000404s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000450s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000491s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000503s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000423s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000509s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000477s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000453s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000481s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011612s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000566s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000548s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000457s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000546s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000516s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000382s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_contract` [ RunTime:0.001709s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.003155s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.011786s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000509s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000732s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000611s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000454s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000466s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_receivables') [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'user' [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'structure' [ RunTime:0.000415s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.011470s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000720s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000407s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000379s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000441s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000449s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000503s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000496s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011563s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000365s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000504s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000453s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000344s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables` [ RunTime:0.001337s ]
[ sql ] [ SQL ] SELECT `receivables`.`create_user_id`,`receivables`.`update_time`,`receivables`.`create_time`,`receivables`.`owner_user_id`,`receivables`.`number`,`receivables`.`customer_id`,`receivables`.`contract_id`,`receivables`.`return_time`,`receivables`.`return_type`,`receivables`.`money`,`receivables`.`plan_id`,`receivables`.`remark`,`receivables`.`receivables_id`,`receivables`.`check_status`,customer.name as customer_name,contract.name as contract_name,contract.num as contract_num,contract.money as contract_money FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') ORDER BY receivables.update_time desc LIMIT 0,15 [ RunTime:0.000692s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_id) AS tp_count FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000475s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables_plan` [ RunTime:0.001393s ]
[ sql ] [ SQL ] SELECT `receivables_plan`.*,customer.name as customer_name,contract.num as contract_name,`receivables`.`receivables_id`,`receivables`.`check_status` FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 0,15 [ RunTime:0.000768s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_plan.plan_id) AS tp_count FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 1 [ RunTime:0.000534s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.010766s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000656s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000471s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000485s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000443s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000546s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000262s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000540s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000481s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000706s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000567s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.003213s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.002012s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000282s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000441s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000365s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000421s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000335s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000471s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000538s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.001447s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000661s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:32+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.238099s][吞吐率:4.20req/s] [内存消耗:6,993.03kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002451s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.024936s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.015372s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001587s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001907s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001363s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000430s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001148s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.000893s ]
---------------------------------------------------------------
[ 2020-10-15T18:32:32+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.161789s][吞吐率:6.18req/s] [内存消耗:8,439.16kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002048s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=39',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.033541s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000781s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001537s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000712s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.000960s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000832s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000281s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000458s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001057s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000439s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001271s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000333s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.000933s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000288s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000272s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000348s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000379s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000267s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000313s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000222s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000200s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000206s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000224s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001211s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000356s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.000989s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.000926s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000472s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000265s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.000833s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000435s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.000439s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000226s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000258s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000244s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000305s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000222s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000293s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000269s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000254s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000226s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000206s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000197s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000304s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000365s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000247s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000225s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000236s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000254s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000295s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000288s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000256s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000236s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000322s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000287s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.010030s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000451s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000479s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000233s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000238s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000229s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000176s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000194s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001158s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000337s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.000961s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.000484s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:25+08:00 ] 61.58.248.115 POST /index.php/admin/system/index
[ info ] mingyan.djoiw.com/index.php/admin/system/index [运行时间:0.146916s][吞吐率:6.81req/s] [内存消耗:5,955.82kb] [文件加载:125]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001967s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'system',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.002493s ]
[ info ] [ RUN ] app\admin\controller\System->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/System.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: authkey[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:33]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ sql ] [ DB ] CONNECT:[ UseTime:0.021490s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_system` [ RunTime:0.004428s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_system` [ RunTime:0.000948s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:25+08:00 ] 61.58.248.115 POST /index.php/admin/users/read
[ info ] mingyan.djoiw.com/index.php/admin/users/read [运行时间:0.160596s][吞吐率:6.23req/s] [内存消耗:6,316.41kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001927s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'users',
2 => 'read',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.018753s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Users->read[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php:79]
[ sql ] [ DB ] CONNECT:[ UseTime:0.012495s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.005651s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.003653s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.019243s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_structure` [ RunTime:0.001545s ]
[ sql ] [ SQL ] SELECT `id`,`name` FROM `crm_admin_structure` WHERE ( id = 11 ) LIMIT 1 [ RunTime:0.000466s ]
[ sql ] [ SQL ] SELECT `id`,`realname` FROM `crm_admin_user` WHERE ( id = 1 ) LIMIT 1 [ RunTime:0.000394s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:26+08:00 ] 61.58.248.115 POST /index.php/admin/index/authList
[ info ] mingyan.djoiw.com/index.php/admin/index/authList [运行时间:0.142601s][吞吐率:7.01req/s] [内存消耗:6,530.58kb] [文件加载:130]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002818s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'index',
2 => 'authList',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001363s ]
[ info ] [ RUN ] app\admin\controller\Index->authList[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Index.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: bi[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:680]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001480s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001926s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000758s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000610s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000442s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001206s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000987s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000533s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000542s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001103s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000635s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_config` [ RunTime:0.001022s ]
[ sql ] [ SQL ] SELECT `module` FROM `crm_admin_config` WHERE `pid` = 0 AND `status` = 1 [ RunTime:0.000675s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:26+08:00 ] 61.58.248.115 POST /index.php/admin/scene/index
[ info ] mingyan.djoiw.com/index.php/admin/scene/index [运行时间:0.189445s][吞吐率:5.28req/s] [内存消耗:6,743.25kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001857s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'scene',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.008316s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Scene->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Scene.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1088]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000655s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001384s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.022650s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene` [ RunTime:0.025913s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 0 AND `types` = 'crm_customer' OR ( `types` = 'crm_customer' AND `type` = 1 ) ORDER BY `order_id` ASC,`scene_id` ASC [ RunTime:0.000899s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001050s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001028s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.000796s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 1 AND `types` = 'crm_customer' ORDER BY `order_id` ASC [ RunTime:0.000541s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:26+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.211330s][吞吐率:4.73req/s] [内存消耗:6,335.54kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002045s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007242s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000901s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002042s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.003081s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001244s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000344s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:26+08:00 ] 61.58.248.115 POST /index.php/crm/message/num
[ info ] mingyan.djoiw.com/index.php/crm/message/num [运行时间:0.462730s][吞吐率:2.16req/s] [内存消耗:9,206.55kb] [文件加载:143]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002481s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'message',
2 => 'num',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007708s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Message->num[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:96]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:97]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:98]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:142]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:143]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:144]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:39]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:40]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:41]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:42]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:43]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:44]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: leads.is_transform[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:108]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:174]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:175]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:176]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:209]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:210]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:211]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:247]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:248]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:249]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:45]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:95]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:285]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:286]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:287]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:38]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:39]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:40]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:42]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:326]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:327]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:328]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ sql ] [ DB ] CONNECT:[ UseTime:0.012045s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001392s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001691s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001322s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000395s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001149s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000245s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001088s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000778s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000495s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000238s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000303s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.000817s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000265s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000239s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000415s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000242s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000260s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000205s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000256s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000268s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001305s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`next_time` BETWEEN 1602691200 AND 1602777599 AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000439s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000286s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000213s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000368s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.000906s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000244s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.000889s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_leads') [ RunTime:0.000264s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'user' [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'structure' [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000421s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000416s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000268s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000435s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000276s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000451s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000217s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000246s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000475s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_leads` [ RunTime:0.001316s ]
[ sql ] [ SQL ] SELECT `create_user_id`,`update_time`,`create_time`,`owner_user_id`,`name`,`source`,`telephone`,`mobile`,`industry`,`level`,`detail_address`,`next_time`,`remark`,`crm_xgqlzv`,`leads_id` FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') ORDER BY leads.update_time desc LIMIT 0,15 [ RunTime:0.000663s ]
[ sql ] [ SQL ] SELECT COUNT(leads_id) AS tp_count FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001285s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_leads'
AND `types_id` IN (-1)
GROUP BY
`types_id`
)
) [ RunTime:0.000734s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000430s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000447s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000497s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000384s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000394s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.007784s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000540s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000502s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000379s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000299s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`follow` = '' AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000530s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000494s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000475s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000435s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000500s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000399s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000442s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000421s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000324s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000415s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000452s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000486s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000411s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000433s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000435s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000215s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000307s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000250s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000267s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000285s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000313s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000208s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_contract` [ RunTime:0.001184s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.002422s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000779s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000262s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000234s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000366s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000411s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000224s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000196s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_receivables') [ RunTime:0.000284s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'user' [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'structure' [ RunTime:0.011370s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000435s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000283s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000258s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000256s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000462s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.010736s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000539s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000348s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000261s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables` [ RunTime:0.001085s ]
[ sql ] [ SQL ] SELECT `receivables`.`create_user_id`,`receivables`.`update_time`,`receivables`.`create_time`,`receivables`.`owner_user_id`,`receivables`.`number`,`receivables`.`customer_id`,`receivables`.`contract_id`,`receivables`.`return_time`,`receivables`.`return_type`,`receivables`.`money`,`receivables`.`plan_id`,`receivables`.`remark`,`receivables`.`receivables_id`,`receivables`.`check_status`,customer.name as customer_name,contract.name as contract_name,contract.num as contract_num,contract.money as contract_money FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') ORDER BY receivables.update_time desc LIMIT 0,15 [ RunTime:0.000576s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_id) AS tp_count FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000424s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables_plan` [ RunTime:0.001282s ]
[ sql ] [ SQL ] SELECT `receivables_plan`.*,customer.name as customer_name,contract.num as contract_name,`receivables`.`receivables_id`,`receivables`.`check_status` FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 0,15 [ RunTime:0.000690s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_plan.plan_id) AS tp_count FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000279s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000264s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011022s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000415s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000245s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000271s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000268s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000260s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011669s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000568s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000295s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.001176s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000664s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:26+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.141455s][吞吐率:7.07req/s] [内存消耗:6,993.03kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.001945s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.007741s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001019s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001547s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000665s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001325s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001121s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.000968s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:27+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.247998s][吞吐率:4.03req/s] [内存消耗:8,439.16kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002497s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=42',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.035237s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000664s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001360s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000434s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.000916s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000872s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000277s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.003131s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.000934s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.004900s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000484s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001181s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000348s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000367s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000249s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000317s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000283s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000218s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000226s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011600s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000398s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000249s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000269s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000245s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001539s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000768s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001216s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000366s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001073s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000452s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000319s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.000935s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000821s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.011344s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.001086s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000524s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000598s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000371s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000293s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000282s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000591s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000274s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.011175s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000271s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000250s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000265s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000259s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000344s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000272s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000497s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000189s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000215s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.011530s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000278s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000239s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000297s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000322s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000274s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000249s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000344s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000254s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000278s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000238s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000356s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001252s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000379s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001190s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.011613s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:38+08:00 ] 61.58.248.115 POST /index.php/admin/system/index
[ info ] mingyan.djoiw.com/index.php/admin/system/index [运行时间:0.077579s][吞吐率:12.89req/s] [内存消耗:5,955.81kb] [文件加载:125]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002601s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'system',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.002253s ]
[ info ] [ RUN ] app\admin\controller\System->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/System.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: authkey[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:33]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000902s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_system` [ RunTime:0.001968s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_system` [ RunTime:0.000433s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:45+08:00 ] 61.58.248.115 POST /index.php/admin/base/login
[ info ] mingyan.djoiw.com/index.php/admin/base/login [运行时间:0.107881s][吞吐率:9.27req/s] [内存消耗:6,593.61kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002730s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'base',
2 => 'login',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '41',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'username' => '13800138000',
'password' => '13800138000',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ RUN ] app\admin\controller\Base->login[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Base.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: authkey[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:33]
[ error ] [8]未定义变量: type[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Base.php:27]
[ error ] [8]未定义变量: authKey[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Base.php:27]
[ error ] [8]未定义数组索引: dingCode[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:443]
[ error ] [8]未定义数组索引: HTTP_X_REAL_IP[/www/wwwroot/mingyan.djoiw.com/extend/com/Scan.php:64]
[ error ] [8]未定义数组索引: bi[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:680]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:521]
[ error ] [8]未定义数组索引: menusList[/www/wwwroot/mingyan.djoiw.com/application/admin/model/User.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000936s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002035s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `username` = '13800138000' AND `type` = 1 LIMIT 1 [ RunTime:0.000693s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_login_record` [ RunTime:0.002161s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_login_record` WHERE `create_user_id` = 14 AND `create_time` > 1602757365 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.000556s ]
[ sql ] [ SQL ] INSERT INTO `crm_admin_login_record` (`type` , `create_user_id` , `create_time` , `ip` , `os` , `browser` , `address` , `remark`) VALUES (0 , 14 , 1602758265 , '61.58.248.115' , 'Windows 10' , 'Chrome' , '' , 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36') [ RunTime:0.002333s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000644s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001324s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001074s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000521s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000430s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001196s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000542s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_config` [ RunTime:0.001046s ]
[ sql ] [ SQL ] SELECT `module` FROM `crm_admin_config` WHERE `pid` = 0 AND `status` = 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] UPDATE `crm_admin_user` SET `authkey`='e389ab04476e1cc1ff6894e02f370bea',`authkey_time`=1603017465 WHERE `id` = 14 [ RunTime:0.001671s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:46+08:00 ] 61.58.248.115 POST /index.php/admin/scene/index
[ info ] mingyan.djoiw.com/index.php/admin/scene/index [运行时间:0.246621s][吞吐率:4.05req/s] [内存消耗:6,743.25kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002331s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'scene',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.030362s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Scene->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Scene.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1088]
[ sql ] [ DB ] CONNECT:[ UseTime:0.008351s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001710s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.005849s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene` [ RunTime:0.013857s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 0 AND `types` = 'crm_customer' OR ( `types` = 'crm_customer' AND `type` = 1 ) ORDER BY `order_id` ASC,`scene_id` ASC [ RunTime:0.000883s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001240s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001185s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.000772s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 14 AND `is_hide` = 1 AND `types` = 'crm_customer' ORDER BY `order_id` ASC [ RunTime:0.000475s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:46+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.248437s][吞吐率:4.03req/s] [内存消耗:6,335.54kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002339s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.030531s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.007240s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002175s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.010197s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001291s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000353s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:47+08:00 ] 61.58.248.115 POST /index.php/crm/message/num
[ info ] mingyan.djoiw.com/index.php/crm/message/num [运行时间:0.511025s][吞吐率:1.96req/s] [内存消耗:9,206.55kb] [文件加载:143]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002320s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'message',
2 => 'num',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.030582s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Message->num[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:96]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:97]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:98]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:142]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:143]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:144]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:39]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:40]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:41]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:42]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:43]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:44]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: leads.is_transform[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:108]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:174]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:175]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:176]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:209]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:210]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:211]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:247]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:248]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:249]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:45]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:95]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:285]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:286]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:287]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:38]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:39]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:40]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:42]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:326]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:327]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:328]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ sql ] [ DB ] CONNECT:[ UseTime:0.005291s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002533s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.009560s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001463s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000349s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001258s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000372s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001177s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001030s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000479s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000371s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001048s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000529s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000342s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000416s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000447s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000282s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000333s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000254s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000242s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000236s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001408s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`next_time` BETWEEN 1602691200 AND 1602777599 AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000436s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000368s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000438s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000260s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000471s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001077s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000277s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001209s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_leads') [ RunTime:0.000415s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'user' [ RunTime:0.000394s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'structure' [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000369s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000273s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000459s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000299s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000367s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000428s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000270s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000392s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000282s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000457s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000281s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_leads` [ RunTime:0.001267s ]
[ sql ] [ SQL ] SELECT `create_user_id`,`update_time`,`create_time`,`owner_user_id`,`name`,`source`,`telephone`,`mobile`,`industry`,`level`,`detail_address`,`next_time`,`remark`,`crm_xgqlzv`,`leads_id` FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') ORDER BY leads.update_time desc LIMIT 0,15 [ RunTime:0.000597s ]
[ sql ] [ SQL ] SELECT COUNT(leads_id) AS tp_count FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001234s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_leads'
AND `types_id` IN (-1)
GROUP BY
`types_id`
)
) [ RunTime:0.000546s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000313s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000335s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000436s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000269s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000270s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000260s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000387s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000255s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000256s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000245s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000250s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`follow` = '' AND `customer`.`owner_user_id` IN (14) LIMIT 1 [ RunTime:0.000344s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000520s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000460s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000399s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000246s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000366s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000419s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000414s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000434s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000290s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000322s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000422s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.011465s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000371s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000385s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000453s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000281s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_contract` [ RunTime:0.001359s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.002515s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,14,%' AND ( ( `contract`.`owner_user_id` IN ('') ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.011615s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000467s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000455s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000288s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_receivables') [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'user' [ RunTime:0.000333s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'structure' [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.011086s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000551s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000466s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000266s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000289s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000242s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000308s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000255s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables` [ RunTime:0.012112s ]
[ sql ] [ SQL ] SELECT `receivables`.`create_user_id`,`receivables`.`update_time`,`receivables`.`create_time`,`receivables`.`owner_user_id`,`receivables`.`number`,`receivables`.`customer_id`,`receivables`.`contract_id`,`receivables`.`return_time`,`receivables`.`return_type`,`receivables`.`money`,`receivables`.`plan_id`,`receivables`.`remark`,`receivables`.`receivables_id`,`receivables`.`check_status`,customer.name as customer_name,contract.name as contract_name,contract.num as contract_num,contract.money as contract_money FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') ORDER BY receivables.update_time desc LIMIT 0,15 [ RunTime:0.000734s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_id) AS tp_count FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,14,%' AND `receivables`.`owner_user_id` IN ('-1') LIMIT 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables_plan` [ RunTime:0.001181s ]
[ sql ] [ SQL ] SELECT `receivables_plan`.*,customer.name as customer_name,contract.num as contract_name,`receivables`.`receivables_id`,`receivables`.`check_status` FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 0,15 [ RunTime:0.000638s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_plan.plan_id) AS tp_count FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 14 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 1 [ RunTime:0.000423s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000259s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000296s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.011469s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000746s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000430s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000270s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000359s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000293s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000387s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000414s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000261s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000460s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.011117s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000504s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000404s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000269s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.001348s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN ('-1') GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000634s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:47+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.181046s][吞吐率:5.52req/s] [内存消耗:6,993.02kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002300s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.025359s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000802s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001340s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000606s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001232s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001043s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.000929s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:47+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.174247s][吞吐率:5.74req/s] [内存消耗:8,439.16kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002433s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.031033s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001211s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001900s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000844s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.000890s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.000846s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000264s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000345s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000239s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000325s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.000920s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000454s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001335s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000490s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001039s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000424s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000454s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000307s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000365s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000487s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000381s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000284s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000261s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000242s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001358s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000641s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001090s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001055s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000371s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.000981s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000612s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.000603s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000379s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000284s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000373s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000250s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000250s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000272s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000407s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000379s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000238s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000398s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000307s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000480s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000361s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000485s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000412s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000434s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000371s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000304s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001367s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000585s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001384s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.000765s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:56+08:00 ] 61.58.248.115 POST /index.php/admin/field/configIndex
[ info ] mingyan.djoiw.com/index.php/admin/field/configIndex [运行时间:0.091489s][吞吐率:10.93req/s] [内存消耗:6,719.41kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002837s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'configIndex',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.009695s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->configIndex[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000950s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001648s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000559s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001373s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.000553s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.000911s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000435s ]
---------------------------------------------------------------
[ 2020-10-15T18:37:58+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.130655s][吞吐率:7.65req/s] [内存消耗:6,996.05kb] [文件加载:130]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002507s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '61',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'controller' => 'customer',
'action' => 'save',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.023747s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ error ] [8]未定义数组索引: address[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:615]
[ error ] [8]未定义数组索引: location[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:616]
[ error ] [8]未定义数组索引: detail_address[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:617]
[ error ] [8]未定义数组索引: lng[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:618]
[ error ] [8]未定义数组索引: lat[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:619]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000780s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001492s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000579s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001117s ]
[ sql ] [ SQL ] SELECT `field`,`types`,`name`,`form_type`,`default_value`,`is_unique`,`is_null`,`input_tips`,`setting` FROM `crm_admin_field` WHERE `field` NOT IN ('deal_status') AND `types` = 'crm_customer' AND `types_id` = 0 ORDER BY `order_id` ASC,`field_id` ASC [ RunTime:0.000563s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:10+08:00 ] 61.58.248.115 POST /index.php/admin/system/index
[ info ] mingyan.djoiw.com/index.php/admin/system/index [运行时间:0.161326s][吞吐率:6.20req/s] [内存消耗:5,955.80kb] [文件加载:125]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002513s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'system',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
'content-type' => '',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.013399s ]
[ info ] [ RUN ] app\admin\controller\System->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/System.php ]
[ info ] [ DB ] INIT mysql
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: authkey[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:33]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ sql ] [ DB ] CONNECT:[ UseTime:0.009319s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_system` [ RunTime:0.001845s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_system` [ RunTime:0.000530s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:10+08:00 ] 61.58.248.115 POST /index.php/admin/users/read
[ info ] mingyan.djoiw.com/index.php/admin/users/read [运行时间:0.208746s][吞吐率:4.79req/s] [内存消耗:6,315.02kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002494s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'users',
2 => 'read',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.020847s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Users->read[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Users.php:79]
[ sql ] [ DB ] CONNECT:[ UseTime:0.013256s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001903s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.019537s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000784s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_structure` [ RunTime:0.001307s ]
[ sql ] [ SQL ] SELECT `id`,`name` FROM `crm_admin_structure` WHERE ( id = 1 ) LIMIT 1 [ RunTime:0.000374s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:10+08:00 ] 61.58.248.115 POST /index.php/admin/index/authList
[ info ] mingyan.djoiw.com/index.php/admin/index/authList [运行时间:0.153229s][吞吐率:6.53req/s] [内存消耗:6,523.52kb] [文件加载:130]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002401s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'index',
2 => 'authList',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001416s ]
[ info ] [ RUN ] app\admin\controller\Index->authList[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Index.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000888s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001786s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000656s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000666s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000516s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001215s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001225s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000608s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000410s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_menu` [ RunTime:0.001920s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_menu` WHERE `status` = 1 ORDER BY `sort` ASC [ RunTime:0.001388s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001140s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000662s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_config` [ RunTime:0.001368s ]
[ sql ] [ SQL ] SELECT `module` FROM `crm_admin_config` WHERE `pid` = 0 AND `status` = 1 [ RunTime:0.000476s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:11+08:00 ] 61.58.248.115 POST /index.php/crm/setting/configData
[ info ] mingyan.djoiw.com/index.php/crm/setting/configData [运行时间:0.287192s][吞吐率:3.48req/s] [内存消耗:6,335.75kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002400s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'setting',
2 => 'configData',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.042411s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Setting->configData[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Setting.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.033770s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001948s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.008199s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.004992s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000516s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:11+08:00 ] 61.58.248.115 POST /index.php/crm/message/num
[ info ] mingyan.djoiw.com/index.php/crm/message/num [运行时间:0.770854s][吞吐率:1.30req/s] [内存消耗:9,566.95kb] [文件加载:143]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.013708s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'message',
2 => 'num',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '0',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.008822s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Message->num[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:96]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:97]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:98]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:142]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:143]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:144]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:39]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:40]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:41]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:42]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:43]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:44]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: leads.is_transform[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Leads.php:108]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:174]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:175]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:176]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:51]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:52]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:209]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:210]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:211]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:247]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:248]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:249]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:45]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:161]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Receivables.php:95]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:285]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:286]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:287]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:38]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:39]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:40]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ReceivablesPlan.php:42]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: types[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:326]
[ error ] [8]未定义数组索引: type[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:327]
[ error ] [8]未定义数组索引: isSub[/www/wwwroot/mingyan.djoiw.com/application/crm/controller/Message.php:328]
[ error ] [8]未定义数组索引: search[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:41]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:42]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:43]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:44]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:45]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:46]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: contract.ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:70]
[ error ] [8]未定义数组索引: state[/www/wwwroot/mingyan.djoiw.com/application/common.php:165]
[ error ] [8]未定义数组索引: value[/www/wwwroot/mingyan.djoiw.com/application/common.php:194]
[ error ] [8]未定义数组索引: condition[/www/wwwroot/mingyan.djoiw.com/application/common.php:200]
[ error ] [8]未定义数组索引: contract.order_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:112]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: sumMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:200]
[ error ] [8]未定义变量: unReceivablesMoney[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Contract.php:201]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001653s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.003539s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.004888s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001479s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000400s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.012853s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000559s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000509s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.012807s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001415s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000561s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000414s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001179s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000590s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000796s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000533s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000362s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000412s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000378s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.011042s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000551s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000430s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000355s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001720s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`next_time` BETWEEN 1602691200 AND 1602777599 AND `customer`.`owner_user_id` IN (1) LIMIT 1 [ RunTime:0.000582s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000520s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000590s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.011139s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000685s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.002660s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'leads' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000562s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 2 LIMIT 1 [ RunTime:0.000618s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000643s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000624s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000407s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000491s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.011024s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000488s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000414s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001795s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_leads' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001278s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_leads') [ RunTime:0.000536s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'user' [ RunTime:0.000512s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_leads' AND `form_type` = 'structure' [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000526s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.011178s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000845s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000783s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'leads' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000472s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 2 LIMIT 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000423s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000420s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000302s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000293s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.005433s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000554s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000708s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000644s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'leads' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 2 LIMIT 1 [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000462s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000398s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000544s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000305s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000472s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000449s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000704s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.001257s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'leads' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000404s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 2 LIMIT 1 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000457s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000470s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000280s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000470s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000306s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000382s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_leads` [ RunTime:0.001530s ]
[ sql ] [ SQL ] SELECT `create_user_id`,`update_time`,`create_time`,`owner_user_id`,`name`,`source`,`telephone`,`mobile`,`industry`,`level`,`detail_address`,`next_time`,`remark`,`crm_xgqlzv`,`leads_id` FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN (1) ORDER BY leads.update_time desc LIMIT 0,15 [ RunTime:0.000746s ]
[ sql ] [ SQL ] SELECT COUNT(leads_id) AS tp_count FROM `crm_crm_leads` `leads` WHERE `leads`.`follow` <> '已跟进' AND `leads`.`is_transform` <> 1 AND `leads`.`owner_user_id` IN (1) LIMIT 1 [ RunTime:0.000527s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001653s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_leads'
AND `types_id` IN (-1)
GROUP BY
`types_id`
)
) [ RunTime:0.000838s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000563s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000535s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000775s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000488s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000501s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000438s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000474s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000596s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000401s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000358s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE `customer`.`follow` = '' AND `customer`.`owner_user_id` IN (1) LIMIT 1 [ RunTime:0.000363s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000549s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000538s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000476s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000600s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000570s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000412s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000391s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000505s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000577s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000516s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000391s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000351s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000460s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000407s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000366s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000394s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000284s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000562s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000553s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000445s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000427s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000461s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000571s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000592s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000406s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000695s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000504s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000624s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000536s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000568s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000460s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000520s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000516s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000324s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000398s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000279s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000296s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000426s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000456s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000399s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000708s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000654s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000462s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000626s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000450s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000474s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000532s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000285s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_contract` [ RunTime:0.001866s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,1,%' AND ( ( `contract`.`owner_user_id` IN (1,14) ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.002669s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`check_status` < '2' AND `contract`.`check_user_id` LIKE '%,1,%' AND ( ( `contract`.`owner_user_id` IN (1,14) ) OR ( `contract`.`ro_user_id` LIKE '%,,%' ) OR ( `contract`.`rw_user_id` LIKE '%,,%' ) ) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.001124s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000549s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000498s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000602s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000506s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000697s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000662s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'receivables' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000486s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 50 LIMIT 1 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000461s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000570s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000507s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000563s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000804s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000318s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000245s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_receivables' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_receivables') [ RunTime:0.000373s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'user' [ RunTime:0.000421s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_receivables' AND `form_type` = 'structure' [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000425s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000690s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'receivables' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 50 LIMIT 1 [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000539s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000455s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000457s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000667s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000608s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000468s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000291s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000837s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000528s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000681s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000726s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000637s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'receivables' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 50 LIMIT 1 [ RunTime:0.000543s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000414s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000544s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000313s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000526s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000476s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000339s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000281s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000472s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000618s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000471s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000655s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000616s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'receivables' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000568s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 50 LIMIT 1 [ RunTime:0.000480s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000465s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000549s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000436s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000555s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000381s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000278s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000326s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables` [ RunTime:0.001554s ]
[ sql ] [ SQL ] SELECT `receivables`.`create_user_id`,`receivables`.`update_time`,`receivables`.`create_time`,`receivables`.`owner_user_id`,`receivables`.`number`,`receivables`.`customer_id`,`receivables`.`contract_id`,`receivables`.`return_time`,`receivables`.`return_type`,`receivables`.`money`,`receivables`.`plan_id`,`receivables`.`remark`,`receivables`.`receivables_id`,`receivables`.`check_status`,customer.name as customer_name,contract.name as contract_name,contract.num as contract_num,contract.money as contract_money FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,1,%' AND `receivables`.`owner_user_id` IN (1,14) ORDER BY receivables.update_time desc LIMIT 0,15 [ RunTime:0.000788s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_id) AS tp_count FROM `crm_crm_receivables` `receivables` LEFT JOIN `crm_crm_customer` `customer` ON `receivables`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_contract` `contract` ON `receivables`.`contract_id`=`contract`.`contract_id` WHERE `receivables`.`check_status` < '2' AND `receivables`.`check_user_id` LIKE '%,1,%' AND `receivables`.`owner_user_id` IN (1,14) LIMIT 1 [ RunTime:0.000455s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_receivables_plan` [ RunTime:0.001516s ]
[ sql ] [ SQL ] SELECT `receivables_plan`.*,customer.name as customer_name,contract.num as contract_name,`receivables`.`receivables_id`,`receivables`.`check_status` FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 1 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 0,15 [ RunTime:0.000763s ]
[ sql ] [ SQL ] SELECT COUNT(receivables_plan.plan_id) AS tp_count FROM `crm_crm_receivables_plan` `receivables_plan` LEFT JOIN `crm_crm_contract` `contract` ON `receivables_plan`.`contract_id`=`contract`.`contract_id` LEFT JOIN `crm_crm_customer` `customer` ON `receivables_plan`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables_plan`.`plan_id`=`receivables`.`plan_id` WHERE `receivables_plan`.`remind_date` <= '2020-10-15' AND `receivables_plan`.`return_date` >= '2020-10-15' AND `contract`.`owner_user_id` = 1 AND ( `receivables_plan`.`receivables_id` = 0 OR `receivables`.`check_status` < 2 ) LIMIT 1 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000615s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000582s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000419s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000360s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000395s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000386s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000666s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000369s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000385s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000304s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_contract' AND `user_id` IS NULL LIMIT 1 [ RunTime:0.000295s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` IN ('','crm_contract') [ RunTime:0.000461s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'user' [ RunTime:0.000476s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_contract' AND `form_type` = 'structure' [ RunTime:0.000383s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000410s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000709s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000601s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000322s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000441s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000271s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000388s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000423s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000347s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000385s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000311s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000536s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000581s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000371s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000418s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000459s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000352s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000443s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000483s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000254s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000251s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000241s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000337s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000477s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000594s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'contract' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 42 LIMIT 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000448s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000315s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000501s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000255s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000354s ]
[ sql ] [ SQL ] SELECT `contract`.`create_user_id`,`contract`.`update_time`,`contract`.`create_time`,`contract`.`owner_user_id`,`contract`.`num`,`contract`.`name`,`contract`.`customer_id`,`contract`.`business_id`,`contract`.`order_date`,`contract`.`money`,`contract`.`start_time`,`contract`.`end_time`,`contract`.`contacts_id`,`contract`.`order_user_id`,`contract`.`remark`,`contract`.`contract_id`,`contract`.`check_status`,`customer`.`name` AS `customer_name`,`business`.`name` AS `business_name`,`contacts`.`name` AS `contacts_name`,ifnull(SUM(receivables.money), 0) AS `done_money`,(contract.money - ifnull(SUM(receivables.money), 0)) AS `un_money` FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` LEFT JOIN `crm_crm_receivables` `receivables` ON `receivables`.`contract_id`=contract.contract_id AND receivables.check_status = 2 WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN (1) GROUP BY `contract`.`contract_id` ORDER BY contract.update_time desc LIMIT 0,15 [ RunTime:0.001651s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM ( SELECT count(contract.contract_id) FROM `crm_crm_contract` `contract` LEFT JOIN `crm_crm_customer` `customer` ON `contract`.`customer_id`=`customer`.`customer_id` LEFT JOIN `crm_crm_business` `business` ON `contract`.`business_id`=`business`.`business_id` LEFT JOIN `crm_crm_contacts` `contacts` ON `contract`.`contacts_id`=`contacts`.`contacts_id` LEFT JOIN `crm_crm_receivables_plan` `plan` ON `contract`.`contract_id`=`plan`.`contract_id` WHERE `contract`.`end_time` BETWEEN '2020-10-15' AND '2020-10-30' AND `contract`.`owner_user_id` IN (1) GROUP BY `contract`.`contract_id` ) `_group_count_` LIMIT 1 [ RunTime:0.000905s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:11+08:00 ] 61.58.248.115 POST /index.php/admin/scene/index
[ info ] mingyan.djoiw.com/index.php/admin/scene/index [运行时间:0.790329s][吞吐率:1.27req/s] [内存消耗:6,743.34kb] [文件加载:127]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.025834s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'scene',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.031283s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Scene->index[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Scene.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ error ] [8]未定义数组索引: user_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1088]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001584s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.003233s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.007242s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene` [ RunTime:0.001700s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 1 AND `is_hide` = 0 AND `types` = 'crm_customer' OR ( `types` = 'crm_customer' AND `type` = 1 ) ORDER BY `order_id` ASC,`scene_id` ASC [ RunTime:0.000933s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001400s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'crm_customer' AND `user_id` = 1 LIMIT 1 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001305s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.000901s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_scene` WHERE `user_id` = 1 AND `is_hide` = 1 AND `types` = 'crm_customer' ORDER BY `order_id` ASC [ RunTime:0.000507s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:12+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.095855s][吞吐率:10.43req/s] [内存消耗:6,993.13kb] [文件加载:129]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002148s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '62',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'action' => 'index',
'controller' => 'customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.009692s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [8]未定义数组索引: action_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:277]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001199s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002015s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000888s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001412s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 1 LIMIT 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001269s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form') AND `field` NOT IN ('-1') ORDER BY `order_id` ASC [ RunTime:0.001052s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:12+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.183837s][吞吐率:5.44req/s] [内存消耗:8,194.86kb] [文件加载:138]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002580s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '23',
'accept' => 'application/json, text/plain, */*',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'sessionid' => 'gfg3m3rmk0mu9a4rv0p46d7jj1',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36',
'authkey' => '7c8943316b8b268d9bdc529efe819eb4',
'origin' => 'http://mingyan.djoiw.com',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9',
'cookie' => 'PHPSESSID=gfg3m3rmk0mu9a4rv0p46d7jj1',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.008729s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 8[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000763s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001446s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000567s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001640s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 1 LIMIT 1 [ RunTime:0.000518s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001776s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000446s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001365s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001107s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000519s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000425s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001067s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000761s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000611s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000428s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000441s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000449s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000320s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000409s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000505s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000314s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000335s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000284s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001481s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("1", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("1", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000575s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001286s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 1 LIMIT 1 [ RunTime:0.000376s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001215s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000455s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000380s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.001086s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 1 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000472s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`source`,`website`,`industry`,`level`,`next_time`,`deal_status`,`update_time`,`create_time`,`remark`,`owner_user_id`,`customer_id`,`deal_time`,`is_lock`,`create_user_id`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("1", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("1", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.001310s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000333s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000523s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000624s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000419s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000308s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000364s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000452s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000342s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000293s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000440s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000373s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000249s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000450s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000482s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000316s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000493s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000502s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000342s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000417s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000452s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000338s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000558s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000432s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000294s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000309s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000274s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000298s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` [ RunTime:0.000588s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000489s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000331s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000398s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000301s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000408s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 1 [ RunTime:0.000444s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (1) GROUP BY `types` [ RunTime:0.000356s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000289s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000269s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000304s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001356s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (8,7) GROUP BY `customer_id` [ RunTime:0.000457s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001494s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (8,7)
GROUP BY
`types_id`
)
) [ RunTime:0.000644s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:19+08:00 ] 61.58.248.115 POST /index.php/admin/field/getField
[ info ] mingyan.djoiw.com/index.php/admin/field/getField [运行时间:0.248229s][吞吐率:4.03req/s] [内存消耗:7,730.21kb] [文件加载:137]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002684s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'field',
2 => 'getField',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '73',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
'module' => 'crm',
'controller' => 'customer',
'action' => 'read',
'action_id' => '7',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.009453s ]
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\admin\controller\Field->getField[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/Field.php:176]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义数组索引: types_id[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:532]
[ error ] [8]未定义数组索引: map[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:534]
[ sql ] [ DB ] CONNECT:[ UseTime:0.004473s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001553s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.005425s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.012292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_customer` WHERE `customer_id` = 7 LIMIT 1 [ RunTime:0.002217s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.004416s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.001893s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.003824s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.003640s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001364s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000604s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000455s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000571s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001133s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000310s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000460s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000438s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000404s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000295s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000268s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000391s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000343s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_customer` `customer` WHERE `customer_id` = 7 AND `customer`.`owner_user_id` = 0 LIMIT 1 [ RunTime:0.000559s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001574s ]
[ sql ] [ SQL ] SELECT `field`,`types`,`name`,`form_type`,`default_value`,`is_unique`,`is_null`,`input_tips`,`setting` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `types_id` = 0 ORDER BY `order_id` ASC,`field_id` ASC [ RunTime:0.000873s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:19+08:00 ] 61.58.248.115 POST /index.php/crm/customer/read
[ info ] mingyan.djoiw.com/index.php/crm/customer/read [运行时间:0.275376s][吞吐率:3.63req/s] [内存消耗:7,314.84kb] [文件加载:136]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002413s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'read',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '4',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'id' => '7',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.086368s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->read[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001841s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.002367s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.003701s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.011589s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001449s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000664s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000389s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000517s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000519s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000323s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.003122s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.003622s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.002807s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.002130s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.005642s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001867s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_customer` WHERE `customer_id` = 7 LIMIT 1 [ RunTime:0.000640s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.001353s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000464s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000461s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000543s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000313s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000387s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000605s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000393s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000312s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000390s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000429s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000400s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000462s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000527s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000346s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000350s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000281s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_customer` `customer` WHERE `customer_id` = 7 AND `customer`.`owner_user_id` = 0 LIMIT 1 [ RunTime:0.000645s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:34+08:00 ] 61.58.248.115 POST /index.php/crm/customer/index
[ info ] mingyan.djoiw.com/index.php/crm/customer/index [运行时间:0.167382s][吞吐率:5.97req/s] [内存消耗:8,447.77kb] [文件加载:142]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002006s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'crm',
1 => 'customer',
2 => 'index',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '26',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'page' => '1',
'limit' => '15',
'search' => '176',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/crm/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.036289s ]
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ RUN ] app\crm\controller\Customer->index[ /www/wwwroot/mingyan.djoiw.com/application/crm/controller/Customer.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: _AUTH_LIST_[/www/wwwroot/mingyan.djoiw.com/extend/com/HonrayAuth.php:98]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: scene_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:53]
[ error ] [8]未定义数组索引: is_excel[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:54]
[ error ] [8]未定义数组索引: action[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:55]
[ error ] [8]未定义数组索引: order_field[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:56]
[ error ] [8]未定义数组索引: order_type[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:57]
[ error ] [8]未定义数组索引: is_remind[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:58]
[ error ] [8]未定义数组索引: getCount[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:59]
[ error ] [8]未定义数组索引: pageType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Common.php:41]
[ error ] [8]未定义数组索引: ro_user_id[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:89]
[ error ] [8]未定义变量: where[/www/wwwroot/mingyan.djoiw.com/application/common.php:212]
[ error ] [2048]Declaration of app\crm\model\ConfigData::getData() should be compatible with think\Model::getData($name = NULL)[/www/wwwroot/mingyan.djoiw.com/application/crm/model/ConfigData.php:67]
[ error ] [8]未定义变量: whereData[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:584]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [2048]Only variables should be passed by reference[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1044]
[ error ] [8]未定义变量: order_t[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:189]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 1[/www/wwwroot/mingyan.djoiw.com/thinkphp/library/think/db/Builder.php:319]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:218]
[ error ] [8]未定义数组下标: 7[/www/wwwroot/mingyan.djoiw.com/application/crm/model/Customer.php:228]
[ sql ] [ DB ] CONNECT:[ UseTime:0.000839s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001356s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000606s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_access` [ RunTime:0.001044s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_group` [ RunTime:0.001102s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000605s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000341s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000387s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000413s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000328s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000469s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000447s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_rule` [ RunTime:0.001395s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000652s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000797s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_scene_default` [ RunTime:0.001225s ]
[ sql ] [ SQL ] SELECT `scene_id` FROM `crm_admin_scene_default` WHERE `types` = 'customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000377s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_config` [ RunTime:0.000953s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000288s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000357s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000555s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000321s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000561s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000525s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000554s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000370s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'index' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000396s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000437s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000326s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000449s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000299s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000267s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000211s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000242s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000276s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_customer` [ RunTime:0.001457s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `crm_crm_customer` `customer` WHERE ( ( `customer`.`name` LIKE '%176%' ) OR ( `customer`.`mobile` LIKE '%176%' ) OR ( `customer`.`telephone` LIKE '%176%' ) ) AND ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) LIMIT 1 [ RunTime:0.000514s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user_field` [ RunTime:0.001215s ]
[ sql ] [ SQL ] SELECT `datas` FROM `crm_admin_user_field` WHERE `types` = 'crm_customer' AND `user_id` = 14 LIMIT 1 [ RunTime:0.000461s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001137s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'user' [ RunTime:0.000428s ]
[ sql ] [ SQL ] SELECT `field` FROM `crm_admin_field` WHERE `types` = 'crm_customer' AND `form_type` = 'structure' [ RunTime:0.000376s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_top` [ RunTime:0.000891s ]
[ sql ] [ SQL ] SELECT `module_id` FROM `crm_crm_top` WHERE `module` = 'customer' AND `create_role_id` = 14 AND `set_top` = 1 ORDER BY `top_time` ASC [ RunTime:0.000491s ]
[ sql ] [ SQL ] SELECT `name`,`mobile`,`website`,`level`,`industry`,`source`,`telephone`,`next_time`,`remark`,`create_user_id`,`update_time`,`create_time`,`owner_user_id`,`deal_status`,`customer_id`,`deal_time`,`is_lock`,`ro_user_id`,`rw_user_id`,`address`,`detail_address` FROM `crm_crm_customer` `customer` WHERE ( ( `customer`.`name` LIKE '%176%' ) OR ( `customer`.`mobile` LIKE '%176%' ) OR ( `customer`.`telephone` LIKE '%176%' ) ) AND ( `customer`.`owner_user_id` IN (1,14) OR ( ( FIND_IN_SET("14", customer.ro_user_id) ) AND `customer`.`owner_user_id` <> '' ) OR ( ( FIND_IN_SET("14", customer.rw_user_id) ) AND `customer`.`owner_user_id` <> '' ) ) ORDER BY customer.update_time desc LIMIT 0,15 [ RunTime:0.000771s ]
[ sql ] [ SQL ] SELECT * FROM `crm_crm_config` [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000304s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000405s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000375s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000330s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000261s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000336s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000300s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'read' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000403s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000299s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000332s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000208s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000235s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000265s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000197s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000234s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000195s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000305s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000327s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000200s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000247s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000255s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000288s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000374s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000353s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'update' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000329s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000443s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000268s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000227s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000402s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000286s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000229s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000184s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000216s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000204s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000334s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000243s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000270s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000292s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_rule` WHERE `id` IN (11,12,13,14,15,16,17,1,10) AND `status` = 1 [ RunTime:0.000397s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'crm' AND `level` = 1 LIMIT 1 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'customer' AND `level` = 2 AND `pid` = 1 LIMIT 1 [ RunTime:0.000380s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_rule` WHERE `name` = 'delete' AND `level` = 3 AND `pid` = 10 LIMIT 1 [ RunTime:0.000340s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000349s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000319s ]
[ sql ] [ SQL ] SELECT `user_id` FROM `crm_admin_access` WHERE `group_id` = 1 [ RunTime:0.000253s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 LIMIT 1 [ RunTime:0.000241s ]
[ sql ] [ SQL ] SELECT `crm_admin_group`.*,pivot.user_id AS pivot__user_id,pivot.group_id AS pivot__group_id FROM `crm_admin_group` INNER JOIN `crm_admin_access` `pivot` ON `pivot`.`group_id`=`crm_admin_group`.`id` WHERE `pivot`.`user_id` = 14 [ RunTime:0.000263s ]
[ sql ] [ SQL ] SELECT `types` FROM `crm_admin_group` WHERE `id` IN (16) GROUP BY `types` [ RunTime:0.000197s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 0 [ RunTime:0.000211s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 1 [ RunTime:0.000227s ]
[ sql ] [ SQL ] SELECT `id` FROM `crm_admin_user` WHERE `parent_id` = 14 [ RunTime:0.000216s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_crm_business` [ RunTime:0.001300s ]
[ sql ] [ SQL ] SELECT COUNT(*) AS `count`,`customer_id` FROM `crm_crm_business` WHERE `customer_id` IN (7) GROUP BY `customer_id` [ RunTime:0.000326s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_record` [ RunTime:0.001106s ]
[ sql ] [ SQL ] SELECT `types_id`,`content` FROM `crm_admin_record` WHERE (
`record_id` IN (
SELECT
MAX(`record_id`)
FROM
`crm_admin_record`
WHERE
`types` = 'crm_customer'
AND `types_id` IN (7)
GROUP BY
`types_id`
)
) [ RunTime:0.000523s ]
---------------------------------------------------------------
[ 2020-10-15T18:38:49+08:00 ] 61.58.248.115 POST /index.php/admin/index/fields
[ info ] mingyan.djoiw.com/index.php/admin/index/fields [运行时间:0.090283s][吞吐率:11.08req/s] [内存消耗:6,577.31kb] [文件加载:126]
[ info ] [ CACHE ] INIT File
[ info ] [ BEHAVIOR ] Run app\common\behavior\InitConfigBehavior @app_init [ RunTime:0.002637s ]
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/thinkphp/lang/zh-cn.php
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/lang/zh-cn.php
[ info ] [ ROUTE ] array (
'type' => 'module',
'module' =>
array (
0 => 'admin',
1 => 'index',
2 => 'fields',
),
'convert' => false,
)
[ info ] [ HEADER ] array (
'host' => 'mingyan.djoiw.com',
'connection' => 'keep-alive',
'content-length' => '18',
'authkey' => 'e389ab04476e1cc1ff6894e02f370bea',
'accept' => 'application/json, text/plain, */*',
'origin' => 'http://mingyan.djoiw.com',
'sessionid' => 'lmkth3qhsadr6fdkislgt1f381',
'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36',
'content-type' => 'application/x-www-form-urlencoded;charset=UTF-8',
'referer' => 'http://mingyan.djoiw.com/index.html',
'accept-encoding' => 'gzip, deflate',
'accept-language' => 'zh-CN,zh;q=0.9,en;q=0.8',
'cookie' => '__guid=225382534.3314364557132171000.1602560388301.6318; PHPSESSID=lmkth3qhsadr6fdkislgt1f381; monitor_count=1',
)
[ info ] [ PARAM ] array (
'types' => 'crm_customer',
)
[ info ] [ LANG ] /www/wwwroot/mingyan.djoiw.com/application/admin/lang/zh-cn.php
[ info ] [ DB ] INIT mysql
[ info ] [ SESSION ] INIT array (
'id' => '',
'var_session_id' => '',
'prefix' => '',
'type' => '',
'auto_start' => true,
)
[ info ] [ BEHAVIOR ] Run app\common\behavior\AuthenticateBehavior @check_auth [ RunTime:0.001267s ]
[ info ] [ RUN ] app\admin\controller\Index->fields[ /www/wwwroot/mingyan.djoiw.com/application/admin/controller/Index.php ]
[ info ] [ LOG ] INIT File
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/behavior/AuthenticateBehavior.php:36]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/common/controller/Common.php:28]
[ error ] [8]未定义数组索引: platform[/www/wwwroot/mingyan.djoiw.com/application/admin/controller/ApiCommon.php:28]
[ error ] [8]未定义数组索引: unFormType[/www/wwwroot/mingyan.djoiw.com/application/admin/model/Field.php:1077]
[ sql ] [ DB ] CONNECT:[ UseTime:0.001037s ] mysql:host=127.0.0.1;port=3306;dbname=douyin;charset=utf8
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_user` [ RunTime:0.001974s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.001099s ]
[ sql ] [ SQL ] SELECT * FROM `crm_admin_user` WHERE `id` = 14 AND `status` IN (1,2) LIMIT 1 [ RunTime:0.000744s ]
[ sql ] [ SQL ] SHOW COLUMNS FROM `crm_admin_field` [ RunTime:0.001609s ]
[ sql ] [ SQL ] SELECT `field`,`name`,`form_type`,`setting` FROM `crm_admin_field` WHERE `types` IN ('','crm_customer') AND `form_type` NOT IN ('file','form','checkbox','structure','business_status') OR `types` = '' ORDER BY `order_id` ASC,`field_id` ASC,`update_time` DESC [ RunTime:0.001188s ]