mirror of
https://github.com/v2board/v2board.git
synced 2025-02-24 22:30:29 +08:00
update: admin copy subscribe url
This commit is contained in:
parent
ef077cd095
commit
2159ab568a
@ -58,6 +58,7 @@ class UserController extends Controller
|
|||||||
$res[$i]['plan_name'] = $plan[$k]['name'];
|
$res[$i]['plan_name'] = $plan[$k]['name'];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$res[$i]['subscribe_url'] = config('v2board.subscribe_url', config('v2board.app_url', env('APP_URL'))) . '/api/v1/client/subscribe?token=' . $res[$i]['token'];
|
||||||
}
|
}
|
||||||
return response([
|
return response([
|
||||||
'data' => $res,
|
'data' => $res,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user