mirror of
https://github.com/ProxyPanel/ProxyPanel.git
synced 2026-04-05 03:58:39 +00:00
WebApi Bate & more
1. 完善 laravel5.8框架文件; 2. 按照VentPanel开发的WebApi Bate; 3. bug修复与优化 4. WebApi 授权相关界面;
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user