贵健康API接口请求SDK
you will need to make sure your server meets the following requirements:
php >=7.2
JSON PHP Extension
OpenSSL PHP Extension
GMP PHP Extension
BCMath PHP Extension
laravel/framework ^7.0
composer require "mucts/laravel-gjk-api"
$id = gjk_request('/user_info',['user_id'=>10012111]);
$info = Gjk::request('/user_info',['user_id'=>10012111]);
use MuCTS\Laravel\GuiJK\Config\Config;
$info = Gjk::setConfig(new Config(['url'=>'https://..','app_id'=>10000,'secret_key'=>'','version'=>2000]))
->request('/user_info',['user_id'=>10012111]);
If config/gjk.php
not exist, run below:
php artisan vendor:publish