:(

1048:Column 'uid' cannot be null [ SQL语句 ] : INSERT INTO `bh_info` (`uid`,`title`,`info`,`time`,`cid`) VALUES (NULL,'订单取消提醒','商家未在规定时间内发货,订单:20180613182321922573已被系统自动取消','1540170014','2')

错误位置

FILE: D:\wwwroot\toudian\web\ThinkPHP\Library\Think\Db\Driver.class.php  LINE: 350

TRACE

#0 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\Db\Driver.class.php(350): E('1048:Column 'ui...')
#1 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\Db\Driver.class.php(237): Think\Db\Driver->error()
#2 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\Db\Driver.class.php(824): Think\Db\Driver->execute('INSERT INTO `bh...', false)
#3 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\Model.class.php(320): Think\Db\Driver->insert(Array, Array, false)
#4 D:\wwwroot\toudian\web\Application\Home\Model\Shop_ordersModel.class.php(149): Think\Model->add(Array)
#5 D:\wwwroot\toudian\web\Application\Home\Controller\BaseController.class.php(39): Home\Model\Shop_ordersModel->update_state(100, 0)
#6 D:\wwwroot\toudian\web\ThinkPHP\Common\functions.php(681): Home\Controller\BaseController->__construct()
#7 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\App.class.php(89): controller('Shop', '')
#8 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\App.class.php(205): Think\App::exec()
#9 D:\wwwroot\toudian\web\ThinkPHP\Library\Think\Think.class.php(120): Think\App::run()
#10 D:\wwwroot\toudian\web\ThinkPHP\ThinkPHP.php(97): Think\Think::start()
#11 D:\wwwroot\toudian\web\index.php(38): require('D:\\wwwroot\\toud...')
#12 {main}