1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- 14:36:13 [error]: 通用的实体数据存取接口异常:数据库执行异常:Unknown column 'btr.biz_traderid' in 'where clause'
- sql语句: select bt.*,bu.mobile as bu_mobile,bu.subsystem as subsystem,bu.wxapp_appid,bu.wxapp_openid,bu.wxmina_appid,bu.wxmina_openid ,(select ifnull(avg(result_level),0) from biz_appraisal bapr where bapr.biz_catalog=1 and bapr.toerid=btr.biz_traderid ) as trader_appraisal_avg from biz_trader bt left join base_user bu on bu.id =bt.base_userid where bt.id=:bizUserId limit 1;
- ["42S22",1054,"Unknown column 'btr.biz_traderid' in 'where clause'"]
- 异常发生在文件:[/bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/entityDataHandle.php]的[198]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once()
- #1 {main}
- 数据库执行异常:Unknown column 'btr.biz_traderid' in 'where clause'
- sql语句: select bt.*,bu.mobile as bu_mobile,bu.subsystem as subsystem,bu.wxapp_appid,bu.wxapp_openid,bu.wxmina_appid,bu.wxmina_openid ,(select ifnull(avg(result_level),0) from biz_appraisal bapr where bapr.biz_catalog=1 and bapr.toerid=btr.biz_traderid ) as trader_appraisal_avg from biz_trader bt left join base_user bu on bu.id =bt.base_userid where bt.id=:bizUserId limit 1;
- ["42S22",1054,"Unknown column 'btr.biz_traderid' in 'where clause'"]
- 异常发生在文件:[/bizroot/approot/klywebapi/base/mysql.php]的[104]行 code[0] !
- 异常堆栈上下文:
- #0 /bizroot/approot/klywebapi/base/mysql.php(195): PdoUtil->errhandle()
- #1 /bizroot/approot/klywebapi/base/mysql.php(23): PdoUtil->fetch()
- #2 /bizroot/approot/klywebapi/prjcenter/prjKLY/base/AboutTrader.php(104): pdo_fetch()
- #3 /bizroot/approot/klywebapi/prjcenter/prjKLY/bizcenter/Plater/entityDataHandle.php(127): bizbase_traderEntityHandle()
- #4 /bizroot/approot/klywebapi/ajaxEntryCenter.php(65): include_once('/bizroot/approo...')
- #5 {main}
- [上下文相关信息]:
- [WsAjaxPrj]=KLY
- [WsAjaxBiz]=Plater
- [WsAjaxAction]=entityDataHandle
- [USER]=nginxphp
- [HOME]=/home/nginxphp
- [HTTP_ACCEPT_LANGUAGE]=zh-CN,zh;q=0.9
- [HTTP_ACCEPT_ENCODING]=gzip, deflate, br
- [HTTP_REFERER]=https://admin.kuailaiyou.top/
- [HTTP_SEC_FETCH_DEST]=empty
- [HTTP_SEC_FETCH_MODE]=cors
- [HTTP_SEC_FETCH_SITE]=same-site
- [HTTP_ORIGIN]=https://admin.kuailaiyou.top
- [HTTP_SEC_CH_UA_PLATFORM]="Windows"
- [HTTP_USER_AGENT]=Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Safari/537.36
- [HTTP_SEC_CH_UA_MOBILE]=?0
- [HTTP_CONTENT_TYPE]=application/json;charset=UTF-8
- [HTTP_ACCEPT]=application/json, text/plain, */*
- [HTTP_SEC_CH_UA]="Google Chrome";v="93", " Not;A Brand";v="99", "Chromium";v="93"
- [HTTP_CONTENT_LENGTH]=148
- [HTTP_CONNECTION]=keep-alive
- [HTTP_HOST]=api.kuailaiyou.top
- [REDIRECT_STATUS]=200
- [SERVER_NAME]=api.kuailaiyou.top
- [SERVER_PORT]=443
- [SERVER_ADDR]=172.18.217.149
- [REMOTE_PORT]=15073
- [REMOTE_ADDR]=60.24.227.178
- [SERVER_SOFTWARE]=nginx/1.20.1
- [GATEWAY_INTERFACE]=CGI/1.1
- [HTTPS]=on
- [REQUEST_SCHEME]=https
- [SERVER_PROTOCOL]=HTTP/1.1
- [DOCUMENT_ROOT]=/bizroot/approot/klywebapi
- [DOCUMENT_URI]=/ajaxEntryCenter.php
- [REQUEST_URI]=/ajaxEntryCenter.php?WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=entityDataHandle
- [SCRIPT_NAME]=/ajaxEntryCenter.php
- [CONTENT_LENGTH]=148
- [CONTENT_TYPE]=application/json;charset=UTF-8
- [REQUEST_METHOD]=POST
- [QUERY_STRING]=WsAjaxPrj=KLY&WsAjaxBiz=Plater&WsAjaxAction=entityDataHandle
- [SCRIPT_FILENAME]=/bizroot/approot/klywebapi/ajaxEntryCenter.php
- [FCGI_ROLE]=RESPONDER
- [PHP_SELF]=/ajaxEntryCenter.php
- [REQUEST_TIME_FLOAT]=1639118173.4872
- [REQUEST_TIME]=1639118173
|