Merge pull request !182 from 赵世界/develop
This commit is contained in:
赵世界 2023-08-08 10:24:42 +00:00 committed by Gitee
commit 323ed0fdc4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -41,7 +41,7 @@ class KuaiTuanTuan extends BusinessClient
$this->shop->update($accessToken);
}
if ('ship' === $type) {
unset($accessToken['r1_expires_at'], $accessToken['r1_expires_in'], $accessToken['r2_expires_at'], $accessToken['r2_expires_in'], $accessToken['w1_expires_at'], $accessToken['w1_expires_in'], $accessToken['w2_expires_at'], $accessToken['w2_expires_in']);
unset($accessToken['r1_expires_at'], $accessToken['r1_expires_in'], $accessToken['r2_expires_at'], $accessToken['r2_expires_in'], $accessToken['w1_expires_at'], $accessToken['w1_expires_in'], $accessToken['w2_expires_at'], $accessToken['w2_expires_in'], $accessToken['request_id']);
ShopShip::query()->updateOrCreate(
['shop_id' => $this->shop->id],
$accessToken