{
"status": 400,
"msg": "SQLSTATE[HY000]: General error: 1364 Field 'qrcode' doesn't have a default value",
"data": {
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php",
"line": 797,
"trace": [
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php",
"line": 857,
"function": "getPDOStatement",
"class": "think\\db\\PDOConnection",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php",
"line": 820,
"function": "queryPDOStatement",
"class": "think\\db\\PDOConnection",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php",
"line": 941,
"function": "pdoExecute",
"class": "think\\db\\PDOConnection",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/BaseQuery.php",
"line": 995,
"function": "insert",
"class": "think\\db\\PDOConnection",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/Model.php",
"line": 701,
"function": "insert",
"class": "think\\db\\BaseQuery",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/PDOConnection.php",
"line": 1419,
"function": "think\\{closure}",
"class": "think\\Model",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/db\/concern\/Transaction.php",
"line": 44,
"function": "transaction",
"class": "think\\db\\PDOConnection",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/Model.php",
"line": 717,
"function": "transaction",
"class": "think\\db\\BaseQuery",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/Model.php",
"line": 536,
"function": "insertData",
"class": "think\\Model",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-orm\/src\/Model.php",
"line": 849,
"function": "save",
"class": "think\\Model",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/dao\/BaseDao.php",
"line": 251,
"function": "create",
"class": "think\\Model",
"type": "::"
},
{
"function": "save",
"class": "app\\dao\\BaseDao",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/services\/BaseServices.php",
"line": 422,
"function": "call_user_func_array"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/controller\/store\/table\/TableCode.php",
"line": 213,
"function": "__call",
"class": "app\\services\\BaseServices",
"type": "->"
},
{
"function": "addTableQrcode",
"class": "app\\controller\\store\\table\\TableCode",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 343,
"function": "invokeArgs",
"class": "ReflectionMethod",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 110,
"function": "invokeReflectMethod",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\route\\dispatch\\{closure}",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/route\/dispatch\/Controller.php",
"line": 113,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/route\/Dispatch.php",
"line": 89,
"function": "exec",
"class": "think\\route\\dispatch\\Controller",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 772,
"function": "run",
"class": "think\\route\\Dispatch",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/http\/middleware\/store\/StoreLogMiddleware.php",
"line": 39,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\store\\StoreLogMiddleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/http\/middleware\/store\/StoreCkeckRoleMiddleware.php",
"line": 40,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\store\\StoreCkeckRoleMiddleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/http\/middleware\/store\/AuthTokenMiddleware.php",
"line": 54,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\store\\AuthTokenMiddleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/http\/middleware\/StationOpenMiddleware.php",
"line": 30,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\StationOpenMiddleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/http\/middleware\/AllowOriginMiddleware.php",
"line": 50,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\AllowOriginMiddleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/app\/http\/middleware\/InstallMiddleware.php",
"line": 32,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "app\\http\\middleware\\InstallMiddleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Route.php",
"line": 773,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 216,
"function": "dispatch",
"class": "think\\Route",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-swoole\/src\/Http.php",
"line": 55,
"function": "dispatchToRoute",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 206,
"function": "dispatchToRoute",
"class": "think\\swoole\\Http",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/middleware\/LoadLangPack.php",
"line": 59,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\LoadLangPack",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/middleware\/SessionInit.php",
"line": 67,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"function": "handle",
"class": "think\\middleware\\SessionInit",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Middleware.php",
"line": 142,
"function": "call_user_func"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 85,
"function": "think\\{closure}",
"class": "think\\Middleware",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Pipeline.php",
"line": 66,
"function": "think\\{closure}",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 207,
"function": "then",
"class": "think\\Pipeline",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Http.php",
"line": 170,
"function": "runWithRequest",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 105,
"function": "run",
"class": "think\\Http",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithHttp.php",
"line": 88,
"function": "handleRequest",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 293,
"function": "think\\swoole\\concerns\\{closure}",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/framework\/src\/think\/Container.php",
"line": 357,
"function": "invokeFunction",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-swoole\/src\/Sandbox.php",
"line": 89,
"function": "invoke",
"class": "think\\Container",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-swoole\/src\/concerns\/WithApplication.php",
"line": 85,
"function": "run",
"class": "think\\swoole\\Sandbox",
"type": "->"
},
{
"function": "runInSandbox",
"class": "think\\swoole\\Manager",
"type": "->"
},
{
"file": "\/data\/www\/xinbainong_project\/vendor\/topthink\/think-swoole\/src\/concerns\/InteractsWithServer.php",
"line": 125,
"function": "call_user_func_array"
}
],
"previous": null
}
}