|
|
|
|
@ -7,6 +7,7 @@ use Carbon\Carbon;
|
|
|
|
|
use Illuminate\Support\Facades\Auth;
|
|
|
|
|
use App\Http\Controllers\Controller;
|
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
|
|
|
use Illuminate\Support\Facades\Log;
|
|
|
|
|
use Tymon\JWTAuth\Facades\JWTAuth;
|
|
|
|
|
|
|
|
|
|
class AuthController extends Controller
|
|
|
|
|
@ -213,6 +214,9 @@ class AuthController extends Controller
|
|
|
|
|
$aesIV = base64_decode($iv);
|
|
|
|
|
$aesCipher = base64_decode($encryptedData);
|
|
|
|
|
$result = openssl_decrypt($aesCipher, "AES-128-CBC", $aesKey, 1, $aesIV);
|
|
|
|
|
|
|
|
|
|
Log::channel("get_mobile_by_openid")->log($result);
|
|
|
|
|
|
|
|
|
|
$dataObj = json_decode($result);
|
|
|
|
|
|
|
|
|
|
if ($dataObj == NULL) {
|
|
|
|
|
|