tp5的数据表前缀设置怎么不生效

浏览:1265 发布日期:2020/05/03 分类:ThinkPHP5专区 关键字: 数据库 数据库前缀
    'prefix'          => 'ay_',namespace app\api\controller;
use think\Db;
class Api extends \think\Controller
{
    public function tokens(){
        $tokendata= Db::table('token')->select();
提示base table or view not found: 1146 Table 'wkzs.token' doesn't exis
最佳答案
评论( 相关
后面还有条评论,点击查看>>