yc-hwc/laravel-thisshop is a Laravel package for php thisshop sdk.
It currently has 0 GitHub stars and 11 downloads on Packagist (latest version v1.0.2).
Install it with composer require yc-hwc/laravel-thisshop.
Discover more Laravel packages by yc-hwc
or browse all Laravel packages to compare alternatives.
Last updated
thisshop SDK
composer require yc-hwc/laravel-thisshop
$config = [
'thisshopkUrl' => '',
'appId' => '',
'appSecret' => '',
'signSecret' => '',
'token' => '',
];
$thisshopSDK = \PHPThisshop\ThisshopSDK::config($config);
$config = [
'thisshopkUrl' => '',
'appId' => '',
'appSecret' => '',
];
$thisshopSDK = \PHPThisshop\ThisshopSDK::config($config);
$response = $thisshopSDK->accessToken()->post();
print_r($response);
$config = [
'thisshopkUrl' => '',
'appId' => '',
'appSecret' => '',
'token' => ''
];
$thisshopSDK = \PHPThisshop\ThisshopSDK::config($config);
$response = $thisshopSDK->tokenCheck()->post();
print_r($response);
$config = [
'thisshopkUrl' => '',
'appId' => '',
'signSecret' => '',
'token' => '',
];
$thisshopSDK = \PHPThisshop\ThisshopSDK::config($config);
$response = $thisshopSDK->business()
->withMethod('thisshop.order.list.get')
->withData([
'orderStatus' => 0,
])
->post();
print_r($response);