💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
# 页面跳转 系统提供了2个方法。 ~~~ public function successResponse($data, $url = null, $wait = 3, array $header = []) public function errorResponse($msg = '', $code = 500, $url = null, $wait = 3, array $header = []) ~~~ ~~~ public function index(){ return $this->successResponse(["a"=>"b"]); } ~~~ # 页面重定向 ~~~ public function redirect($url, $http_code = 302) ~~~