diff --git a/app/api/controller/User.php b/app/api/controller/User.php index d5989b3c..f12da732 100644 --- a/app/api/controller/User.php +++ b/app/api/controller/User.php @@ -30,7 +30,7 @@ use think\db\exception\DataNotFoundException; use think\db\exception\DbException; use think\db\exception\ModelNotFoundException; use think\response\Json; -use think\Db; +use think\facade\Db; use app\common\model\dealer\Order as DealerOrderModel; use app\common\model\Order as OrderModel;