//引入 use think\exception\HttpResponseException;
//方法 public function redirect(...$args) { throw new HttpResponseException(redirect(...$args)); }
//调用 public function index(){ $this->redirect(url('index/order/lists')); }