This commit is contained in:
root 2020-01-17 00:20:54 +08:00
parent 88d7e2d35e
commit e576d82955
2 changed files with 3 additions and 4 deletions

View File

@ -277,7 +277,7 @@ class OrderController extends Controller
if ((int)config('v2board.bitpayx_enable')) {
$bitpayX = new \StdClass();
$bitpayX->name = '虚拟货币';
$bitpayX->name = '聚合支付';
$bitpayX->method = 4;
$bitpayX->icon = 'bitcoin';
array_push($data, $bitpayX);
@ -285,7 +285,7 @@ class OrderController extends Controller
if ((int)config('v2board.paytaro_enable')) {
$obj = new \StdClass();
$obj->name = '支付';
$obj->name = '聚合支付';
$obj->method = 5;
$obj->icon = 'alipay';
array_push($data, $obj);

View File

@ -46,8 +46,7 @@ class LoginController extends Controller
}
$code = Helper::guid();
$key = 'token2Login_' . $code;
Cache::put($key, $user->id);
Redis::expire($key, 600);
Cache::put($key, $user->id, 600);
$redirect = '/#/login?verify=' . $code . '&redirect=' . ($request->input('redirect') ? $request->input('redirect') : 'dashboard');
if (config('v2board.app_url')) {
$location = config('v2board.app_url') . $redirect;