WebApi Bate & more

1. 完善 laravel5.8框架文件;
2. 按照VentPanel开发的WebApi Bate;
3. bug修复与优化
4. WebApi 授权相关界面;
This commit is contained in:
兔姬桑
2020-07-05 12:55:24 +08:00
parent aa71f39d6f
commit 265fced5e2
88 changed files with 1764 additions and 663 deletions

View File

@@ -175,7 +175,7 @@ class UserController extends Controller {
$node = SsNode::query()->whereId($node_id)->first();
// 生成节点信息
$proxyType = $node->type == 1? ($node->compatible? 'SS' : 'SSR') : 'V2Ray';
$data = $this->getNodeInfo(Auth::id(), $node->id, $infoType != 'text'? 0 : 1);
$data = $this->getUserNodeInfo(Auth::id(), $node->id, $infoType != 'text'? 0 : 1);
return Response::json(['status' => 'success', 'data' => $data, 'title' => $proxyType]);
}else{