feat: #10000 电子面单账号授权回调修改
This commit is contained in:
parent
862489e7db
commit
390c94a6a9
@ -41,7 +41,7 @@ class KuaiTuanTuan extends BusinessClient
|
|||||||
$this->shop->update($accessToken);
|
$this->shop->update($accessToken);
|
||||||
}
|
}
|
||||||
if ('ship' === $type) {
|
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(
|
ShopShip::query()->updateOrCreate(
|
||||||
['shop_id' => $this->shop->id],
|
['shop_id' => $this->shop->id],
|
||||||
$accessToken
|
$accessToken
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user