[8] ErrorException in Home.php line 33

未定义数组索引: match_id

  1. //ID查询详情
  2. public function idsearchdetails()
  3. {
  4. $data = input('param.');
  5. $where = [
  6. 'a.uid' => WID,
  7. 'a.is_hidden' => 0,
  8. 'a.front_hidden' => 0,
  9. 'a.match_id'=>$data['match_id'],
  10. 'a.id_number'=>$data['id_number'],
  11. 'b.is_hidden' => 0,
  12. 'b.front_hidden' => 0,
  13. ];
  14. $dataList = db(\tname::personnel)->alias('a')
  15. ->join('wechat_' . \tname::match . ' b', 'a.match_id = b.id', 'left')
  16. ->join('wechat_' . \tname::group . ' c', 'a.group_id = c.id', 'left')

Call Stack

  1. in Home.php line 33
  2. at Error::appError(8, 'Undefined index: mat...', '/www/wwwroot/wlmqjia...', 33, ['data' => ['id_number' => '9506']]) in Home.php line 33
  3. at Home->idsearchdetails()
  4. at ReflectionMethod->invokeArgs(object(Home), []) in App.php line 197
  5. at App::invokeMethod([object(Home), 'idsearchdetails'], []) in App.php line 411
  6. at App::module(['wechat', 'home', 'idsearchdetails'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], true) in App.php line 296
  7. at App::exec(['type' => 'module', 'module' => ['wechat', 'home', 'idsearchdetails']], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 124
  8. at App::run() in start.php line 18
  9. at require('/www/wwwroot/wlmqjia...') in wechat.php line 18

Exception Datas

Error Context
data { "id_number": "9506" }

Environment Variables

GET Data
empty
POST Data
empty
Files
empty
Cookies
empty

Session

think
{ "userinfo": { "openid": "test", "nickname": "PC\u7aef\u6d4b\u8bd5\u8d26\u53f71", "sex": 1, "province": "\u5929\u6d25", "city": "\u5357\u5f00", "country": "\u4e2d\u56fd", "language": "zh_CN", "headimgurl": "http:\/\/thirdwx.qlogo.cn\/mmopen\/vi_32\/PT9X255P9Zcgic8zVOPHZMCbElxA9Lw3NWIeGdBVIc79bhpvKfqzXyOoia44n7ZK9ZRn6CmVs9fcricViaeVvbudDQ\/132", "unionid": "uniontest" } }

Server/Request Data

USER
www
HOME
/home/www
HTTP_USER_AGENT
claudebot
HTTP_ACCEPT
*/*
HTTP_HOST
memorysports.jucheng01.net
PATH_INFO
/home/idsearchdetails/id_number/9506.html
REDIRECT_STATUS
200
PHP_ADMIN_VALUE
open_basedir=/www/wwwroot/:/tmp/:/proc/
SERVER_NAME
memorysports.jucheng01.net
SERVER_PORT
443
SERVER_ADDR
172.17.74.36
REMOTE_PORT
55132
REMOTE_ADDR
44.200.169.91
SERVER_SOFTWARE
nginx/1.18.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/wlmqjiaoyu/public
DOCUMENT_URI
/wechat.php/home/idsearchdetails/id_number/9506.html
REQUEST_URI
/wechat.php/home/idsearchdetails/id_number/9506.html
SCRIPT_NAME
/wechat.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
SCRIPT_FILENAME
/www/wwwroot/wlmqjiaoyu/public/wechat.php
FCGI_ROLE
RESPONDER
PHP_SELF
/wechat.php/home/idsearchdetails/id_number/9506.html
REQUEST_TIME_FLOAT
1711645066.7923
REQUEST_TIME
1711645066
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/wlmqjiaoyu/public/../application/
BIND_MODULE
wechat
THINK_VERSION
5.0.11
THINK_START_TIME
1711645066.7927
THINK_START_MEM
366352
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/wlmqjiaoyu/thinkphp/
LIB_PATH
/www/wwwroot/wlmqjiaoyu/thinkphp/library/
CORE_PATH
/www/wwwroot/wlmqjiaoyu/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/wlmqjiaoyu/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/wlmqjiaoyu/
EXTEND_PATH
/www/wwwroot/wlmqjiaoyu/extend/
VENDOR_PATH
/www/wwwroot/wlmqjiaoyu/vendor/
RUNTIME_PATH
/www/wwwroot/wlmqjiaoyu/runtime/
LOG_PATH
/www/wwwroot/wlmqjiaoyu/runtime/log/
CACHE_PATH
/www/wwwroot/wlmqjiaoyu/runtime/cache/
TEMP_PATH
/www/wwwroot/wlmqjiaoyu/runtime/temp/
CONF_PATH
/www/wwwroot/wlmqjiaoyu/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
apiUrl
https://jcapi.jucheng01.net/index.php/
KeyId
LTAI4FtAdfQxpoVEkHzKqJoB
KeySecret
cBXKurQh7LYzSPW7zmzmiXLTq4GpO1
OSS_UPLOAD
1
STATISTIC_TYPE_LIST
{ "order": "\u8ba2\u5355", "news": "\u65b0\u95fb" }
DATA_CHANGE_CLASSIFY
{ "money": "\u4f59\u989d", "integral": "\u79ef\u5206" }
DATA_CHANGE_TYPE
{ "recharge": "\u5145\u503c", "order": "\u4e0b\u5355", "order_refund": "\u8ba2\u5355\u9000\u6b3e", "distribution": "\u5206\u9500\u4f63\u91d1", "withdraw": "\u63d0\u73b0", "withdraw_fail": "\u63d0\u73b0\u5931\u8d25", "integral": "\u79ef\u5206\u5546\u57ce", "system": "\u540e\u53f0\u64cd\u4f5c" }
DATA_CHANGE_PARAM
{ "money": { "operate_table": "vip", "operate_field": "money", "operate_where": "openid", "is_total": 0, "total_filed_name": "total_money" }, "integral": { "operate_table": "vip", "operate_field": "integral", "operate_where": "openid", "is_total": 1, "total_filed_name": "total_integral" }, "commission": { "operate_table": "vip", "operate_field": "commission", "operate_where": "openid", "is_total": 0, "total_filed_name": "total_commission" }, "lottery": { "operate_table": "vip", "operate_field": "lottery", "operate_where": "openid", "is_total": 0, "total_filed_name": "total_lottery" } }
COUPON_FIRST_CONCERN
first_concern
COUPON_BIRTHDAY
birthday
COUPON_ORDER_CONFIRM
order_confirm
COUPON_ORDER_SHARE
order_share
COUPON_RECEIVE
receive
COUPON_REDEEM_CODE
redeem_code
COUPON_INTEGRAL_EXCHANGE
integral_exchange
COUPON_LIST
{ "first_concern": { "name": "\u9996\u6b21\u5173\u6ce8", "number": 0 }, "birthday": { "name": "\u751f\u65e5", "number": 1 }, "order_confirm": { "name": "\u4e0b\u5355", "number": 0 }, "order_share": { "name": "\u5206\u4eab", "number": 0 }, "receive": { "name": "\u9886\u53d6", "number": 0 }, "redeem_code": { "name": "\u5151\u6362\u7801", "number": 0 }, "integral_exchange": { "name": "\u79ef\u5206\u5151\u6362", "number": 0 } }
MALL_LABEL
label
MALL_SERVICE_GUARANTEE
service_guarantee
MALL_ATTACH_LIST
{ "label": { "name": "\u5546\u54c1\u6807\u8bc6" }, "service_guarantee": { "name": "\u670d\u52a1\u4fdd\u969c" } }
CATEGORY_LIST
{ "-100": { "name": "is_recommend", "value": 1 }, "-99": { "name": "is_new", "value": 1 } }
ACCOUNT_STORE_ID
1
ORDER_READY_PAY
0
ORDER_READY_DELIVERY
1
ORDER_READY_TAKE
2
ORDER_READY_REVIEW
3
ORDER_FINISH
4
ORDER_REFUND
5
ORDER_REFUND_SUCCESS
6
ORDER_REFUND_FAIL
7
ORDER_CANCEL
-1
ORDER_STATUS
{ "0": { "name": "\u5f85\u4ed8\u6b3e", "value": "0" }, "1": { "name": "\u5f85\u53d1\u8d27", "value": "1" }, "2": { "name": "\u5f85\u6536\u8d27", "value": "2" }, "3": { "name": "\u5f85\u8bc4\u4ef7", "value": "3" }, "4": { "name": "\u5df2\u5b8c\u6210", "value": "4" }, "6": { "name": "\u9000\u6b3e\u6210\u529f", "value": "6" }, "-1": { "name": "\u8ba2\u5355\u53d6\u6d88", "value": "-1" } }
INTEGRAL_PRODUCT_MATERIAL
0
INTEGRAL_PRODUCT_INVENT
1
INTEGRAL_TYPE
[ { "goods": { "type_name": "\u5546\u54c1" } }, { "coupon": { "type_name": "\u4f18\u60e0\u5238" } } ]
INTEGRAL_CATEGORY_LIST
{ "-100": { "name": "is_recommend", "value": 1 } }
INTEGRAL_READY_PAY
0
INTEGRAL_READY_DELIVERY
1
INTEGRAL_READY_TAKE
2
INTEGRAL_READY_REVIEW
3
INTEGRAL_TAKE_DELIVERY
4
INTEGRAL_CANCEL
-1
INTEGRAL_STATUS
{ "0": { "name": "\u5f85\u4ed8\u6b3e" }, "1": { "name": "\u5f85\u53d1\u8d27" }, "2": { "name": "\u5f85\u6536\u8d27" }, "3": { "name": "\u5df2\u5b8c\u6210" }, "4": { "name": "\u5f85\u63d0\u8d27" }, "-1": { "name": "\u8ba2\u5355\u53d6\u6d88" } }
LOGISTICS_STATUS
{ "0": "\u6682\u65e0\u8f68\u8ff9", "2": "\u5728\u9014\u4e2d", "3": "\u7b7e\u6536", "4": "\u95ee\u9898\u4ef6" }
WITHDRAW_MONEY
money
WITHDRAW_COMMISSION
commission
TURNTABLE_PRIZE
{ "integral": { "name": "\u79ef\u5206" }, "money": { "name": "\u4f59\u989d" }, "coupon": { "name": "\u4f18\u60e0\u5238" }, "goods": { "name": "\u5546\u54c1" }, "thanks": { "name": "\u65e0\u5956\u52b1" } }
TURNTABLE_PRIZE_NUMBER
8
TURNTABLE_READY_DELIVERY
0
TURNTABLE_READY_TAKE
1
TURNTABLE_FINISH
2
TURNTABLE_STATUS
[ { "name": "\u5f85\u53d1\u8d27", "value": "0" }, { "name": "\u5f85\u6536\u8d27", "value": "1" }, { "name": "\u5df2\u5b8c\u6210", "value": "2" } ]
GRADE_OPEN
1
GRADE_RELATION
integral
WID
2
OPENID
test