This commit is contained in:
root 2019-11-25 18:22:38 +08:00
parent c4313eb3f4
commit 34fa1ce68d

View File

@ -13,8 +13,10 @@ class CommController extends Controller
{
public function config () {
return response([
'isEmailVerify' => (int)config('v2board.email_verify', 0) ? 1 : 0,
'isInviteForce' => (int)config('v2board.invite_force', 0) ? 1 : 0,
'data' => [
'isEmailVerify' => (int)config('v2board.email_verify', 0) ? 1 : 0,
'isInviteForce' => (int)config('v2board.invite_force', 0) ? 1 : 0,
]
]);
}