:(
1146:表 'ybi1.ot_code' 不存在 [ SQL 語句 ] : SHOW COLUMNS FROM `ot_code`
錯誤位置
FILE: C: \phpStudy\WWW\ybi\ThinkPHP\Library\Think\Db\Driver.class.php LINE: 350
TRACE
##0 C:\phpStudy\WWW\ybi\ThinkPHP \ Library\Think\Db\Driver.class.php(350): E('1146:Table 'ybi...')
#1 C:\phpStudy\WWW\ybi\ThinkPHP\Library\ Think \Db\Driver.class.php(180): Think\Db\Driver->error()
##2 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Db\Driver \ Mysql.class.php(56): Think\Db\Driver->query('SHOW COLUMNS FR...')
#3 C:\phpStudy\WWW\ybi\ThinkPHP\Library\ Think\ Model.class.php(134): Think\Db\Driver\Mysql->getFields('ot_code')
#4 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\ Model.class .php(122): Think\Model->flush()
#5 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Model.class.php(1454): Think\Model- >_checkTableInfo()
#6 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Model.class.php(97): Think\Model->db(0 , '', true)
7 C:\phpStudy\WWW\ybi\ThinkPHP\Common\functions.php(621): Think\Model->__construct('code', '', ' ')
# 8 C:\phpStudy\WWW\ybi\User\Home\Controller\IndexController.class.php(1045): M('程式碼')
##9 [內部函數]: Home\Controller\IndexController ->tgbzcl()
#10 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(173): ReflectionMethod-> invoke(物件(Home\Controller\IndexController) )
11 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(110): Think\App::invokeAction(物件(Home\Controller\IndexController), 'tgbzcl ')
#12 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\App.class.php(204): Think\App:: exec()
#13 C:\phpStudy\WWW\ybi\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
# 14 C:\phpStudy\WWW\ybi\ThinkPHP \ThinkPHP.php(97): Think\Think::start()
#15 C:\phpStudy\WWW\ybi\index.php(47) : require('C:\\phpStudy\\ WWW...')
16 {main}
ThinkPHP3.2.3 { 快速簡單的OOP PHP 框架} -- [ 我們可以只要想想]