Add local register config endpoint
This commit is contained in:
Vendored
+18
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
|
header('Cache-Control: no-store');
|
||||||
|
|
||||||
|
echo json_encode([
|
||||||
|
'code' => 0,
|
||||||
|
'message' => 'success',
|
||||||
|
'data' => [
|
||||||
|
'methods' => [
|
||||||
|
'phone' => true,
|
||||||
|
'email' => false,
|
||||||
|
'username' => false,
|
||||||
|
],
|
||||||
|
'mobile_real_verify' => false,
|
||||||
|
],
|
||||||
|
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
header('Content-Type: application/json; charset=utf-8');
|
||||||
|
header('Cache-Control: no-store');
|
||||||
|
|
||||||
|
echo json_encode([
|
||||||
|
'code' => 0,
|
||||||
|
'message' => 'success',
|
||||||
|
'data' => [
|
||||||
|
'methods' => [
|
||||||
|
'phone' => true,
|
||||||
|
'email' => false,
|
||||||
|
'username' => false,
|
||||||
|
],
|
||||||
|
'mobile_real_verify' => false,
|
||||||
|
],
|
||||||
|
], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES);
|
||||||
Reference in New Issue
Block a user