Skip to content

Commit 058c852

Browse files
committed
feat(*): 启动接口返回是否需要用户输入支付时密码标识
zhiyicx/thinksns-plus-android#2390
1 parent 02d8ec0 commit 058c852

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/Http/Controllers/APIs/V2/BootstrappersController.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
namespace Zhiyi\Plus\Http\Controllers\APIs\V2;
2222

2323
use Zhiyi\Plus\Models\GoldType;
24+
use function Zhiyi\Plus\setting;
2425
use Illuminate\Http\JsonResponse;
2526
use Zhiyi\Plus\Models\CommonConfig;
2627
use Zhiyi\Plus\Models\CurrencyType;
@@ -66,6 +67,7 @@ public function show(BootstrapAPIsEventer $events, AdvertisingSpace $space, Gold
6667
config('im.helper-user') && $bootstrappers['im:helper-user'] = config('im.helper-user');
6768
// 每页数据量
6869
$bootstrappers['limit'] = config('app.data_limit');
70+
$bootstrappers['pay-validate-user-password'] = setting('pay', 'validate-password', false);
6971

7072
return new JsonResponse($this->filterNull($events->dispatch('v2', [$bootstrappers])), JsonResponse::HTTP_OK);
7173
}

0 commit comments

Comments
 (0)